Hdd not detected

Aug 14, 2018
2
0
10
So my pc had an issue with windows files so I had to reinstall Windows using a bootable pendrive.
As i was installing my drivers and necessary softwares my pc froze and all of a sudden it said 'some issue caused windows to fail turning off your pc'.
Now when I turn on my pc it loads black screen.
I went to bios and checked if there was windows boot option (it did).
I tried reinstalling windows but it showed disk 0: 0mb available can't install.
I tried troubleshooting using bootable pendrive but no help.
I tried listing my drivers from cmd using list disk and it showed only 2 partitioned disks whoes Total size was 28gb(ps: I have a clean 1tb hdd).
I am assuming that my bios is not recognizing my pc hdd. It just can't locate my windows. Or it may be a hardware problem.I don't know what to do. Any suggestions?

Thanks.