MSFN Forum: WinPE 4.0 Multi Boot x86 & x64 - MSFN Forum

Jump to content


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

WinPE 4.0 Multi Boot x86 & x64 Rate Topic: -----

#1 User is offline   rob4dance 

  • Group: Members
  • Posts: 6
  • Joined: 02-December 07

Posted 09 August 2012 - 08:18 AM

Hi,

For Win7, my USB key has BCD Entries to boot:
1) WinPE 3.0 x86 Edition
2) WinPE 3.0 x64 Edition
3) Windows 7 Setup (All in One)

I've been trying to do similar for WinPE 4.0 but can't get it to work.
All I need is to have the choice to boot either 32 or 64 bit & I can manually run the setup from there.
FOR /F "delims={} tokens=2" %%I IN ('bcdedit /store boot\bcd /copy {default} /d "WinPE x64"') DO SET OSGUID=%%I
SET OSGUID={%OSGUID%}

bcdedit /store boot\bcd /set %OSGUID% device ramdisk=[boot]\Boot\WinPE_x64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
bcdedit /store boot\bcd /set %OSGUID% osdevice ramdisk=[boot]\Boot\WinPE_x64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}

FOR /F "delims={} tokens=2" %%I IN ('bcdedit /store boot\bcd /copy {default} /d "WinPE x86"') DO SET OSGUID=%%I
SET OSGUID={%OSGUID%}

bcdedit /store boot\bcd /set %OSGUID% device ramdisk=[boot]\Boot\WinPE_x86.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
bcdedit /store boot\bcd /set %OSGUID% osdevice ramdisk=[boot]\Boot\WinPE_x86.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}

bcdedit /store boot\bcd /displayorder %OSGUID% /addfirst

bcdedit /store boot\bcd /default %OSGUID%

bcdedit /store boot\bcd /timeout 10

With WinPE 4.0 I don't get a menu. The timeout value makes no difference. It does boot though. Seems to boot whatever is the 1st entry only...

Also, if I do get this working, does it only apply to Bios or do I need to modify BCD in the EFI folder as well?
I think I'll most likely be booting in UEFI mode to utilize GPT...

Any help would be great! I don't need to be carrying too many usb keys!


#2 User is online   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 02 September 2012 - 11:27 AM

View Postrob4dance, on 09 August 2012 - 08:18 AM, said:

With WinPE 4.0 I don't get a menu.


Delete value bootmenupolicy
bcdedit.exe /store boot\bcd /deletevalue {default} bootmenupolicy


bootmgr itself shows a progress bar by default. That's bootmenupolicy is missing.

#3 User is offline   rob4dance 

  • Group: Members
  • Posts: 6
  • Joined: 02-December 07

Posted 03 September 2012 - 02:46 PM

View Postcdob, on 02 September 2012 - 11:27 AM, said:

View Postrob4dance, on 09 August 2012 - 08:18 AM, said:

With WinPE 4.0 I don't get a menu.


Delete value bootmenupolicy
bcdedit.exe /store boot\bcd /deletevalue {default} bootmenupolicy


bootmgr itself shows a progress bar by default. That's bootmenupolicy is missing.


That's it! Thanks heaps! :thumbup

Share this topic:


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

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



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