To early to tell. You may just have a bad hard drive controller. Your configuration can ‘forget’ a drive etc. I’m not techie so you’ll probably get better answers but what I did was pull the hard drive out and put it in a $15 external hard drive case and connected that (now) external drive to a different computer to retrieve any files before burying the evidence. Yeah...I got lucky. Best of luck to you.
I’ve keep several HDD caddies around and more than once they saved the day for me or someone else who ran into this kind of problem.