I had previously a Windows XP installation on a RAID1 array (controlled via Intel Matrix Storage Manager). I decided to ditch it and install Ubuntu 12.04 (using "software RAID"). So first I reset both disks to non-RAID and then launched the Ubuntu installation. When it finished and the computer rebooted, the BIOS froze with this message on the screen:
Serial ATA AHCI Bios, Version iSRC 1.20E
Copyright (c) 2003-2008 Intel Corporation 23
** This version supports only HardDisks & CDROM drives **
Please wait. This will take a few seconds.
Controller Bus#00, Device #1F, Function #02: 06 Ports, 02 Devices
I have the Gigabyte GA-EP45-DS4 motherboard with the latest BIOS (F10b). However, I learned there is probably a bug in the SATA BIOS which causes the hang when the previous OS was installed in IDE mode but is now accessed in AHCI mode (see for example this link).
So I completely wiped both disks (by running this command from GParted Live CD: dd if=/dev/zero of=/dev/sda bs=1M, although I am not sure if it is enough), then ran the Ubuntu installation again. Unfortunately the problem persists. I am not experienced enough to edit the partition table manually (as this post suggests). Is there any other way to work around this issue?
Note: My BIOS offers three modes: IDE, AHCI and RAID (XHD). The latter one causes the same problem as AHCI.
I am not sure if there is something I can do about it when installing Ubuntu, or whether it is rather a OS-independent hardware issue?
Some new info: I deleted the MBR of both disks using GParted Live CD (in which, ironically, I can't run the GParted utility because of some error). Then I rebooted and the AHCI BIOS successfully detected both disks. Then I ran the Ubuntu installation (and created a software RAID, although I am not sure if it is relevant here). After the installation finished, I rebooted again and the AHCI BIOS froze when detecting the disks. So it seems there is something in the MBR the BIOS can't cope with.
I am using the Ubuntu Alternate CD and to make things even worse, when I try the regular CD, it won't even boot - it freezes :-(