Question: hdd is spinning but not detected?
Answer: The BIOS will not detect a hard disk if the data cable is damaged or the connection is incorrect. Serial ATA cables, in particular, can sometimes fall out of their connection. Be sure to check your SATA cables are tightly connected to the SATA port connection.