HOW TO switch from IDE to AHCI mode without having to reinstall Win XP (GUIDE)

Status
Not open for further replies.

Jack the Newbie

New member
GENERAL OF THE ARMY
Joined
Nov 20, 2006
Messages
14,939
Have you done exactly what I described in my first Post?


First Step:

Open Windows Notepad and create a REG-file and name it as you like (example: AHCI.reg)

Copy and paste the following lines into that reg-file and save it:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2821&cc_0106]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]
"Type"=dword:00000001
"Start"=dword:00000000
"Group"="SCSI miniport"
"ErrorControl"=dword:00000001
"ImagePath"="system32\\drivers\\iaStor.sys"
"tag"=dword:00000019
"DisplayName"="Intel AHCI Controller"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]
"queuePriorityEnable"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]
"0"="PCI\\VEN_8086&DEV_2821&SUBSYS_B0051458&REV_02\\3&13c0b0c5&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001
Now double-click on your reg-file to make the above changes to the Windows registry.

Do not restart your computer at this point.

Second Step:

Copy the iaStor.sys-File into the \Windows\System32\Drivers\-Folder if it isn't in there already. 

The file is part of the of the Intel Matrix Storage Manager-Packet (IATA621_CD.EXE) and can be retrieved manually:

\START\Run --> IATA621_CD.EXE -a -a

After entering this command the file should be in the following folder:

...\Program Files\Intel\Intel Matrix Storage Manager\Driver

...and ready to be copied.

Third Step:

Restart your computer, enter BIOS and switch to AHCI-mode.

Save, exit and load Windows XP which should now start properly, discover the SATA AHCI Controller and ask for a driver.

Abort the whole Windows-Driver-Installation procedure and run IATA621_CD.EXE instead to take care of the installation.

Restart your system.

 
B

butterfield

Guest
hello jack,

some feedback:

I have tried your guide on my 975 powerup (windows xp home) and it worked right away...

after running that registry file i restarted my computer and changed the setting to AHCI mode. 

windows booted without any errors and found the ahci controller

i took care of that and didn't run into any problems so far.
 

Quadrifoglio Verde

New member
MAJOR
Joined
Apr 12, 2005
Messages
1,410
@Jack the Newbie (and others):

I got some new drives (see sig), so I just used your guide to integrate AHCI drivers. Works perfectly, thanks for posting it. Now I'm trying to get my RAID 1 array going, setup of the array in Intel Storage DOS util goes fine. But then I try to boot from the single drive, BSOD when WinXP loads. I can now only boot into Windows when BIOS setting is set to AHCI, not when set to RAID.

I guess it's a driver related issue, but in AHCI mode my RAID 1 array is not there so installing drivers proves pretty difficult. Some advice anyone? Thanks... 
 

Jack the Newbie

New member
GENERAL OF THE ARMY
Joined
Nov 20, 2006
Messages
14,939
I am glad to hear, that the AHCI-guide worked (this applies to butterfield's feedback as well). 

I will post the content of a REG-File that was intended to allow switching to RAID-mode and basically affords the same procedure as I described before.  I have not tried it myself but maybe it will help you and it might be worth a try in your case:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2822&cc_0104]
"Service"="iaStor"
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]
"Type"=dword:00000001
"Start"=dword:00000000
"Group"="SCSI miniport"
"ErrorControl"=dword:00000001
"ImagePath"="system32\\drivers\\iaStor.sys"
"tag"=dword:00000019
"DisplayName"="Intel RAID Controller"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]
"queuePriorityEnable"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters\oromVersion]
"MajorVersion"=dword:00000006
"MinorVersion"=dword:00000000
"HotfixNumber"=dword:00000000
"BuildNumber"=dword:000003fe

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]
"0"="PCI\\VEN_8086&DEV_2822&SUBSYS_B0001458&REV_02\\3&13c0b0c5&0&FA"
"Count"=dword:00000001
"NextInstance"=dword:00000001
 

Quadrifoglio Verde

New member
MAJOR
Joined
Apr 12, 2005
Messages
1,410
Thanks for the quick response...

I guess I was too quick with my post, it's seems to be working after all in AHCI mode. I'm copying some data to the array right now, to see if everything is working like it's supposed to. If not, I will give this new .reg file a try and let you know how it works out.
 

Maesus

