The video above shows how to UEFI-boot using a .imgPTN file.
agFM is new for 2020 - UEFI-boot directly from ISOs (no need for .imgPTN files)!
With the new agFM, you can UEFI-boot and then directly boot from ISO, VHD and WIM files using a1ive's grub2 File Manager! No need to create .imgPTN files for most payloads.
UEFI-booting using a .imgPTN file
- You cannot directly UEFI-boot to the E2B Menu system (but you can UEFI-boot to the agFM menu system on partition 2).
- .imgPTN files are recommended when booting from all-in-one ISOs such as Strelec/Hirens, etc. or when UEFI Secure Boot is required.
- You can UEFI-boot AFTER an .imgPTN file has been 'switched-in' and the E2B partition is replaced or you can UEFI-boot to a FAT32 partition 2 if you add one.
- You can add rEFInd into a .imgPTN image file when you make it, which will allow you to boot (for instance) to a WinPE OS on a different partition and run SWITCH_E2B to choose a different .imgPTN boot file (E2B v1.B0+) - see here for more details.
- You can replace Partition 2 on the E2B drive with a FAT32 partition containing UEFI WinPE boot files. This will allow you to UEFI-boot to WinPE from the E2B drive and select any .imgPTN23 or .imgPTNX4 file you want to run without needing to MBR-boot first - but you may not be able to MBR\Legacy-boot the E2B drive on some systems - see here for more details.
The Utilities - Memory Test menu in E2B contains a ready-made .imgPTN of MemTest86.
It supports MBR and Secure-mode UEFI booting for 64-bit and 32-bit systems.
You then copy the .imgPTN file (which is an image of a partition) to the E2B USB drive. All partition images must be made contiguous. The .imgPTN image file will then be 'switched-in' to completely replace the E2B partition with a new FAT32 partition. You can then UEFI-boot (or MBR-boot) to the new payload files on the new 'switched-in' FAT32 partition.
The E2B drive will now contain a completely different partition which will contain your EFI files.
If you have booted using QEMU, you may need to unplug and re-connect the USB drive before Explorer will show you the new partition contents.
Tip: If you want the 2nd and 3rd Primary partitions on the E2B drive to be kept, use the file extension .imgPTN23 instead of .imgPTN. Most E2B drives do not contain a 3rd partition however.
Other methods of UEFI-booting
1. Use Easy2Boot v2 with agFM
When you make a E2B v2 USB drive, you will be asked if you want to add the agFM UEFI boot files to the second FAT32 partition. This adds the a1ive grub2 File Manager (agFM) UEFI boot files to the E2B USB drive. agFM allows you to UEFI-boot from the E2B drive and then directly boot from the ISO/VHD/WIM/EFI files that are in the E2B first partition. If required, agFM can also 'switch-in' any .imgPTN files you have (change the extension to .imgPTN23 for best compatability).
2. Use the E2B grub2 menu system (mainly for linux payloads) - deprecated/obsolete
3. Add the UEFI boot files directly onto the E2B drive (not recommended)
WARNING: Adding the UEFI boot add-on may prevent some systems from booting to the E2B menu!
For this reason, I strongly recommend you use separate .imgPTN files for each UEFI payload and do not use this method.
Recommended for Easy2Boot (fastest flash drive!)
SanDisk Extreme SDCZ880-128G-G46
Fastest USB 3!
See Blog post