Setup+did+not+find+any+hard+disk+drives+installed+in+your+computer

When attempting to install a new OS from CD or DVD you get this message in the initial setup screen:

Setup did not find any hard disk drives installed in your computer

**Set Your SATA Controller to Compatability/IDE/Standard Mode**

 * 1) Enter your BIOS/Setup Utility
 * 2) Locate the Serial ATA or SATA configuration section
 * I’ve seen this section called ‘On Chip Config’ on some Phoenix Award BIOS
 * On Lenovo/IBM ThinkPads it’s in Config > Serial ATA (Sata)
 * 1) Change the mode of the SATA controller from **AHCI** to **IDE** or **Compatibility**
 * 2) Save & Exit
 * 3) Reboot and begin the Windows Setup again.
 * 4) If Windows Setup successfully detects your hard disk this time then go ahead and perform the Windows Setup.
 * 5) When Windows setup completes **change the mode back to AHCI in the BIOS**