s not the hard disk problem as i hav brought a new 1 n tested on it n got d same result, also i hav done d latest bios flash but even tat has not solved d problem for me, moreover i have tried changing all d 4 ports of motheboard but yeilds the same result, sometimes hard disk got detected sometimes not.....dont know wat is the issue..........somebody pleaseeeeeeeeeeeeeeeeee helpppppppppppppppp fastttttttttttttttttttttttttt :-(
Chgeck the BIOS and see if there is a setting for IDE / AHCI for the hdd. Set it at AHCI for SATA hdd, the IDE mode is for the older drives. If there is no option for AHCI then you will have to stay with IDE (slow boot and performance with SATA) but it will still allow you to install an OS, just make the instal drive as PRimary (CD or USB boot).
You will see a message during boot that "hard drive is missing or cannot be found", this is because you have it set to IDE mode and the hdd is SATA, it will still boot, though.
After install, set the bios Primary drive to the hdd. Sometimes some PC's don't want the CD/DVD drive as primary and boot will not initiate.