New member
GENERAL OF THE ARMY
Joined
Jul 7, 2002
Messages
10,518
All, I perform the very same guide as Jack The Newbie posted, and it does work on my C2D with Vista 64-bit. :biggthumbsup:

 

Viktor92

New member
FIRST LIEUTENANT
Joined
Nov 6, 2006
Messages
365
Maesus said:
All, I perform the very same guide as Jack The Newbie posted, and it does work on my C2D with Vista 64-bit. :biggthumbsup:
Have you seen any perfomance difference ??
 
O

obvious

Guest
ok, just for fun I tried this on an Abit i90HD under Vista32

Everything goes to plan until the reboot and then I got the dreaded STOP: 0x0000007B (inaccessible boot device) while loading crcdisk.sys

Had to revert to standard IDE mode under SATA options in the BIOS.

Just thought I'd mention it. I thought about maybe changing the vendor ID string but I think it's Intel anyway so that would remain the same.

The only thing of note is that there's an IaStorV.sys in system32/drivers as well as knocking about in similar registry corners.
 
O

obvious

Guest
Jack the Newbie said:
I am not sure, but doesn't the Abit i90HD use an ATI Radeon Xpress 1250 Chipset?
ah, erm, yes  :bonk: sometimes I forget who's in bed with who driver wise.

Code:
; ahcix86.INF
; Copyright Tue 10/04/2005 ATI Technologies Inc.
;
[Version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
CatalogFile=ahcix86.cat
Provider=%ATI%
DriverVer=09/21/2006, 2.500.1540.32
;

[DestinationDirs] 
ahci8086.Files.x86_12 = 12 

[SourceDisksNames.x86]
0=%Desc_x860%

[SourceDisksFiles.x86]
ahcix86.sys=0,

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer] 
%ATI%=ATI

[ATI]
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_80121854
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_80131854
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2C311509
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_595016F3
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_595216F3
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_240E174B
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2410174B
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_240D174B
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_500017F2
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_60101695
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_73281462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_73291462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_14F21043
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_73261462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2A52103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2A51103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_13E810CF
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_30C2103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2A4E103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2A4F103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_72971462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_01FC1028
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_01FD1028
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_604C107B
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_B0041458
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_10D11734
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_600F1695
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_600E1695
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21231019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21241019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_43811019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_43821019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_100415BD
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_100515BD
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_0611A0A0
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_0614A0A0
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21341019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21351019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21361019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21811019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21821019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21411019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_21421019
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_72431462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_72441462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_71741462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_71751462
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_B0031458
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_D6028086
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_43811849
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_43821849
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_280A103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_2814103C
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_82311043
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_82321043
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_43811002
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4380&SUBSYS_43821002
%ATI_Raid_ControllerDesc%=NODRV,SCSI\ProcessorATI_____

[NODRV]
CopyFiles=MoveNODRV

[MoveNODRV]

[NODRV.Services]
;
; this is blank to just allow the install to succeed
;
AddService = , %SPSVCINST_ASSOCSERVICE%   ; null service install

[Napa_Inst.ntx86] 
CopyFiles = ahci8086.Files.x86_12 

[Napa_Inst.ntx86.Services] 
AddService = ahcix86,0x00000002,Napa_Service_Instx86, Napa_EventLog_Inst 

[Napa_Service_Instx86] 
ServiceType = %SERVICE_KERNEL_DRIVER% 
StartType = %SERVICE_BOOT_START% 
ErrorControl = %SERVICE_ERROR_NORMAL% 
ServiceBinary = %12%\ahcix86.sys 
LoadOrderGroup = "SCSI Miniport"
AddReg = pnpsafe_pci_addreg
AddReg = ATI_Installer_AddReg


[ahci8086.Files.x86_12] 
ahcix86.sys

[Napa_EventLog_Inst] 
AddReg = Napa_EventLog_Inst.AddReg 
 
[Napa_EventLog_Inst.AddReg] 
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll" 
HKR,,TypesSupported,%REG_DWORD%,7

[pnpsafe_pci_addreg] 
HKR, Parameters\PnpInterface, 5, 0x00010001, 0x00000001
HKR, Parameters\Device, NumberOfRequests, 0x00010001, 0x00000080 
HKR, Settings\CAM, EnableALPEDisableHotplug, 0x00010001, 0x00000000 
HKR, Settings\CAM, EnableCCC, 0x00010001, 0x00000001 
HKR, Settings\CAM, CCCTimeoutValue, 0x00010001, 10 
HKR, Settings\CAM, CCCCompletionValue, 0x00010001, 32 
HKR, Settings\CAM, NCQEnableDiskIDBits, 0x00010001, 0x00000000 

