Jump to content

Add WinXP on C:\ to WinPE BCD


brianfgonzalez

Recommended Posts

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 ?

Link to comment
Share on other sites


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':

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:

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!

Link to comment
Share on other sites

  • 2 months later...
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':

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:

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!

Have you tried changing in "Windows Legacy OS Loader" the Identifier from {ntldr} to {default} ?

that's the way mine works.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...