![]() ![]() |
Jun 24 2008, 05:16 PM
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 24-June 08 Member No.: 198109 OS: none
|
I'm getting a BSOD when I try to boot a WinPE 2.0 image using a flat file structure instead of the ramdisk. I only get this BSOD if I boot off of a usb device (flash drive or external dvd drive). If I boot from an internal dvd drive, the exact same WinPE image boots correctly. I basically followed the instructions in the following KB article, except for the parts about applying the hotfix because I'm already using Vista SP1 to generate the WinPE files.
http://support.microsoft.com/kb/928570/en-us Has anyone else seen this problem? |
|
|
|
Jun 25 2008, 06:34 AM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 330 Joined: 14-June 04 Member No.: 22586 |
from everything I've seen about this, the issue is due to the OS at some point re-initiallizes the USB bus. When it does that, it looses the USB drive and the data on it. Therefore it cannot read from the disk and tends to Blue Screen.
To work around that, they developed the RAM Disk proceedure. |
|
|
|
Jul 9 2008, 11:04 AM
Post
#3
|
|
|
Junior ![]() Group: Members Posts: 85 Joined: 26-May 07 Member No.: 140706 OS: Vista Ultimate x64
|
If it weren't for that problem (reinitialization of the USB bus), then that would be a nice option for machines that can boot from USB, but have less than 512 MB of RAM.
I never tried flat-file from CD, though (of course the entire PE environment would be read-only)... |
|
|
|
Jul 16 2008, 09:06 AM
Post
#4
|
|
|
Newbie Group: Members Posts: 49 Joined: 1-June 04 From: Portsmouth Member No.: 21354 OS: XP Pro x86
|
you will need to modify/add the following values to your registry.
you can only do this when the cd key is not booted. so do it on another machine. open regedit and then load the system.hiv %systemroot%\windows\system32\config modify the following values in the hiv [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\*pnp0a03] "Service"="pci" "ClassGUID"="{4D36E97D-E325-11CE-BFC1-08002BE10318}" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0320] "Service"="usbehci" "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usb#root_hub20] "Service"="usbhub" "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usb#class_09] "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" "Service"="USBHUB" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usb#class_08] "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" "Service"="USBSTOR" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\gendisk] "ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}" "Service"="disk" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usbstor#disk] "ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}" "Service"="disk" unload the hive, boot from the usb key and it should boot up fine. the issue you are seeing is that that windows plug and play is kicking in and loading the driver, dropping the usb key. ususlly with the blue screen of 0x0000007B |
|
|
|
Jul 17 2008, 11:10 AM
Post
#5
|
|
|
Group: Members Posts: 3 Joined: 24-June 08 Member No.: 198109 OS: none
|
you will need to modify/add the following values to your registry. you can only do this when the cd key is not booted. so do it on another machine. open regedit and then load the system.hiv %systemroot%\windows\system32\config modify the following values in the hiv [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\*pnp0a03] "Service"="pci" "ClassGUID"="{4D36E97D-E325-11CE-BFC1-08002BE10318}" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\pci#cc_0c0320] "Service"="usbehci" "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usb#root_hub20] "Service"="usbhub" "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usb#class_09] "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" "Service"="USBHUB" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usb#class_08] "ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}" "Service"="USBSTOR" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\gendisk] "ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}" "Service"="disk" [HKEY_LOCAL_MACHINE\SYSTEM.SAV\ControlSet001\Control\CriticalDeviceDatabase\usbstor#disk] "ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}" "Service"="disk" unload the hive, boot from the usb key and it should boot up fine. the issue you are seeing is that that windows plug and play is kicking in and loading the driver, dropping the usb key. ususlly with the blue screen of 0x0000007B Atheros, I merged your values to the WinPE SYSTEM hive, but that didn't stop the BSOD. Still getting the 7B stop error on boot. If you have any other suggestions, I would like to try them. |
|
|
|
Jul 17 2008, 12:21 PM
Post
#6
|
|
|
MSFN Junkie Group: Software Developers Posts: 3623 Joined: 23-July 04 From: Italy Member No.: 25215 OS: none
|
Check these seemingly unrelated posts (How to install Vista on USB and on FAT32):
http://www.911cd.net/forums//index.php?sho...181&st=1707 http://www.911cd.net/forums//index.php?sho...181&st=1712 they may contain some useful info to work around the 0x0000007b BSOD. jaclaz |
|
|
|
Jul 18 2008, 04:17 AM
Post
#7
|
|
|
Newbie Group: Members Posts: 49 Joined: 1-June 04 From: Portsmouth Member No.: 21354 OS: XP Pro x86
|
are you sure you did them correctly
hkey_local_machine\"whaterer you loaded the hive as"\ControlSet001\Control\CriticalDeviceDatabase\usbstor#disk etc etc you may not have the drivers in the pe image. even though in winpe theyre normally copied by default. have a look and see. |
|
|
|
Jul 21 2008, 11:59 AM
Post
#8
|
|
|
Group: Members Posts: 3 Joined: 24-June 08 Member No.: 198109 OS: none
|
are you sure you did them correctly hkey_local_machine\"whaterer you loaded the hive as"\ControlSet001\Control\CriticalDeviceDatabase\usbstor#disk etc etc you may not have the drivers in the pe image. even though in winpe theyre normally copied by default. have a look and see. Atheros, I checked my WinPE System hive, and it had all of the settings. I also checked windows\system32\drivers subfolder for missing driver files. Based on the registry values that you posted, there was one missing file -USBSTOR.sys. I copied it to the WinPE drivers subfolder from my own Vista workstation's drivers subfolder. However, after doing this, I'm still getting the 7B stop error, so at this point I would probably need a checklist of all of the usb driver files that I should have in the WinPE drivers folder to make sure that I do have all of the necessary driver files in this WinPE image. |
|
|
|
Jul 22 2008, 02:09 AM
Post
#9
|
|
|
Newbie Group: Members Posts: 49 Joined: 1-June 04 From: Portsmouth Member No.: 21354 OS: XP Pro x86
|
ok i will have to reopen this project as i worked on it some time ago. i will see how it goes and let you know on my progress.
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 7th January 2009 - 12:11 PM |