MSFN Forum: Add WinXP on C:\ to WinPE BCD - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Add WinXP on C:\ to WinPE BCD Would like to add WinXP to a WinPE BCD file Rate Topic: -----

#1 User is offline   brianfgonzalez 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 19-January 06

Posted 19 October 2009 - 08:14 AM

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 ?


#2 User is offline   vyruz 

  • Group: Members
  • Posts: 6
  • Joined: 20-October 09

Posted 20 October 2009 - 07:46 AM

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!

#3 User is offline   rocketero 

  • Group: Members
  • Posts: 2
  • Joined: 17-May 09

Posted 29 December 2009 - 12:19 PM

View Postvyruz, on Oct 20 2009, 08:46 AM, said:

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy