Note: The official Ventoy v1.0.28 (2020-11-13) and later versions have been deliberately prevented from running on an E2B USB drive by the developer - so the latest official version of Ventoy that can be added is Ventoy v1.0.27 by using the Alternative Method detailed below. See my blog for more details.
You should add the latest 'Ventoy for Easy2Boot' version. This version has been slightly modified to run on E2B USB drives and requires agFM v1.66 or later.
Instead of using the E2B version, you can compile your own version of 'Ventoy for Easy2Boot' by following the guide here.
Ventoy is a grub2-based menu system for MBR\Legacy and UEFI booting of ISOs, etc. similar to agFM.
You can add Ventoy to your E2B+agFM USB drive for both MBR\Legacy+UEFI32+UEFI64 and Secure UEFI64 booting.
By adding Ventoy to E2B+agFM it allows us to Secure UEFI64-boot to Ventoy via agFM - Mok Manager is not required for Secure Boot if we first boot to agFM.
Ventoy only enumerates files that are in the first partition. You must use standard file extensions only (e.g. .iso, .vhd).
Ventoy is particularly good at booting WinPE-based ISOs because it can inject code into WinPE to mount the original ISO as a DVD drive - e.g. drive Y:. This means that all the programs and Desktop icons should work correctly even if the ISO does not support the WinBuilder .ini file method of loading the ISO as a DVD drive. Ventoy may not be suitable if your system has limited RAM or you are booting very large ISO files.
Note: Testing Ventoy using a Virtual Machine can be unreliable - always test using a real system if a payload fails under VirtualBox or VMWare (esp. if testing a Windows based payload or UEFI-booting).
'Ventoy for Easy2Boot' v1.0.32 and later supports Legacy, UEFI32 and UEFI64 (use agFM v1.69 or later).
To add the current release of 'Ventoy for Easy2Boot'
First - you must update the E2B USB drive to agFM v1.66 or later using \eb2\Update agFM\Download and update agFM_v2.cmd.
Or update to the latest Beta of agFM (if available) by extracting the files from the .zip file directly to the root of the second partition of the E2B USB drive.
The 'Ventoy for Easy2Boot' version is an unofficial 'fork' of Ventoy which has been patched and recompiled to work on an E2B USB drive.
To download and add this E2B version of Ventoy, go to the second partition where the agFM EFI boot files are located and double-click on the file on Partition 2 at:
Internet access is required. The .cmd script will access the E2B server, download a zip file, extract the files and then copy the Ventoy boot files to partition #2 of the USB drive.
Note: agFM version 1.66 or later is required.
If you are using the standard agFM theme, then the F5 hotkey in the agFM menu system will launch Ventoy. If you Legacy boot to the E2B Main Menu, then you can select the Ventoy menu entry which will boot from the /ventoy/core.img file on partition 2.
Note: When booting, Ventoy enumerates ALL files in Partition 1 - so you must allow enough time for this! You can configure Ventoy to ignore certain folders and thus reduce the menu load time.
Alternative method to add Ventoy
Windows 10 is required if you are using an E2B USB Flash drive because only Win10 (recent versions) can access Partition 2 of a flash drive.
You can add or change the version of Ventoy as follows:
Update your E2B+agFM USB drive to E2B v2.06 or later and update to agFM v1.66 or later.
Download an official Ventoy Windows .zip file from the Ventoy depository (v1.0.27 is the last unblocked version - later versions of Ventoy will not run from an E2B USB drive unless they are the E2B version!). You can instead download any 'Ventoy for Easy2Boot' zip file from the E2B Alternate Downloads archives (recommended).
Drag-and-drop the Ventoy .zip file onto the \e2b\Update agFM\Add_Ventoy.cmd file on your E2B drive (in the agFM partition 2).
If you have downloaded an 'official' Ventoy zip file - The latest Ventoy (blocked) version of core.img is fetched from the Ventoy server. This will not work when Legacy booting is tested. An older (unblocked) version of core.img file will be needed. You can directly download an older (unblocked) version of core.img from here for use with Ventoy v1.0.28 and later. The core.img file should be extracted and placed in the \ventoy folder on Partition 2 to support MBR\Legacy booting from the E2B Main menu. The file \ventoy\core.img is not present inside the official Ventoy .zip file but it is required for MBR\Legacy booting via the E2B menu system.
If you are not online, you can download the current core.img file from https://github.com/ventoy/Ventoy/blob/master/INSTALL/grub/i386-pc/core.img and add it to the agFM Partition 2 \ventoy folder. You can directly download an older (unblocked) version of core.img from here. The core.img file should be extracted from this .zip file and replace the existing core.img in the \ventoy folder on Partition 2 to support MBR\Legacy booting (even if Legacy Ventoy v1.0.28 or later).
Windows XP/7/8 users can first switch to the 2nd partition (using Switch_E2B.exe - 'Access partition 2 on Removable drive' button) and then drag-and-drop the downloaded Ventoy .zip file onto the \e2b\Update agFM\Add_Ventoy.cmd file. Don't forget to switch back partitions 1 and 2 afterwards using the same button in Switch_E2B.exe!
Instructions for using Ventoy and for modifying the Ventoy menu system are on the Ventoy website.
User configuration file (ventoy.json)
Create a new \ventoy\ventoy.json on the first partition of the E2B USB drive to configure Ventoy.
linux (microncd)/boot/vmlinuz64 libata.allow_tpm=1 quiet base loglevel=3 waitusb=10 superuser mse-iso rssd-fw-update rssd-fwdir=/opt/firmware rssd-force-update
Comparison agFM v. Ventoy
Switch in .imgPTN files
Boot WinBuilder WinPE ISOs
Easy selection of XML files for Windows Install ISOs
Secure UEFI64 boot
only via Mok Manager*
Files can contain spaces
Generic method of booting of Linux ISOs
Use specific file extension to boot in different way
USER MENU + TREE
ONE BIG LIST +
Boot DOS images
Secure UEFI64-boot non-secure payloads
USB drive can be write-protected
ISO boot speed
Password protect ISOs
* If you first Secure UEFI64-boot to agFM then you can boot to Ventoy without needing to use Mok Manager.
Ventoy special features
Ventoy has some special features, for example:
Full GPT partition style support
Contiguous files not needed
Auto installation for Linux distros
Directly boot for whole FreeBSD series
Boot configuration file dynamically replacement
Injection files for Windows and Linux (ideal for WinPE ISOs)
Boot configuration file dynamically replacement
Driver update disk support
agFM special features
agFM also supports different languages and keyboard types.
E2B+agFM also supports SDI_CHOCO automated Windows install from ISO, UtilMan Hack, MemTest86, etc.
.imgPTN Partition Image files supported
If you find a bug with agFM or E2B or 'Ventoy for Easy2Boot', please contact me, however, if you find the same bug when using an 'official' Ventoy USB drive (not an E2B drive!), please contact ventoy.net.