Mac mini mid 2011 restarts mid way the boot progress bar
I've resurrected this Mac mini after replacing a faulty capacitor, I have many issues with it however the main issue that while booting, the progress bar reaches to the mid point and restarts, even in safe mode, recovery mode, booting from usb. The only way I can get to the desktop is to unplug it, hold the power button for at least 10 seconds, replugging it while still holding it then release it then when I power it on, the fan will be running at full speed but it boots. the screen will be glitchy and OS animation will struggle.
If I reset the SMC the symptoms gets back.
Any ideas where to go from here?
Specs: MacOS: High Sierra 10.13.6 Processor: 2.5 GHz Intel Core i52.5 GHz Intel Core i5 Memory:16 GB 1333 MHz DDR3 Graphics: AMD Radeon HD 6630M 256 MB
When I boot in verbose mode those are the last lines before it goes blank