AHCI option(sata)

damian86

Distinguished
May 17, 2009
683
0
19,010
I have a single SATA hard disk, so i enabled the AHCI option in bios, but i get BSOD when windows is booting,so i had to set it back to SATA IDE
why is it not working?
 
Solution
You did this on a system that already had Windows installed, right? The problem is that the disk drivers in your installed system are expecting to see an ATAPI connection to the disk. When you boot the system with the drives in SATA mode the drivers don't understand how to talk to the disk and so the system can't do anything.

I haven't tried this myself, but I understand that the following should work:

1) Set the BIOS to use IDE mode for the disks and boot the system.

2) Run RegEdit and set the following registry value so that it's value is zero:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci\Start

3) Shut down, set the BIOS to use AHCI mode, and restart.

The system should start, detect the change, install...

c_k

Distinguished
Jan 18, 2010
5
0
18,510
Hi Damian,

I found something that sounds similar to what you are getting on the Xtreme Systems forums.

It appears to say that a driver is needed before Windows is installed on a boot volume you want to enable AHCI on, but I am not technical at all, so I may have it all wrong!

Thanks again for your help with my partition and missing volumes issue, you've been the only one who helped out so far! I did shorten my post, it was way too long!

-Ck
 

damian86

Distinguished
May 17, 2009
683
0
19,010
Thanks for the article.i have read it, i think they are talking about XP.
I wonder if on windows 7 it would be different.
I think there is not point in creating a RAID setup for future as they said,i only have 1 drive and it will get bsod again.maybe i should leave this.but i will listen to more info if someone finds something.

Good luck with your missing volume.

 
You did this on a system that already had Windows installed, right? The problem is that the disk drivers in your installed system are expecting to see an ATAPI connection to the disk. When you boot the system with the drives in SATA mode the drivers don't understand how to talk to the disk and so the system can't do anything.

I haven't tried this myself, but I understand that the following should work:

1) Set the BIOS to use IDE mode for the disks and boot the system.

2) Run RegEdit and set the following registry value so that it's value is zero:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci\Start

3) Shut down, set the BIOS to use AHCI mode, and restart.

The system should start, detect the change, install new drivers, and automatically reboot once more .
 
Solution
I know it's supposed to work for Vista and Windows 7, but I suspect it might not work on XP because the AHCI drivers are not part of the base XP kit - they have to be added manually via a driver disk when the system is installed.
 

Boxa786

Distinguished
May 8, 2009
386
2
18,810
It shouldnt matter with XP, like I said, if it doesnt automatically find the driver, use your motherboard cd or download them. With any driver installation on XP, you get the "browse" option to install from a folder/location it didnt automatically find.
 

damian86

Distinguished
May 17, 2009
683
0
19,010

Understand.Yes,i already have my windows on it,music pics and stuff.
just now,i have it set on sata mode.i think they work as IDE
i don't like to touch the regedit,but if this is sure i will give it a shot,ok?
then as you said,shut down the pc,then turn it baack on and set ahci on and save+restart option.
I hope i'm not killing my windows boot with this.lol.Thanks will let you know.


 

damian86

Distinguished
May 17, 2009
683
0
19,010
HI, i just done that,booted ok in AHCI mode,(thanks, very good trick)rebooted then windows installed AHCI drivers for it.(cool)The thing was, when i logged in,it froze for a while.after that,was trying to hibernate/sleep/hybrid sleep, lost the boot,get the typical 'restart and select booting device' message,so i switched off.after a few hours i turned back on and just booted ok.what the...?
 

mzadotcom

Distinguished
Jan 29, 2008
52
0
18,640



I wish it was as easy as this.

I'm in a situation where I get a BSOD after enabling AHCI at the BIOS after installing all the latest F6 Floppy drivers during Windows XP HE + SP3.

What you're assuming is that everyone has "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci\Start" @ the Registry. I looked. It's not there for me nor, I'd assume, a lot of other peoples' builds.
 

First question - are you running Vista or Windows 7? If not, then I doubt this would work (as I mentioned earlier).

Secondly: if you don't have that value in the registry, have you tried creating it? Navigate to the "msahci" key in the registry, right-click in the right pane, and select "New -> DWORD (32-bit) Value", and change the value's name to "Start". Leave the value as a zero.
 

mzadotcom

Distinguished
Jan 29, 2008
52
0
18,640
As it states in my post, I'm using Windows XP HE + SP3 on this build. I know, I know. I do have Windows 7 on a netbook, of all things. Maybe I'll upgrade my main rig to 7 64-bit soon. :D

Missed the part that your method was for Vista &/or 7. :??:

I blame it on my bleeding eyes :ouch:; a direct result of all the research I've done online regarding AHCI.

Thanks for the advice. Cheers.

 
G

Guest

Guest



Will this work in going from RAID to AHCI? Value Data is now 3 for both Msahci and IastorV.
 

jumpjack

Distinguished
Sep 27, 2007
17
0
18,510

There's no such key in Win XP SP3 systems, and just creating it is not enough as in Win7 system there are a lot of other keys together with it!
So,which is the solution for XP?