Wiki Home Boot image Convert image to EFI partition image

Convert image to EFI partition image

2025-11-02
efi, partition, image

The following explains how to create EFI partition in images some motherboards like Acer need EFI partition on image to boot successfully. Some motherboard like ACER need EFI partition image.

  1. Mount the VHD image in computer manager
  2. Download Partition Assistant and convert the MBR to GPT on the VHD disk
  3. Install and launch AOMEI Partition Assistant.
  4. Right-click the MBR VHD disk.
  5. Select "Convert to GPT Disk" from the context menu.
  6. Click "Apply" in the top-left corner to execute the operation.
  7. Click "Proceed" and then "Yes" to start the conversion.
  8. Open diskpart and check the mounted disk:
    Diskpart
    list disk
  9. Select the VHD disk and create an EFI partition:
    select disk X
    select partition 1
    shrink desired=100
    create partition efi size=100
    assign letter=S:
    format quick fs=fat32 label="SYSTEM"
    exit
  10. Check the drive letter of the mounted VHD (for example E:).
  11. Copy EFI boot files using:
    bcdboot E:\Windows /s S: /f UEFI
  12. Dismount the image when done
  13. The VHD now includes an EFI System Partition and can boot in UEFI mode through Hyper-V, VMware, or a UEFI system.

Related: