Official GIGABYTE Forum

Questions about GIGABYTE products => Motherboards with Intel processors => Topic started by: white_dove on April 12, 2011, 05:31:53 pm

Title: change from IDE to AHCI
Post by: white_dove on April 12, 2011, 05:31:53 pm
Hello, i wanna reinstall my Windows, and i wanna change from IDE to AHCI. I read a lot of stuff about that, so i'm ready to pull the trigger  ;D
My motherboard is Gigabyte GA EX58 UD5. I'm not sure which options i have to change in BIOS.
I have "SATA / RAID/ AHCI Mode" which is IDE now
And "Onboard SATA/IDE Ctrl Mode" which is IDE as well.
Which one do i have to change to AHCI before i make a fresh install ? Both ?
Thanks in advance
PS: question for those who already use AHCI ? Is it really worth ? Do you see any improvement ?
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 12, 2011, 05:48:54 pm
Hi

Firstly yes it normally is a decent performace improvement and you get the added bounses of Hot Swap and Native Command Queueing.

Switch both to AHCI mode and if anywhere it says Native IDE switch that on as well.
Title: Re: change from IDE to AHCI
Post by: white_dove on April 12, 2011, 05:54:04 pm
Thanks a lot
But i don't understand what do you mean with " added bounses of Hot Swap and Native Command Queueing"
You mean those options / compatiblities on the hard drives ?
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 12, 2011, 06:20:32 pm
Yes Hot Swap is really for ESATA drives as it enables the drive to be connected/disconnected without shutting down the system.

Native Command Queueing or NCQ as it is more commonly called is just the way data is handled by the interface/drive and is more efficient.
Title: Re: change from IDE to AHCI
Post by: white_dove on April 12, 2011, 06:30:39 pm
Ok, i went into BIOS, ready to format my Windows, but i see there another option, is already ENABLED.
See the image, please. Shall i leave it ENABLED ?
http://img706.imageshack.us/i/mainboardpo.jpg/
Thanks again.
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 12, 2011, 06:40:44 pm
The second option down from the top "SATA Port 0-3" needs to be enabled.

Leave the "onboard SATA/IDE Device" as enabled.

Change the "Onboard SATA/IDE control Mode" to AHCI.
Title: Re: change from IDE to AHCI
Post by: white_dove on April 12, 2011, 06:43:31 pm
And the first one at the top ? I have it now IDE. I change that to AHCI, as well, right ?
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 12, 2011, 06:45:48 pm
Sorry, Yes change that to AHCI too.
Title: Re: change from IDE to AHCI
Post by: white_dove on April 12, 2011, 06:47:08 pm
Thanks a lot, Dark Mantis.
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 12, 2011, 06:49:10 pm
No problem you're welcome. Have fun reinstalling Windows. ;)
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 02:38:30 pm
Ok, i reinstalled Windows.
I don't know if i can get some help  here, i want to get ride of this icon from the sistray.
I'm talking about the HotSwap icon.
Thanks
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 03:10:14 pm
Let me guess you have it showing the fixed hard drives as removable ?
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 03:11:40 pm
Let me guess you have it showing the fixed hard drives as removable ?

Yes. I don't want this icon on the sistray. Can i remove / disable it ?
But if i plugin some USB stick, i hope that the icon will be there.
Is that possible ?
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 03:15:41 pm
What you need to do is a bit of registry hacking.

A fix can be found in the document located at:
http://www.microsoft.com/whdc/device/storage/eSATA.mspx but basically if you.....

Right Click the command prompt and select 'Run as Administrator';

Copy and paste the following command into the command prompt:
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller(n)\Channel(N)" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001

Change (n) for the contoller number – 0 on my machine ie. 'Controller0' and change Channel (N) for the SATA port number – 1 – 5 on my machine ie. Channel1, Channel2, channel3....etc

You can check which controller number and port(s) by using regedit to check the registry keys. The keys can also be be added while your there.


reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 03:27:26 pm
Ok Dark Mantis. I'll give it a try, but before that, i make a backup, just in case.
And if i do this trick, can i see my USB stick icon when is plugged in, on the sistray, later ?
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 03:29:18 pm
Yes if you do this properly it will just ignore the hard drives but will stil pick up any pen drives etc that you insert.
 Yes best to backup first or at least the registry.
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 03:47:34 pm
I don't understand what / how to change those ( n ) numbers.
I have 2 harddrives on my pc. I made a printscreen from Device Manager and another one from Everest.
Drive 2  ( 00A7B2 ) is the hard with C - OS and D  and the hard 1 ( 00H2B0 )  is the E partition.
Do i have to change ( swap ) the SATA cables on those 2 harddrives ?
Please explain me what numbers do i have to change on when i use the command prompt, or which controller number and port(s) i have to modify.
Thanks a lot.
http://img710.imageshack.us/i/86160373.jpg/
LE : i added this command " reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001" so i can check as you said.
Now i made another printscreen from regedit.
http://img715.imageshack.us/i/regeditimage.jpg/
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 04:22:23 pm
It is a bit complicated especially trying to sort out which drive is which isn't it?

You don't need to change any cables over or any other physical modification. It's all just done in the registry. The easiest way to determine which drive is on which port though is propbably to have a look at the cables and see which one goes to what port number. Then you have your answer.

By the way I got a virus warning when I opened your picture so it might be worth checking your system with a decent anti-virus program.
Title: Re: change from IDE to AHCI
Post by: absic on April 13, 2011, 04:26:26 pm
By the way I got a virus warning when I opened your picture so it might be worth checking your system with a decent anti-virus program.

DM, I just download this image and scanned with Nod32 and didn't get a virus warning. Could you be getting a false virus warning rather than the picture being infected? Also, I have just double checked with Microsoft Security Essentials on my laptop and didn't get a warning from that either!
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 04:28:25 pm
It is a bit complicated especially trying to sort out which drive is which isn't it?

You don't need to change any cables over or any other physical modification. It's all just done in the registry. The easiest way to determine which drive is on which port though is propbably to have a look at the cables and see which one goes to what port number. Then you have your answer.

By the way I got a virus warning when I opened your picture so it might be worth checking your system with a decent anti-virus program.
Ok, i'll open the case now, and i check which drive is on which port. You mean"port" by those SATA slots from motherboard, right ?
PS : i check as well, but i don't think i have some viruses. That's nearly impossible. I installed my OS about few hours ago.
But i'll check now. Twice.  ;D
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 04:32:26 pm
Yes it is possible it was a false positive as I didn't get a chance to read it before Kaspersky killed it anyway. Kaspersky is normally quite good though and I would always rather be careful. I must admit it only happened the first time when I tried again it seemed ok.

Yes regarding the ports. Make sure that you know which is which and then see the drives are connected to each.
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 04:43:19 pm
Okay, i opened the case. I checked. I have the OS hard drive in SATA1 and the second drive in SATA 0
DVD RW in SATA 2  :P
Now, how to i have to modify those numbers ?
http://img694.imageshack.us/i/portsek.jpg/
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 04:51:09 pm
the boot drive should say "Controller0\Channel0" and the second drive"Controller0\Channel1"
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 04:54:17 pm
the boot drive should say "Controller0\Channel0" and the second drive"Controller0\Channel1"
? What do you mean ?
Title: Re: change from IDE to AHCI
Post by: Dark Mantis on April 13, 2011, 04:57:33 pm
Fix boot drive - "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel0" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001"

Fix other drive - "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001"
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 05:05:52 pm
I copy-paste that first one and i received this message in command promt
'Fix' is not recognized as an internal or external command,
operable program or batch file.
I tried to copy only HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel0" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001"
but " The system cannot find the path specified"
Title: Re: change from IDE to AHCI
Post by: white_dove on April 13, 2011, 05:38:39 pm
I tried this:
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel0" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001"



reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\msahci\Controller0\Channel1" /f /v TreatAsInternalPort /t REG_DWORD /d 0x00000001"

And is working !!  :-* :-* :-*
Thanks a million, Dark Mantis. Now i have to "fix" the last problem. In Disk Management ( and Acronis, too ) i have E as the first hard, and C and D underneath. I want to change this order.
I tried to swap the SATA cables / ports   and from BIOS too, but is the same.