IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
 
Reply to this topicStart new topic
> Running WinPE 2.0 with a Flat File structure on a USB drive
Vuong Nguyen
post Jun 24 2008, 05:16 PM
Post #1





Group: Members
Posts: 3
Joined: 24-June 08
Member No.: 198109
OS: none
Country Flag


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?
Go to the top of the page
 
+Quote Post
Radimus
post 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.
Go to the top of the page
 
+Quote Post
killerb255
post Jul 9 2008, 11:04 AM
Post #3


Junior
*

Group: Members
Posts: 83
Joined: 26-May 07
Member No.: 140706
OS: Vista Ultimate x64
Country Flag


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)...
Go to the top of the page
 
+Quote Post
Atheros
post Jul 16 2008, 09:06 AM
Post #4


Newbie


Group: Members
Posts: 48
Joined: 1-June 04
From: Portsmouth
Member No.: 21354
OS: XP Pro x86
Country Flag


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

Go to the top of the page
 
+Quote Post
Vuong Nguyen
post Jul 17 2008, 11:10 AM
Post #5





Group: Members
Posts: 3
Joined: 24-June 08
Member No.: 198109
OS: none
Country Flag


QUOTE (Atheros @ Jul 16 2008, 08:06 AM) *
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.
Go to the top of the page
 
+Quote Post
jaclaz
post Jul 17 2008, 12:21 PM
Post #6


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3379
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


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. unsure.gif

jaclaz
Go to the top of the page
 
+Quote Post
Atheros
post Jul 18 2008, 04:17 AM
Post #7


Newbie


Group: Members
Posts: 48
Joined: 1-June 04
From: Portsmouth
Member No.: 21354
OS: XP Pro x86
Country Flag


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.


Go to the top of the page
 
+Quote Post
Vuong Nguyen
post Jul 21 2008, 11:59 AM
Post #8





Group: Members
Posts: 3
Joined: 24-June 08
Member No.: 198109
OS: none
Country Flag


QUOTE (Atheros @ Jul 18 2008, 03:17 AM) *
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.
Go to the top of the page
 
+Quote Post
Atheros
post Jul 22 2008, 02:09 AM
Post #9


Newbie


Group: Members
Posts: 48
Joined: 1-June 04
From: Portsmouth
Member No.: 21354
OS: XP Pro x86
Country Flag


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.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2nd December 2008 - 09:17 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy