Help - Search - Members - Calendar
Full Version: Add WinXP on C:\ to WinPE BCD
MSFN Forums > Unattended Windows Discussion & Support > Windows PE

   


Google Internet Forums Unattended CD/DVD Guide
brianfgonzalez
I would like to add WinXP on my C:\ drive as a boot option for my WinPE boot WIM.

I tried to use the bcdedit command line util in Vista and it seemed to add the {legacy} entry successfully, but I was unable to set the option as the "default" and I also was unsuccessful in setting a "timeout" value for the boot menu. So no boot menu appears when booting using the BCD.

Any Help is MUCH appreciated. ! Thanks in advance !

wow this must be harder than i think it is ?
vyruz
Hi man,
I'm looking for exactly the same, can't get it working either...

Could you post a bit more details about your configuration, I'll do that same and perhaps we can figure out how to get this working using our combined configs...

This is what I'm doing:
- Bootable USB flash drive (this will become a CD/DVD in the final product) with working WinPE environment
- Local NTFS drive containing a windows XP SP2 installation

So this is the output of my current F:\boot\bcd when running 'bcdedit /store f:\boot\bcd':
CODE
C:\BootStores\FPMD\boot>bcdedit /store f:\boot\bcd

Windows Boot Manager
--------------------
identifier              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
                        {ntldr}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
identifier              {default}
device                  ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
path                    \windows\system32\boot\winload.exe
description             WinPE
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes

Windows Legacy OS Loader
------------------------
identifier              {ntldr}
device                  partition=C:
path                    ntldr
description             Windows XP


What's happening is the following:
Upon boot from USB flash drive I do get the boot menu, the WinPE boot option works fine and boots to my USB WinPE environment
When selecting the Windows XP option though, it's trying to load the 'ntldr' file from my USB flash drive (tested this by putting ntldr in the root of the drive). So apparently when the bootloader is running, C: is whatever device it's currently booting from...

So i tried changing the device option in my bcd file to D: by running:
CODE
bcdedit /store f:\boot\bcd -set {ntldr} device partition=D:

But the result was the same...

If anyone could help with this that would be awesome!





Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.