implenmenting a dual boot.
in windows xp
cd $vista\windows\system32
bcdedit -set {ntldr} device partition=$drive
bcdedit -set {ntldr} path \ntldr
bcdedit -displayorder {ntldr} -addlast
#bcdedit -set {ntldr} description "winxp"
where $drive is the dirve where winxp loader file, ntldr, storaged
and $vista is the drive where vista installed, eg. c:
after executed above command, download 'bcdsect.exe' from Microsoft
run
bcdsect /nt60 $vista
well, then I encount another problem, while i installed winxp on his
laptop, i get a blue screen.
the reason is that his BIOS use AHCI, I swithed it to 'IDE' to install
the winXP.
but then i cannot boot into vista unless i changed the "IDE' to 'AHCI'.
through the result of google search, i finally resovled it.
1 download Intel(R) Matrix Storage Manager Driver, wc_star has a ICH9
2 cp the driver file ,IaStor.sys, to winXP's 'windows\system32\drivers'
3 create a driver entry in registry.
following is what i used
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2923&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_2929&SUBSYS_013E1025&REV_03"
"1"="PCI\\VEN_8086&DEV_2929&SUBSYS_013E1025"
"2"="PCI\\VEN_8086&DEV_2929&CC_010601"
"3"="PCI\\VEN_8086&DEV_2929&CC_0106"
"Count"=dword:00000001
"NextInstance"=dword:00000001
i guess HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase
is
the driver list that windows loaded at startup.
pci#ven_8086&dev_2923&cc_0106 is founded at vista's 'device
manager->SATA controller'
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]
"0"="PCI\\VEN_8086&DEV_2929&SUBSYS_013E1025&REV_03"
"1"="PCI\\VEN_8086&DEV_2929&SUBSYS_013E1025"
"2"="PCI\\VEN_8086&DEV_2929&CC_010601"
"3"="PCI\\VEN_8086&DEV_2929&CC_0106"
is also founded at vista's 'device manager->SATA controller'
4 run the reg file that created in step3 in winxp
5 change to 'AHCI'
bcdsect.exe is already exists in vista's sytem folder, %winir%\system32.
ReplyDeleteCommissar makes dual boot today, getting the same error like wc_star with AHCI.
ReplyDelete[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\$device_ID]
ReplyDelete"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
where $device_ID is PCI device ID of ICH9 SATA controller
ReplyDelete