Please let me know if it is a desktop or a laptop.
Also, did you perform any recent hardware change?
Is that the system is not detecting the hard drive in the BIOS also?
Restart the system and tap F2 or delete for BIOS menu. Please check if the hard drive is detected in the BIOS.
Thanks & Regards