[ATI_Installer_AddReg]
HKLM,"Software\ATI Technologies\Install\South Bridge\ATI_AHCI_RAID",DisplayName,,"ATI AHCI RAID"
HKLM,"Software\ATI Technologies\Install\South Bridge\ATI_AHCI_RAID",Version,,"2.500.1540.32"
HKLM,"Software\ATI Technologies\Install\South Bridge\ATI_AHCI_RAID",Install,,"Success"

[pnpsafe_isa_addreg] 
HKR, Parameters\PnpInterface, 1, 0x00010001, 0x00000001 

[pnpsafe_eisa_addreg] 
HKR, Parameters\PnpInterface, 2, 0x00010001, 0x00000001 


[Strings] 

;  *******Localizable Strings******* 
ATI= "ATI Technologies Inc." 
Desc_x860= "ATI AHCI Compatible RAID Controller Driver" 
NapaDesc= "ATI AHCI Compatible RAID Controller" 
ATI_Raid_ControllerDesc= "ATI RAID Console"

;  *******Non Localizable Strings******* 

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ = 0x00020000 
REG_DWORD = 0x00010001 

SPSVCINST_ASSOCSERVICE=0x00000002
 

Bannik

New member
SERGEANT
Joined
Aug 7, 2005
Messages
32
Excuse my interruption, I have just purchased a new Motherboard with an NF650i Chipset, I have two SATA DVD-RW Drives and 2 SATAII Hard Drives, I've read that in order to make the SATA DVD-RW Drives work, I need to set the SATA controller to IDE mode...

Is this true? Or will the SATA DVD-RW Drives work in AHCI mode?

I haven't installed Windows yet and my biggest fear is that the DVD-RW Drives will become unavailable and screw up the Windows install, I know about the Hard Drives, press F6 during setup to install the driver etc, but what about these DVD-RW Drives?

Any and all answers are welcome, please help if you can, I've never used SATA before, everything has always been IDE.

Thanks.
 

Jack the Newbie

New member
GENERAL OF THE ARMY
Joined
Nov 20, 2006
Messages
14,939
This thread may not really be the right place to discuss this.  Anyway:

Is this true? Or will the SATA DVD-RW Drives work in AHCI mode
This is not true, at least not in generell.  I am using a SATA DVD-RW drive in AHCI mode on my 975X Plat. PUE-mainboard and did not have any problems.



 

Bannik

New member
SERGEANT
Joined
Aug 7, 2005
Messages
32
Jack the Newbie said:
I am using a SATA DVD-RW drive in AHCI mode on my 975X Plat. PUE-mainboard and did not have any problems.
Did you install Windows OK with the SATA in that setting?
 

Jack the Newbie

New member
GENERAL OF THE ARMY
Joined
Nov 20, 2006
Messages
14,939
No, I never tried that with XP. However, it worked fine with vista.

Slipstream SATA drivers into a new XP-Install-CD using XP ISO BUILDER and try if it works.  I don'really know, why this should be a problem.
 

Bannik

New member
SERGEANT
Joined
Aug 7, 2005
Messages
32
Well, thanks for your assistance, I guess it will be trial and error.
 

uid313

New member
SECOND LIEUTENANT
Joined
Jun 4, 2007
Messages
111
Jack the Newbie said:
Third Step:

Restart your computer, enter BIOS and switch to AHCI-mode.
Unfortunately, my MSI P35 Neo-F does not have any AHCI setting in the BIOS.  :angryfire:
 

Jack the Newbie

New member
GENERAL OF THE ARMY
Joined
Nov 20, 2006
Messages
14,939
Are you sure?  Have a look here in BIOS:

Integrated Peripherals --> On-Chip ATA Devices --> On-Chip SATA Controller --> ?? ??

 

Bob the Fish

New member
SERGEANT
Joined
May 17, 2005
Messages
50
I have the 975X Platinum PowerUp Edition bios 7.50 and have followed all steps listed. I get a BSOD when i turn on ACHI in the bios after adding reg file info and then puting iaStor.sys into the \Windows\System32\Drivers\ folder. could it be beucase of a new iaStor.sys from Intels matrix storage manager? i have the latest one from there web site. Not sure what rong any help would be cool.
 
Status
Not open for further replies.
Top