
.VHD and .WIM files
Recent E2B versions can directly MBR-boot from certain types of .WIM, .VHD and VHDX files.
- Use 'Fixed-size' VHDs - dynamic VHD\VHDX files (as made by SysInternals Disk2vhd.exe) and BitLocker VHDs are not supported (use a .imgPTN file instead). Dynamic VHDs may work, however the E2B USB drive must have enough free space (e.g. a 10GB dynamic VHD which has an expanded size of 30GB will need 20GB of free space on the E2B drive or the boot will fail). Dynamic VHD/VHDX files are prone to corruption and are not recommended.
- XP-based .WIM files are not supported.
- MBR-booting only (see below for UEFI).
- VHDs should have a single partition.
- Copy them to a menu folder, e.g. \_ISO\WIN or \_ISO\WINPE (not \ISO\WINDOWS\xxxx folders).
- .WIM, .VHD files do not need to be contiguous (VHDX files must have a .VHD file extension)
- NT6-based WinPE/Vista/7/8/10 etc. (non-XP) fixed-type .WIM, .VHD and .VHDX files are supported.
- NT6-based dynamic VHDX files may work if given a .VHD file extension (must be enough free space on USB drive for expansion)
- For XP-based .VHD files (with Firadisk driver), change the extension to .VHDBOOT (also try .VHDFIRA).
- For 32-bit XP or Win7, try .VHDFIRA or .VHDBOOT file extension (depends on how VHD was made).
- If you have reliability problems with Windows 7 VHDs then convert them to a NTFS .imgPTN file and ensure that the .VHD, \bootmgr and \boot\BCD files are present inside the .imgPTN file. Use BootIce to configure the BCD if required.
- VHD's which first load grub4dos (look for \grldr file) - use .VHDGRLDR.
- Can be on the 2nd partition if you create a .mnu file.
- E2B v1.B5 and later allows for spaces in filenames and file extension suffixes (e.g. WinPE 10 (64-bit).wim64ncq).
If activation problems, try a different file extension or convert to .imgPTN file and add \bootmgr and \boot folders.
Note: A Windows 8.1 version of bootmgr is required to be in the \_ISO\e2b\grub\DPMS\NTBOOT.MOD folder (the Make_E2B.exe utility will try to add it automatically). E2B will warn you if it is missing or it is not a compatible version. You can obtain the correct version from inside a Microsoft Windows 8.1 installation ISO file. You can instead run "\_ISO\docs\Make_E2B_USB_Drive\Add_Bootmgr_to_E2B_drives.cmd" to add the correct version of bootmgr to your E2B drives (requires internet access).
Tip: Make a .txt file using \_ISO\TXT_Maker.exe for your .VHD or .WIM file - you can tick 'Only display if 64-bit' if it is a 64-bit OS so that it will not be listed in the E2B menu on 32-bit systems.
To set up a BitLocker Windows To Go MBR-boot OS, see here.
If the file is on the second E2B partition, create a .mnu file:
\_ISO\WIN\Win7Ult.mnu
iftitle [if exist (hd0,1)/Win7Ult.VHD] Windows 7 Ultimate VHD\nBoot to Windows 7 VHD
(bd)/%grub%/QRUN.g4b (hd0,1)/Win7Ult.VHD
boot
iftitle [if exist (hd0,1)/Win7Ult.VHD] Windows 7 Ultimate VHD\nBoot to Windows 7 VHD
(bd)/%grub%/QRUN.g4b (hd0,1)/Win7Ult.VHD
boot
UEFI+MBR booting
For UEFI-booting of VHD and WIM files, you must make a FAT32 .imgPTN file which contains all the required UEFI boot files and BCD file. A 2nd partition image can contain the large (>4GB) VHD or WIM file (on an NTFS partition).
Must use Fixed Disk USB drive (or later Win10 OS VHD/WIM which will work with either type)
1. Drag-and-drop a folder containing the UEFI boot files onto the MPI_FAT32 shortcut - name MyVHD.imgptn.
2. Drag-and-drop a folder containing the VHD file (or WIM file) onto the MPI_NTFS shortcut - name MyVHD.
3. Boot to E2B and select .imgPTN file (or use SWITCH_E2B.exe) - you will now see...
PTN1 - FAT32 containing the EFI folder and other Windows boot files, etc.
PTN3 - NTFS containing large VHD or WIM file.
PTN1 - FAT32 containing the EFI folder and other Windows boot files, etc.
PTN3 - NTFS containing large VHD or WIM file.
4. Use BootIce - BCD editor to configure BCD to load VHD\WIM on 2nd partition.
Note that for BitLocker encrypted VHDs, you must specify the exact drive and partition that the VHD file is located on (you can use the 'LOCATE') option. Also, if using BootIce, you must use v1.3.4 or later and click on the >>> button to ensure that the MBR: BitLocker option is set.
Note that for BitLocker encrypted VHDs, you must specify the exact drive and partition that the VHD file is located on (you can use the 'LOCATE') option. Also, if using BootIce, you must use v1.3.4 or later and click on the >>> button to ensure that the MBR: BitLocker option is set.
Recommended for Easy2Boot (fastest flash drive!)
SanDisk Extreme SDCZ880-128G-G46
- Home
- Start & Intro
- Quick Setup Guide >>>
- DOWNLOADS >>>
- YouTube videos
- Tutorials and How To's
-
Make a USB Drive >>>
- Make a multi-partition E2B USB drive using RMPrepUSB
- Use an existing USB HDD for E2B
- Use LINUX to make an E2B drive + defrag
- How to Update E2B
- How to make a WINHELPER USB Flash Drive (fix 'Required DVD drive driver is missing')
- Multiple partitions on a USB Flash drive
- Using other partitions or drives
- Backup/Restore/Copy (clone) any E2B USB drive
- Make and burn an E2B DVD
- Using E2B with a Zalman/IODD
- Add E2B to your own grub4dos USB drive
- How to remove E2B
- E2B Menu System
- UEFI booting from E2B
-
How to add Payload Files and Use E2B >>>
- Make files CONTIGUOUS
- File Extensions recognised by E2B
- UEFI+MBR and how to make .imgPTN files
- MakePartImage and how to change the CSM Menu
- UEFI-Multiboot and rEFInd
- Using SWITCH_E2B with .imgPTN files
- Using the \_ISO\AUTO folder
-
WINDOWS payloads >>
- E2B USB HDD - Installing Windows with a 'WinHelper' drive
- Windows XP Install ISOs
- Install XP 32-bit + disk drivers (DPMS)
- Windows XP 64-bit
- Install XP using WinPE (one step process)
- Add XP Install ISOs using WinSetupFromUSB
- Windows Vista/7 Install ISOs
- UEFI boot from Windows 7 Install ISOs
- Windows 8/10 Install ISOs
- Unattended Installs
- XMLtoE2B.exe (Unattend.XML files)
- Adding >4GB Windows Install ISOs using .imgPTN files
- Automating Windows Installs from .imgPTN files
- Split_WinISO
- Add Windows ISOs to partition 2
- Windows AIO ISOs
- WindowsToGo
- WinNTSetup
- WinLite10 XML files
- SDI_CHOCO (install drivers, apps and updates) >>
- .VHD and .WIM files
- PassPass (bypass the Windows Password)
- Hack Windows Account Passwords (UtilMan.exe)
- Windows 2000
- Windows 98
- Multipoint Server
- Add the latest XP drivers (DPMS)
- Add a Windows Install menu entry
- LINUX payloads >>
- MSDart ERD ISOs
- WinBuilder, Medicat, Gandalf and WinPE ISOs
- Hirens/Strelec/DLC/F4 ISOs
- DOS (MS-DOS and FreeDOS)
- HAIKU
- MAC OS X
- FreeBSD
- MOVE_IMGPTN
- List of tested ISOs\payloads (with instructions)
-
Configure E2B >>>
- Menu settings (quick reference)
- E2B Menu Demo
- E2B_Editor
- E2B files and folders explained
- MyE2B.cfg - E2B configuration file >>
- Change the payload menu entries and help text using a .txt file
- Change the order of the menu entries
- Change the background wallpaper
- Different background wallpaper for each menu
- Default Menu and Timeout
- Change the Language, Headings, Menu and text
- Changing the default E2B menu entry order
- 'Change File Extension' prompt (Auto-Suggest)
- Change the Keyboard Layout
- About .mnu files
- Sample .mnu files
- PimpMyDrive.cmd
- Reduce the E2B messages
- Add a new Sub-Menu folder
- Stamps, Animation and Tunes
- Draw lines and boxes on the screen
- Write text/time/date to the menu screen
- Global Hotkeys
- Themes (Skins)
- Fonts
- Speeding up E2B (inc. FASTLOAD)
- One Single Menu
- The E2B F1 Help menu
- Add your own Help Menu
- Add Help text files (.help)
- Add Windows Install ISOs to the Main Menu
- Change the Windows Install Menu
- Passwords and Security
- Hide Payloads and Menu Entries
- Guest Mode
- GFX Boot Menus
- Dual Booting
- Change the CSM .imgPTN Menu
- Configure Clover
- Right-to-Left Languages
- Create new language files
- How to modify LOADISO.CMD (Repair message)
- Count number of boots
- UEFI - useful things know!
-
FAQ, Info, TroubleShooting, QEMU and Virtual Machines >>>
- 'File Not Contiguous' and 'Too Many Fragments' Errors
- 137GB 'BAD BIOS' bug
- TroubleShooting E2B
- E2B Error Messages
- Grub4dos Error Numbers
- Common problems with payload files
- Repair a corrupt E2B drive
- Known Issues and Bugs
- Slow and buggy BIOSes
- How E2B Works
- QEMU and Virtual Machines >>
- Using VBOX with a WinHelper USB drive
- Debugging E2B
- CONTIG.ISO
- ISOBOOT
- WIMBOOT (iPXE)
- grub4dos
- Useful resources
- Removable v. Fixed
- Gallery
- Guestbook
- Forum
- Blog
- a1ive grub2 File Manager (MBR+UEFI)
- Add Ventoy
- Site Map
- eBooks
- Contact Me >>>
- Donate
- Licensing
- Privacy policy (GDPR)
- Bespoke design service
- Grub2 Menu System (UEFI_GRUB2_PTN2)