Official GIGABYTE Forum

change from IDE to AHCI

Dark Mantis

  • *
  • 18405
  • 414
  • 10typesofpeopleoneswhoknow binaryandoneswhodont
    • Dark Mantis
Re: change from IDE to AHCI
« Reply #15 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.
Gigabyte X58A-UD7
i7 920
Dominators 1600 x6 12GB
6970 2GB
HX850
256GB SSD, Sam 1TB, WDB320GB
Blu-Ray
HAF 932

Gigabyte Z68X-UD5-B3
i7 3770K
Vengeance 1600 16GB
6950 2GB
HCP1200W
Revo Drive x2, 1.5TB WDB RAID0
16x DLRW
StrikeX S7
Full water cooling
3 x 27" Iiy

Re: change from IDE to AHCI
« Reply #16 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/
« Last Edit: April 13, 2011, 04:04:55 pm by white_dove »

Dark Mantis

  • *
  • 18405
  • 414
  • 10typesofpeopleoneswhoknow binaryandoneswhodont
    • Dark Mantis
Re: change from IDE to AHCI
« Reply #17 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.
Gigabyte X58A-UD7
i7 920
Dominators 1600 x6 12GB
6970 2GB
HX850
256GB SSD, Sam 1TB, WDB320GB
Blu-Ray
HAF 932

Gigabyte Z68X-UD5-B3
i7 3770K
Vengeance 1600 16GB
6950 2GB
HCP1200W
Revo Drive x2, 1.5TB WDB RAID0
16x DLRW
StrikeX S7
Full water cooling
3 x 27" Iiy

absic

  • *
  • 5815
  • 529
  • Never give up; Never surrender!
    • Bandcamp
Re: change from IDE to AHCI
« Reply #18 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!
Remember, when all else fails a cup of tea and a good swear will often help! It won't solve the problem but it will make you feel better.

Re: change from IDE to AHCI
« Reply #19 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

Dark Mantis

  • *
  • 18405
  • 414
  • 10typesofpeopleoneswhoknow binaryandoneswhodont
    • Dark Mantis
Re: change from IDE to AHCI
« Reply #20 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.
« Last Edit: April 13, 2011, 04:34:17 pm by Dark Mantis »
Gigabyte X58A-UD7
i7 920
Dominators 1600 x6 12GB
6970 2GB
HX850
256GB SSD, Sam 1TB, WDB320GB
Blu-Ray
HAF 932

Gigabyte Z68X-UD5-B3
i7 3770K
Vengeance 1600 16GB
6950 2GB
HCP1200W
Revo Drive x2, 1.5TB WDB RAID0
16x DLRW
StrikeX S7
Full water cooling
3 x 27" Iiy

Re: change from IDE to AHCI
« Reply #21 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/

Dark Mantis

  • *
  • 18405
  • 414
  • 10typesofpeopleoneswhoknow binaryandoneswhodont
    • Dark Mantis
Re: change from IDE to AHCI
« Reply #22 on: April 13, 2011, 04:51:09 pm »
the boot drive should say "Controller0\Channel0" and the second drive"Controller0\Channel1"
Gigabyte X58A-UD7
i7 920
Dominators 1600 x6 12GB
6970 2GB
HX850
256GB SSD, Sam 1TB, WDB320GB
Blu-Ray
HAF 932

Gigabyte Z68X-UD5-B3
i7 3770K
Vengeance 1600 16GB
6950 2GB
HCP1200W
Revo Drive x2, 1.5TB WDB RAID0
16x DLRW
StrikeX S7
Full water cooling
3 x 27" Iiy

Re: change from IDE to AHCI
« Reply #23 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 ?

Dark Mantis

  • *
  • 18405
  • 414
  • 10typesofpeopleoneswhoknow binaryandoneswhodont
    • Dark Mantis
Re: change from IDE to AHCI
« Reply #24 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"
Gigabyte X58A-UD7
i7 920
Dominators 1600 x6 12GB
6970 2GB
HX850
256GB SSD, Sam 1TB, WDB320GB
Blu-Ray
HAF 932

Gigabyte Z68X-UD5-B3
i7 3770K
Vengeance 1600 16GB
6950 2GB
HCP1200W
Revo Drive x2, 1.5TB WDB RAID0
16x DLRW
StrikeX S7
Full water cooling
3 x 27" Iiy

Re: change from IDE to AHCI
« Reply #25 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"

Re: change from IDE to AHCI
« Reply #26 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.