Topic: WinPE 10 x32 + x64 ...  (Read 2461 times)

0 Members and 1 Guest are viewing this topic.

WinPE 10 x32 + x64 ...
« on: January 14, 2017, 08:54:27 AM »

Momie0

  • Apprentice
  • *
  • Date Registered: Nov 2016
  • Posts: 8
 :great: Good evening,
Here is a small question, is it possible to gather on the same USB stick a PE 10 x32 and a PE 10 x64? :confused:
In order to avoid the obligation to own 2 usb keys!
1 x32 key for older systems and the other ...
In advance, Thanks for the reply ...  :thumbsup:

Re: WinPE 10 x32 + x64 ...
« Reply #1 on: January 14, 2017, 11:56:40 AM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
YES

Re: WinPE 10 x32 + x64 ...
« Reply #2 on: January 14, 2017, 12:02:11 PM »

Momie0

  • Apprentice
  • *
  • Date Registered: Nov 2016
  • Posts: 8
 :thumbsup: Thank you ... How?

Re: WinPE 10 x32 + x64 ...
« Reply #3 on: January 14, 2017, 02:12:28 PM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
Currently Testing OS To RAM Build Only....
   
User Must Enable Legacy Support on PC To Be Able to Dual Boot x86 and x64 UEFI PE
Once Both Arch Boot.wim's Present - Multi-Boot ISO Created on User Desktop > For Testing

WriteMedia >>
Multi-Boot > Multi-Arch > AIO WinPESE Plugin

Re: WinPE 10 x32 + x64 ...
« Reply #4 on: January 14, 2017, 11:26:27 PM »

Momie0

  • Apprentice
  • *
  • Date Registered: Nov 2016
  • Posts: 8
 :great: Thanks for the reply and the plugin
I installed it then launched, and then?
I have not seen anything happen ... @ +.

Re: WinPE 10 x32 + x64 ...
« Reply #5 on: January 15, 2017, 12:40:46 AM »

Hikari Calyx

  • Jr. Chef
  • **
  • The Mascot of HCT
  • Date Registered: May 2016
  • Posts: 35
It's possible to do that.
For Legacy Boot situation, you can edit BCD in order to choose 2 PE.
For UEFI Boot, it will be sticky.

Here's how I do:
For Legacy Boot:
Use a GRUB4DOS menu instead of bootmgr. Rename 2 BCDs to B32 and B64, and bootmgr should be renamed too.
However, you need to edit bootmgr in order to read B32 and B64 rather than BCD. Extract bootmgr.exe from \Windows\Boot\PXE in boot.wim from Windows Installation Media, and edit it by using HxD or UltraEdit-32, then compile it by using Bootmgr Recompiler V2 to two files (for example, boot32 and boot64). Because the recompile breaks bootmgr's digital signature, you need to edit BCD to skip signature check.
Then edit the menu.lst of GRUB4DOS to make chainloader to boot32 and boot64, if you're familiar to GRUB4DOS.

For UEFI Boot:
I renamed a BCD in /EFI/Microsoft/Boot to B32 in order to boot Win10 PE x86 from UEFI.
Then edit bootia32.efi by using HxD or UltraEdit-32, then use Bootmgr Recompiler V2 to regenerate its checksum. Also you need to edit BCD to skip signature check.
Because the recompile breaks digital signature of bootia32.efi, you need to turn off Secure Boot on PC with UEFI ia32.
Use GRUB2 instead also need to turn off Secure Boot.

My Win10PE build is named Hikari PE, and here's my menu.lst and file structure (for Legacy Situation):
I did a little modification on menu.lst (Just the title name because the original one is in Chinese as you can see in the attachment below)
« Last Edit: January 15, 2017, 12:52:19 AM by Hikari Calyx »

Re: WinPE 10 x32 + x64 ...
« Reply #6 on: January 15, 2017, 01:40:38 AM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
To Be Able to Dual Boot x86 and x64 UEFI

Run Builder With x86 and x64 Source Files 

Once Both x86 and x64 Boot.wim's are Present

The Dual-Boot ISO is Created on Your Desktop
---------------------------------------------------------------------------------

