Try reseting to default settings to see if it will detect the hard drive. Otherwise I suggest trying to set the hard drive as the primary bootup and set the hard drive settings to user defined. You will have to enter the sectors, tracks, cylinders of the maximum drive capicity.
Normally if your bios supports autodetect, it should normally detect the drive. I have had this problem before. If your cmos battery is about to go, it will reset your bios settings each time the computer starts. To fix this, replace the cmos battery and it should work.