UEFI - Adding Windows 7/8/10 which have >4GB Install.wim/Install.esd files
New for 2020:Use the a1ive grub2 File Manager (agFM) to Secure UEFI-boot to large or small Windows ISOs.See here for details.
The special instructions below do not need to be followed unless the .wim or .esd is over 4GB in size and you need to UEFI-boot.
The E2B USB drive must be formatted as NTFS in order to hold .imgPTN files of a size greater than 4GB.
For UEFI-booting (from all systems), the .imgPTN file on the E2B drive must be internally formatted as FAT32. Some systems will UEFI-boot from an NTFS partition but many systems will only boot from a FAT32 volume, so always use MPI_FAT32 if you want to UEFI-boot from a .imgPTN file.
Removable E2B Flash drives
Fixed-disk E2B drives
- Place ISOs in \_ISO\WINDOWS\xxx folders (MBR booting only - needs a Helper Flash drive)
- Make FAT32 .imgPTN files using MakePartImage and place them in the \_ISO\MAINMENU or \_ISO\WIN folder (supports UEFI and MBR booting)
- Place ISOs in \_ISO\WINDOWS\xxx folders (MBR booting only - needs a Helper Flash drive if using a USB HDD) - E2B drive must be formatted as NTFS (or exFAT)
- Split the install.wim file and make a FAT32 .imgPTN file (see Method 1 below) (supports UEFI and MBR booting)
- Make two image files, one FAT32 and the other NTFS (see Methods 2/3/4 below) (supports UEFI and MBR booting)
- Add a second FAT32 partition to your E2B USB drive and use one NTFS .imgPTN file (Method 5)
You can UEFI-boot directly from the MBR\CSM menu by using the Clover boot option in the CSM menu - no need to reboot and select the 'BIOS' UEFI USB boot option. However, some systems may crash when loading Clover.
Try improving the WIM file compression
dism /export-image /sourceimagefile:install.wim.org /sourceindex:1 /destinationimagefile:install.wim /compress:recovery
Use WinNTSetup instead?
UEFI booting - How to add Windows 7/8/10 installers with >4GB install.wim files
Note: Methods 1, 4 and 5 can be used if E2B is on a Removable USB Flash drive or Fixed Disk type.
Methods 2 and 3 are for Fixed Disk USB drives only because the 2nd partition will not be accessible to Windows (unless recent Win10 is used).
Method 5 requires you to add a 2nd FAT32 partition to your E2B USB drive - Removable or Fixed Disk type (it can be used for file storage or other purposes at the same time)
Please note: Many UEFI systems will not list the E2B drive in the UEFI boot list if it contains more than one partition, therefore using two partition images (Methods 2-5) may not work on every type of system!
Method 1 - FAT32 single-partition using split wim files (Fixed or Removable - *RECOMMENDED*)
- Download and install the latest MPI Tool Kit onto your Windows system
- You MUST run Split_WinISO.exe from the MPI folder (same folder as MakePartImage.cmd) and click on the ISO button to select a Windows Installer ISO file.
- Check that at least one WIM or ESD file is listed. You can use the 'View' button to see the contents of the Install.wim file.
- Leave the SPLIT SIZE (MB) field as 4000 (it may be less than 4000 if the ISO does not require splitting).
- Click on the 4 CONVERT button (the MPI button will not split the wim\esd file - only use the MPI button if <4GB files present).
- Answer the questions - choose FAT32 (not NTFS)
- Be sure to enter the FULL PATH for the new .imgPTN file when prompted.
Alternative methods to split a large .wim\.esd file
If you have a install.esd file, you can convert it to a .WIM file and then split the WIM file.
See here for a script that will convert the .esd file to a single large .wim file using DISM (all images inside the .esd are converted).Use WinToolKit or DISM to split the file - DISM /Split-Image /ImageFile:d:\temp\sources\install.wim /SWMFile:d:\temp\sources\install.swm /FileSize:30001. Extract all files from ISO to empty temp folder2. Convert install.esd to install.wim using script3. Split install.wim to install.swm and install2.swm (choose 3GB max size)4. Replace install.esd with install.swm and install2.swm (in same folder)5. Drag-and-drop temp folder onto MPI_FAT32 shortcut to make .imgPTN file
Method 2 - using two partitions (Fixed-disk E2B drives only or later Win10 versions)
- Can UEFI boot via BIOS
- Can UEFI boot via Clover
- Can MBR boot via BIOS
Method 3 - using two partitions and Clover (1st Ptn = FAT32) (Fixed-disk E2B USB only)
- Can UEFI boot via system firmware to UEFI files on 1st ptn only (if any EFI files present instead of EFI_TOGO - e.g. memtest86)
- Can UEFI boot via MBR and Clover to 32-bit and 64-bit NTFS partition
- Can boot via UEFI firmware to EFI boot files NTFS partition if EFI_TOGO used on FAT32 partition.
- Can MBR boot to 1st ptn payload
- Can MBR boot to bootmgr and Windows installer on 2nd ptn
Method 4 - using NTFS+FAT32 partitions and Clover (NTFS Fixed or Removable E2B drive) UEFI-boot, Clover and MBR boot
EFI_TOGO (see below) will allow a system to UEFI-boot from the NTFS partition as it contains EFI NTFS drivers - however, some UEFI-BIOSes will not list the drive as UEFI-bootable in the boot menu list unless the .IMGPTN file is positioned before the FAT32 file on the E2B drive!
EFI_TOGO can be also downloaded from the E2B Alternate Download - Other files area. It supports 32-bit and 64-bit UEFI systems.If you use an empty folder for the FAT32 partition, then it will not be capable of booting via a UEFI system (only by MBR booting + Clover -> UEFI Windows). An alternative is to use E2B_UEFI_BOOT_ADDON_NTFS64 - this boots to rEFInd UEFI boot manager + NTFS driver - from there you can boot to any EFI boot file present on the disk via rEFInd icon menu (press ENTER if 'map error') - 64-bit UEFI only.
- for MBR-booting - boot to the NTFS partition directly (CSM Menu)
- for UEFI-booting via Clover - MBR boot to the CSM menu and run Clover which will then UEFI-boot
- for UEFI-booting from system firmware - pick the UEFI boot option (if your UEFI BIOS lists your drive in the boot list - not all do!)
Note however that Windows 8.1 ToGo and Win10ToGo do not boot from a removable drive (unless you use a VHD file to hold the image or use Win10 1607+).
Method 5 - Add a 2nd FAT32 partition to your E2B drive (Fixed or Removable E2B drive - may not work on all systems)
WARNING: The big disadvantage with this method, is that you may not be able to MBR-boot to the E2B or CSM menu on some systems! This is because some systems will just give a UEFI boot option if a valid UEFI boot file is present but will not present you with an MBR boot option. If this happens, I suggest you temporarily rename the \EFI folder in order to be able to boot to E2B on that system.
PTN1: NTFS E2B
PTN2: FAT32 300MB or larger (it can be FAT instead of FAT32 if you want it to be smaller)
You can use Easeus Home Paritition Master for this (it can make mulltiple partitions on Removable USB drives). Be careful to avoid the extra PUPs when you install it!
2. Copy Pete Batard's UEFI:NTFS files to the FAT32 partition (can be downloaded as EFI_TO GO_V3).
We can now add large Windows Install AIO files as follows:
1. Drag-and-drop the source ISO or folder onto the MPI_NTFS Desktop shortcut to make a .imgPTN file.
2. Copy the .imgPTN file to the E2B USB drive (e.g. the \_ISO\WINDOWS\WIN8 folder or \_ISO\MAINMENU, etc.)
3. Rename the file to use a .imgPTNLBAa23 file extension.
Now you can switch to the .imgPTNLBAa23 file (using the E2B menu or Switch_E2B) and then MBR (if the BIOS gives you that option) or UEFI-boot.
We don't need to use two .imgPTN files because the last partition will always be the UEFI boot file partition so we have no 'partition order' problem.
Recommended for Easy2Boot (fastest flash drive!)
SanDisk Extreme SDCZ880-128G-G46
Fastest USB 3!
See Blog post