hello,
an old post, perhaps reply useless ...
In my memory, when i did a multiboot 32/64, i use two files, say boot.wim and boot64.wim
These files can be product by winpese or ADK, nevermind.
I copy them in the media\sources
I assume your media boots on the one boot.wim. If not use BOOTBCD.EXE in ADK
Be carefull, for winpe, the BCD must include keys for Ramdisk. So take a bcd file on a CD/Iso for winpe, not in a hard disk with normaly os windows.
See the reference for bcdedit :
https://msdn.microsoft.com/en-us/library/windows/hardware/ff542205(v=vs.85).aspxAfter, you must use BCDEDIT. It's easy : bcdedit /?
For the work, my English in poor. Search on the net for "winpe multiboot 32 64 bits" or some thing like this.
I found :
http://forums.mydigitallife.info/threads/40435-Creating-a-MultiBoot-Windows-8-WinPE-Disc --->>>> see the post 7
Be carefull, it's a script ! try manually without variables in your want security !!!
a piece of the post :
:: WinPE 8 x86
set pename="WinPE 8 x86 (w8x86.wim)"
set filena=[boot]\sources\w8x86.wim
for /f "eol=r tokens=1-2" %%a in ('%BCDEDIT% /store %STORE% /ENUM all') do set rdo=%%b
for /f "tokens=1-7" %%a in ('%BCDEDIT% /store %STORE% /copy {default} /d %pename%') do set guid1=%%g
%BCDEDIT% /store %STORE% /set %guid1:~0,38% DEVICE ramdisk=%filena%,%rdo%
%BCDEDIT% /store %STORE% /set %guid1:~0,38% OSDEVICE ramdisk=%filena%,%rdo%
%BCDEDIT% /store %STORE% /set %guid1:~0,38% path \windows\system32\winload.exe
%BCDEDIT% /store %STORE% /set %guid1:~0,38% systemroot \windows
%BCDEDIT% /store %STORE% /set %guid1:~0,38% winpe yes
%BCDEDIT% /store %STORE% /set %guid1:~0,38% nx optin
%BCDEDIT% /store %STORE% /set %guid1:~0,38% detecthal yes
%BCDEDIT% /store %STORE% /set %guid1:~0,38% path \windows\system32\boot\winload.exe
:: WinPE 8 x64
set pename="WinPE 8 x64 (w8x64.wim)"
set filena=[boot]\sources\w8x64.wim
for /f "eol=r tokens=1-2" %%a in ('%BCDEDIT% /store %STORE% /ENUM all') do set rdo=%%b
for /f "tokens=1-7" %%a in ('%BCDEDIT% /store %STORE% /copy {default} /d %pename%') do set guid1=%%g
%BCDEDIT% /store %STORE% /set %guid1:~0,38% DEVICE ramdisk=%filena%,%rdo%
%BCDEDIT% /store %STORE% /set %guid1:~0,38% OSDEVICE ramdisk=%filena%,%rdo%
%BCDEDIT% /store %STORE% /set %guid1:~0,38% systemroot \windows
%BCDEDIT% /store %STORE% /set %guid1:~0,38% winpe yes
%BCDEDIT% /store %STORE% /set %guid1:~0,38% nx optin
%BCDEDIT% /store %STORE% /set %guid1:~0,38% detecthal yes
%BCDEDIT% /store %STORE% /set %guid1:~0,38% path \windows\system32\boot\winload.exe
I think you can find the same information in the documentation WINPE of MSDN, Technet, ADK, but i've no time this morning to search
For UEFI it's more complex. One simple way : disable UEFI. The second way, put the directory efi for 64, change its name, and modify BCD
Hope this help you.