I want to share with you the procedure to create a Combo USB 3.0 stick (I used a fast 32 GB MicroSD + a USB 3.0 adapter) with UEFI_MULTI + Wimboot VHDs + agFM + E2B, with the hope it can be of some use for some of you, info to also add AIO Boot is available on post No. 2:
It is better to make all this procedure on Win10 since from version 1703 it is capable to handle multipartitioned USB sticks.
1.- Download last version de E2B (from steve6375 site) and install it on a spare USB device, and DO NOT add any other files yet, for info and download see: http://reboot.pro/to...e-3#entry213991
2.- Make a copy of all content into your E2B NTFS partition on a folder (named E2B) on your internal HD, you may also delete grldr file since it will no longer be required.
3.- Delete all partitions on the USB you are going to use for this procedure, (format it as MBR) and create a first Primary active partition FAT-32 (I used UEFI_MULTI as label for it) of 1 GB minimum (just in case), or bigger if you also want to include AIO Boot too, (see info on following post), a second primary FAT-32 100 MB partition (labeled AGFM) and a third primary partition NTFS of the remaining size of your USB device (Its label is E2B-NTFS).
4.- Copy all content of folder named E2B to your E2B-NTFS partition.
5.- Download last version of agFM_download_files.zip (from steve6375 site) and expand it on a folder on your internal HD and latter copy all content of the folder to AGFM partition (this is to avoid fragmentation), for info and download see: http://reboot.pro/to...e-3#entry213991
6.- Copy/move grub_filemanager.mnu from AGFM partition to E2B-NTFS partition >>> _ISO\MAINMENU folder.
7.- Copy to E2B-NTFS partition >>> _ISO\WINPE all your WIM files and they will be available to boot from E2B, or optionaly (as I did to avoid E2B complain about the version of bootmgr when booting them), create on the root of E2B-NTFS a folder named WinPE and copy there your WIM files and boot them directly from Windows bootmanager.
8.- Download UEFI_MULTI (from wimb) and once expanded on a folder on your HD, run it and select E2B-NTFS volume as System Drive and UEFI_MULTI volume as Boot Drive, select the location on E2B-NTFS of your desired WIM file and follow the instructions of the program, once it finish all files and folders required to boot it will be created into UEFI_MULTI partition, repeat this procedure for all the WIM files you want to boot directly from Windows bootmanager (on Bios Legacy and UEFI).
9.- On UEFI_MULTI partition open file menu.lst and before this line: " iftitle [ls (hd0,0)/images] ISO Linux Menu - (hd0,0)/images ", add the following lines:
Suggested addition to menu.lst
You are free to edit according to your needs. Also attached a file with the autorun.inf and the .ico I used for this partition.
10.- Download and expand VHD_WIMBOOT (from wimb), a PDF file with instructions is included on download, and create your Wimboot VHD(s) on E2B-NTFS partition, all required editions/additions/changes to Bios legacy and UEFI BCDs (located on the UEFI_MULTI partition and also into the Wimboot VHD itself) will be created automatically, additionally the entry on menu.lst to Ramboot the VHD also will be created, but it is better to verify and modify it, if required, since on this case we are using a USB device with 3 partitions.
11.- Now you can add on E2B-NTFS partition >>> _ISO subfolders your desired Widows and Linux Isos, or Wim files, under its respective subfolder as usual.
12.- As there are some buggy versions of grub4dos 0.46a I replaced on UEFI_MULTI grldr and grldr.mbr with those from version 2019-09-09 (last good known) to avoid issues about non contiguous files.
Booting the USB device - If you reboot from your USB device and press F7, F8 or F9, etc (I have at home PCs with all the tree mentioned) in acordance with your MB manufacturer the Overwrite Boot Menu will appear, if the firmware of the PC is/has UEFI active your USB device will appear twice, the first USB UEFI option (from top to bottom of the list) should be to boot from UEFI_MULTI and the other to boot from AGFM partition. On Bios-Legacy/MBR PCs and also on UEFI PCs when CSM is active you will see an option to boot your USB device (as Bios Legacy) without the word UEFI on it.
NOTE: It is very possible with this layout some of E2B features may not work, I can't tell you wich featues don't work as I never rename the .iso extensions or use Image Partitions, or changed partitions order because I usually don't like to do it. But since the fourth (hd0,3) partition is not in use I assume Partnew can be used if required.
I'm not able to test wich E2B featues don't work, as for OS installs I use WinNTSetup because it gives me many more useful options (then there is no need to use Image Partitions), and also have several other compressed self extractable programs I run using PStart located on the root of the USB first partition, available to all WinPE WIMs and VHDs, for more info about portables, see this thread: Free portable programs executable from PE.
EDIT-1: See post No. 18 for useful links to handle multipartitioned devices on OS versions older than Win10 v1703: http://reboot.pro/to...al/#entry214092
Edit-2: See post No.19 for a link to an alternative procedure developed by wimb, wich makes possible to do all this in only two partitions, and my comments after testing it.