Or you can now extract the boot file from the plugin// new edit
readme > multi-boot\sources\x86\
readme > multi-boot\sources\x64\
Then run > Multi-Boot-iso.cmd , if needing ISO
Otherwise just copy contents of "Multi-Boot" Folder to Active USB
« Last Edit: January 15, 2017, 02:02:11 AM by KYHI »

Re: WinPE 10 x32 + x64 ...
« Reply #7 on: January 15, 2017, 05:32:44 AM »

Momie0

  • Apprentice
  • *
  • Date Registered: Nov 2016
  • Posts: 8
 :thumbsup: Thank you for all these details and your patience.
But that only works for Wims and so Microsoft type PE, right?
Because everything is "encapsulating" in the Wim.
But I would like to do it for Winbuilder PE or where the directories are at the root of the USB stick? @ +.

Re: WinPE 10 x32 + x64 ...
« Reply #8 on: January 15, 2017, 06:02:29 AM »

KYHI

  • Code Baker
  • Sr. Chef
  • ****
  • Location: Kentucky
  • Date Registered: Jan 2015
  • Posts: 909
then you would have to make sure every > x64 Y:\Program File\ProgramFolder

is sorted by arch _x64 > Y:\Program File\ProgramFolder_x64

Otherwise shortcuts could call x64 program.exe in x86 Boot type

Better off just using x86 Y:\ Drive Build

Seems really redundant to do dual-boot Fully Portable (Writable) PE

x64 files are larger and require more memory.. And you can not run x64.exe(s) on x86 host..

So, I personally see no benefit in creating such dual-boot version...

BCD Boot files are the same though - But, you would have to manually copy over the "program files & other etc." to USB root drive

or you could configure Y:\Drive to prepare and refer to > Y:\x64\Program Files and Y:\x86\Programs Files (although again some redundant program files on usb)

Happy Testing..
Enjoy!
KYHI



« Last Edit: January 15, 2017, 06:27:10 AM by KYHI »

Re: WinPE 10 x32 + x64 ...
« Reply #9 on: January 15, 2017, 10:42:41 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7171
But I would like to do it for Winbuilder PE or where the directories are at the root of the USB stick? @
winbuilder can not do that.
and there is a "winbuilder PE" project which is out of current forum.

ONLY The Projects (All SE+Gena) you will find here at http://theoven.org forum are already designed to fit such goal,
 Plugins on our servers designed that way to avoid redundancy maximum possible.

This design principal also valid for multi boot iso
http://theoven.org/index.php?topic=1979

This gains huge space on usb/cd etc for MultiBoot goals.  :thumbsup: :thumbsup:


Shortly:
Following topic,
 You can make very same build of Win10PESEx64 and Win10PESEx86 (by only changing source)
 with the plugins you select,
   and you can copy result (overwrite) to usb
    and after you make usb multi bootable following instructions on current topic,
      all will work fine with apps on usb.   :great:

Spend some time, you will figure out easily,
 since all designed that way things will fit when you spend some time and play on them.


Personally:
I do not use that method,
 usb sticks are cheap and I am fine to have 2 bootable ready usb sticks at hand.
    Still, I support the idea, develop & maintain plugins with this design.  :thumbsup:

:turtle:
« Last Edit: January 15, 2017, 10:44:04 PM by Lancelot »

Re: WinPE 10 x32 + x64 ...
« Reply #10 on: January 17, 2017, 11:46:48 PM »

Momie0

  • Apprentice
  • *
  • Date Registered: Nov 2016
  • Posts: 8
Hello,
Thanks for all the answers ...
Good day to you. @ +  :thumbsup:

Re: WinPE 10 x32 + x64 ...
« Reply #11 on: March 04, 2017, 08:24:53 AM »

victorka

  • Apprentice
  • *
  • Date Registered: Mar 2017
  • Posts: 1
Hello!

I am very interesting in this problem. could you please send me THIS plugin : Multi-Boot > Multi-Arch > AIO WinPESE Plugin.

This help will be very appreciated.

Thanks in advance , Viktor

 

Powered by EzPortal