Switch IDE to AHCI also on SB700 or MSI KA790GX

How to Switch the IDE mode to AHCI after Windows XP was installed on MSI KA790GX that uses SB700

Steps

  1. Understand that this is applicable when Windows XP was installed while the SATA controller was in IDE mode. (because winxp does not know SATA in AHCI mode)
    • (Quick tip is to install Linux and forget Windows)
  2. Boot Linux to identify the AHCI controller.
    • You can skip this step if you have MSI KA790GX because the reg file down here is already correctly populated.
  3. Boot your PC with a Linux Live CD or live USB while the SATA is set in AHCI mode in BIOS.
    • on the linux command line, run:
      • lspci -vvnn | less
        • it should list all devices.
        • If not try to run it as root
  4. Locate your SATA in the output and note down the Vendor ID, Device ID and Subsystem.
    • Example:
      • Vendor id 1002
      • Device id 4391
      • Subsystem 1462:7501
  5. Now reboot and go to BIOS to switch the SATA to IDE mode and boot into your windows xp.
  6. Download the Sb700 raid driver zip and open the txtsetup.oem in notepad and find a line that says
    • id = "PCI\VEN_1002&DEV_4391&SUBSYS_75011462", "ahcix86"
      • As you can see this confirms that the Device will work with this driver.
      • Please note that the subsystem number is 75011462 and in Linux was displayed as 1462:7501
  7. Now copy the following text into file.reg and edit the file and correct the Vendor ID, Device ID and subsys ID on two places. This file works on mine MSI KA790GX.
  8. After you saved the file with the correct ID's double-click it to insert the entries into registry.
  9. Copy the ahcix86.sys driver into c:\windows\system32\drivers
  10. restart windows and enter the BIOS and switch to AHCI, exit bios, continue to Windows.
    • If your ID's are matching than the Machine should boot fine.

File.Reg Code

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1002&dev_4391&subsys_75011462]

"Service"="ahcix86"

"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ahcix86]

"Type"=dword:00000001

"Start"=dword:00000000

"Group"="SCSI miniport"

"ErrorControl"=dword:00000001

"ImagePath"="system32\\drivers\\ahcix86.sys"

"tag"=dword:00000019

"DisplayName"="ATI AHCI Compatible RAID Controller"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ahcix86\Parameters\PnpInterface]

"5"=dword:0x00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ahcix86\Settings\CAM]

"EnableALPEDisableHotplug"=dword:0

"EnableCCC"=dword:1

"CCCTimeoutValue"=dword:10

"CCCCompletionValue"=dword:32

"NCQEnableDiskIDBits"=dword:0

"EnableHIPM"=dword:0

"EnableDIPM"=dword:0

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ahcix86\Enum]

"0"="PCI\\VEN_1002&DEV_4391&SUBSYS_75011462\\3&13c0b0c5&0&FA"

"Count"=dword:00000001

"NextInstance"=dword:00000001<