Hard drive is killed when connected to my PC

Chamuth

Reputable
Oct 28, 2016
16
2
4,515
chamuth.github.io
This was my components,
ECS G41 DDR3 Motherboard,
4GB RAM,
Nvidia GT210,
350W powersupply.

I was working fine with a Seagatte 180GB old HDD. But sometimes it froze for like 10 seconds. And suddenly when it restarted and when it was rebooting I found out that is was saying "Reboot and select proper Boot Device" BIOS error. It detects the HDD on BIOS as a 180GB hard drive but does not boot into that medium.

So I plugged in another old 90GB HDD (please don't laugh) to that computer. It worked fine for a while with Windows 8.1. And suddenly all the desktop icons dissappeared and the computer froze. So I switched off from main power and restarted. Then it says there is no SATA HDD connected.

The previous one said "Reboot and select proper Boot Device", other says that there is no hard drive connected so nothing to boot.

What is wrong with my computer? Is it a coincidence or bad HDDs? Is it the power supply? To get a working computer again should I buy a new HDD or something else first?