FireGeier Posted December 8, 2006 Posted December 8, 2006 (edited) I'm using the newest available WAIK and trying to boot WinPE2.0 from USB-Stick. I was following the steps from WAIK-Walkthrough "Create a Bootable Windows PE RAM Disk on UFD"Everything went fine expect that UFD was booting on Testsystem.NOTE:The Testsystem is able to boot from UFD generally and I've prepared BIOS settings for it. I'm able to boot from this stick generally, too. But it does not boot WinPE.I've read in the newest Readme.rtf of newest WAIK that you've to follow the BCDEDIT Steps from WAIK-Walkthrough "Boot Windows PE from Harddisk" and replace all "partition=c:" entries through "partition=boot".Here are the advices from the Walkthrough:Bcdedit –createstore c:\temp\BCDBcdedit –store c:\temp\BCD –create {bootmgr} /d “Boot Manager”Bcdedit –store c:\temp\BCD –set {bootmgr} device bootBcdedit –store c:\temp\BCD –create /d “WINPE” –application osloaderBcdedit –import c:\temp\BCDThe last command returns a GUID value. Substitute GUID with this value in the following examples.Bcdedit –store c:\boot\BCD –set GUID osdevice partition=c:Bcdedit –store c:\boot\BCD –set GUID device partition=c:Bcdedit –store c:\boot\BCD –set GUID path \windows\system32\winload.exeBcdedit –store c:\boot\BCD –set GUID systemroot \windowsBcdedit –store c:\boot\BCD –set GUID winpe yesBcdedit –store c:\boot\BCD –set GUID detecthal yesBcdedit –store c:\boot\BCD –displayorder GUID -addlastThe first part till BCDedit -import is running fine. But the first command of second part - I've replaced GUID with the long number -Bcdedit –store c:\boot\BCD –set GUID osdevice partition=bootgives me the following error:An error has occurred setting the element data.The request is not supported.I've no clue what to do now and the help of BCDedit is not realy helpfull.Any help would be highly appreciated!Martin Edited December 8, 2006 by FireGeier
Jazkal Posted December 10, 2006 Posted December 10, 2006 Your problem could be that the winload.exe is not in the system32 folder.copy all the files in the System32\Boot folder to the root of System32. This is a known bug that was reported to Microsoft, and was supposed to be fixed for the RTM release, but wasn't.I use this command in my build scriptxcopy "%source%\mount\Windows\System32\Boot\*.*" %source%\mount\Windows\System32\*.* /e /y
FireGeier Posted December 10, 2006 Author Posted December 10, 2006 Hello Jazkal!Thanks, for your reply. Cause I'm sure this would be the next trap I would run into. But if I understand that right, this will help for line three of the second part. Right?Bcdedit –store c:\boot\BCD –set GUID path \windows\system32\winload.exeWouldn't it be a solution here to change the path to \windows\system32\boot\winload.exeinstead of moving all the files?My problem is that line one of second part gives the error allready. However I'll try out your solution.Thanks again!Martin
FireGeier Posted December 10, 2006 Author Posted December 10, 2006 Problem solved partly...replace all "partition=c:" entries through "partition=boot".That's wrong!You have to replace "partition=c:" through "boot".After that BCDEdit commands will run fine.Thank's MS for some further wasted days!!! However USB-Stick is still not booting WinPE. But I guess that has something to do with combination of BIOS and Stick.Martin
FireGeier Posted December 11, 2006 Author Posted December 11, 2006 UPDATE:OK.. Problem is "fixed" or better, I know what's causing the problem now. Like I've expected my BIOS USB Stick combination is behaving weired.I redid everything from "Create a Bootable Windows PE RAM Disk on UFD" walkthrough. It was still not booting from stick.So I turned off my test system and disconected the HD.Turned system back on... and surpirse... it was rocking from the stick.After endless time of booting I turned system off again, reconnected the HD, turned it back on... and still booting from stick.Wiped out everything from Stick, followed walkthrough again, put stick into testsystem - HD still connected - and it was booting from HD instead of stick.Turned off system, disconnected HD, turned back on... booting from stick.Turned off system, reconnected HD, turned back on... booting from stick.Hope, everything is clear now guys! Thanks for helping!Martin
Innocent Devil Posted December 13, 2006 Posted December 13, 2006 i still havnt got it workingi even tried bootsect /nt60 m:(m: -stick)
FireGeier Posted December 13, 2006 Author Posted December 13, 2006 Hello Innocent,first you need to know, if your stick is able to boot on your system. If BIOS is not able to boot your stick, than you'll not able to get it working. I know that there are a lot of boards around, where you've the options in BIOS menu to boot from USB, but at least nothing happens, if you realy try out.To find out, if BIOS allows you to boot your stick, you should try to prepare your stick with diskpart - like discribed in WAIK walkthrough "Create a Bootable Windows PE RAM Disk on UFD". But there is an important thing I've found out for my stick and my system:When I was trying to use diskpart within from a Windows Vista command prompt or from Windows XP command prompt it wasn't listing the USB-Stick. But the USB-Stick was recognized by the system.Background:Some UFDs are recognized as a Disk, what allows you to create diffrent partitions like on a HD, but some sticks are recognized as removable media. These Sticks you can't prepare like a disk from within Windows XP and it seems to be it's the same with Windows Vista.So I was building a basic Windows PE 2.0 CD, booted the system and started diskpart. Windows PE was recognizing the same stick on the same system as HD. So I prepared the stick like discribed in walkthrough, and than used xcopy to copy all files from Windows PE 2.0 CD to the prepared stick.Now I had to do the strange steps posted above (disconnecting HD) and it was working.What kind of message you get, when you're trying to boot from your stick?Martin
Innocent Devil Posted December 14, 2006 Posted December 14, 2006 i have usb bootable biosi had booted same with bartpe, got workingthe stick is not recognized by diskpart in XPbut vista takes it allowing me to do all specfied in the walkthroughbut just the problem , it wont boot then i tried Fedora's diskboot.img file to test dd if=/media/fc6/images/diskboot.img of=/dev/sdbdid a rebootpressing F10 got the bios boot menuselect the stick to boot ....... Fedora's Intall menu is ready on my DesktopNow it is clear that it can bootthen why winpe cant ??now im doing the ramdisk method
FireGeier Posted December 14, 2006 Author Posted December 14, 2006 What kind of message you've got, when you were trying to boot the diskpart prepared stick?Martin
Innocent Devil Posted December 14, 2006 Posted December 14, 2006 No msg at all1 sec blank screenthen it boots from HD
FireGeier Posted December 14, 2006 Author Posted December 14, 2006 And if you disconnect the HD and boot system with UFD insert only?Martin
sitta Posted December 16, 2006 Posted December 16, 2006 Could some one post the steps required to create Bootable Windows PE 2.0 RAM Disk on UFD please?Thanking in Advance.
geezery Posted December 17, 2006 Posted December 17, 2006 I got the usb stick booting only when I first used the HP usb stick format tool.http://www.techpowerup.com/downloads/330I also needed the MS Dos boot disk to get the needed files for the HP utility. Then I followed the steps how to boot Pe from usb stick.
FireGeier Posted December 17, 2006 Author Posted December 17, 2006 Could some one post the steps required to create Bootable Windows PE 2.0 RAM Disk on UFD please?You just need to follow the steps of "Create a Bootable Windows PE RAM Disk on UFD" in WAIK-Help.The other question is, if your combination of UFD and Mainboard/BIOS will allow to boot the stick at least.Martin
TehSuk Posted March 9, 2007 Posted March 9, 2007 (edited) Problem solved partly...replace all "partition=c:" entries through "partition=boot".That's wrong!You have to replace "partition=c:" through "boot".After that BCDEdit commands will run fine.Thank's MS for some further wasted days!!! However USB-Stick is still not booting WinPE. But I guess that has something to do with combination of BIOS and Stick.MartinCan you elaborate on the exact commands you are running to create the new BCD file? I'm having a hard time translating:You have to replace "partition=c:" through "boot".... into the actual BCD commands. The verbiage in readme.rtf states:Booting Windows PE directly from CD-ROM or USB flash driveYou can boot Windows PE directly from a CD-ROM or USB flash drive (UFD), not into memory (RAM). To do so, refer to step 4 in the "Walkthrough: Boot Windows PE from Hard Disk" topic, replacing the references to "partition=c:" with "partition=boot". For CD-ROM, you must still create an .iso file and then burn the image onto a CD-ROM. For UFD, you can copy the source files directly to a UFD device.Thanks! Edited March 9, 2007 by TehSuk
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now