hard drive issues don't cause a computer to turn itself off
Nope. Try unplugging a SATA or PATA drive while it's switched on - guaranteed bluescreen.
My advice to OP is to double check all the HDD connections (power and data). SATA plugs can be fiddly.