PS4 safe mode of death

my ps4 keep going into safe mode and always give me the prompt for reinitialize software. i dowload i the reinitialize software into SUB and install it. but once the installation is completed is reset the ps4 and it goes back into safe and keep reaping the prompt . i believe is the hard driver that is bad but i would like to get someone tough before i spend the money in a new hard drive.

Can you not just plug the drive into a PC and check SMART status and/or scan drive for errors/bad blocks?