srihariram Posted July 30, 2007 Share Posted July 30, 2007 Hi,I am getting error when try to create WinPE to boot from Harddisk.I get error when it run BCDEdit to create new boot configuration file.When i run the following commad::Bcdedit –store c:\boot\BCD –set <GUID> osdevice partition=bootError Msg::An error occured while attempting to reference the specified entry.The system cannot find the file specified.Could anyone suggest how to overcome this?/*---------------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=boot -------- error at this stepBcdedit –store c:\boot\BCD –set <GUID> device partition=bootBcdedit –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> -addlast----------*/ Link to comment Share on other sites More sharing options...
spacesurfer Posted July 31, 2007 Share Posted July 31, 2007 Where is your Windows PE installed? If it's on C:\, it should work. If you have Vista installed and it's on a drive other than C:\, then you need to specify that location.Basically, the error means what it means, it can't find the BCD store that you are trying to modify. Link to comment Share on other sites More sharing options...
IcemanND Posted July 31, 2007 Share Posted July 31, 2007 Here's the command file I use to make a dual boot PE 2.0 and Xp system with 2 different partitions. Remove the third section if you don't need legacy (xp or older) booting.bcdedit -createstore c:\boot\bcdbcdedit -store c:\boot\bcd -create {bootmgr} /d "Boot Manager"bcdedit -store c:\boot\bcd -set {bootmgr} device bootfor /f "tokens=3" %%a in ('bcdedit -store c:\boot\bcd -create /d "Windows PE" -application osloader') do set guid=%%abcdedit -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\boot\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% -addlastbcdedit -store c:\boot\bcd -create {legacy} /d "Windows XP"bcdedit -store c:\boot\bcd -set {legacy} device bootbcdedit -store c:\boot\bcd -set {legacy} path \ntldrbcdedit -store c:\boot\bcd -displayorder {legacy} –addlastbcdedit -store c:\boot\bcd -default {legacy} bcdedit -store c:\boot\bcd -timeout 5bootsect /nt52 all Link to comment Share on other sites More sharing options...
SoultakerPT Posted September 20, 2007 Share Posted September 20, 2007 ****...i'm just getting tired from trying this.I just can't boot winpe from an hdd.At this point I can boot winpe but after the bootscreen appears I just get a BSOD and have no idea what to do about it.Does anyone can boot winpe from the hdd? Link to comment Share on other sites More sharing options...
bj-kaiser Posted September 20, 2007 Share Posted September 20, 2007 At this point I can boot winpe but after the bootscreen appears I just get a BSOD and have no idea what to do about it.That sounds closely like a hdd driver error. "Inaccessible boot device"? Link to comment Share on other sites More sharing options...
IcemanND Posted September 20, 2007 Share Posted September 20, 2007 are you trying to boot from an interal or external hard drive? It makes a difference. If it is internal follow my instructions above to get the boot loader working right. If it is external (usb/firewire) follow instructions for making a PE2 USB thumb drive bootable. I have instructions for both in my guide here in the Windows PE forum. http://www.msfn.org/board/GUIDE_Creating_W...st&p=674778 Link to comment Share on other sites More sharing options...
SoultakerPT Posted September 21, 2007 Share Posted September 21, 2007 Tks Iceman.I'm trying from an external HDD. I'll follow your guide and give some info later on. Link to comment Share on other sites More sharing options...
SoultakerPT Posted September 21, 2007 Share Posted September 21, 2007 Ok, I think I solved the issue!**** so stupid..I've passed yesterday all afternoon trying this with no success.Today I've just used diskpart and formated ALL hdd in NTFS...copied files from WINPECD and there it is, just working so good Link to comment Share on other sites More sharing options...
torgerss Posted January 9, 2008 Share Posted January 9, 2008 I was getting the same error and it turned out the one thing i was missing was posted by IcemanND in bcdedit script. I forgot to add the whole partition=c: to the command... as I was booted from a WDS WinPE image at the time I was setting up my drive, adding this made it work flawlessly. Nice script btw, works like a charm. Thanks Again! Link to comment Share on other sites More sharing options...
kyriaap Posted January 19, 2009 Share Posted January 19, 2009 im also having issues with the WINPE from HDDthe first part of the store goes fine until.. storing the bcd..when the command "Bcdedit -store c:\boot\BCD -set %GUID% osdevice partition=C:" comes up i get the following error message:the boot configuration data store couldn't be opened.insufficient system resources exist to complete the requested service.anyone an idea?nothing much to be found on the net.. **configuration i'm using**2 hd'shd1: 8 Gbhd2: 4 Gbram: 2gbdisks are clean when starting with the badge..**********************batch script: diskpart /s diskpart.txtimagex /apply boot.wim 1 c:\xcopy boot\*.* /e /f c:\boot\copy bootmgr c:del c:\boot\bcdcopy bcd.cmd c:copy bcdguid.cmd c:c:call bcd.cmdcall bcdguid.cmdbcd.cmd:md C:\temp\md C:\boot\bcdBcdedit -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\BCDbcdguid.cmd:set /p GUID=guid: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\boot\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% -addlast Link to comment Share on other sites More sharing options...
kyriaap Posted January 19, 2009 Share Posted January 19, 2009 hold on...when using the script of IcemanND i don't get the errors... might it be possible that the copy / paste action of the guid be the issue?anyhows.. i'm a bit closer to the fully working winpe..thanks so far! Link to comment Share on other sites More sharing options...
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