Wiki Home Boot image Create EFI partition on image
Create EFI partition on 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
- Mount the VHD image using:
Open Powershell to run the command below
Mount-DiskImage -ImagePath "C:\Path\YourDisk.vhd" - Or you can use CCBoot mount function: https://www.ccboot.com/wikis-mount-unmount-image.htm
- Open diskpart and check the mounted disk:
Diskpart
list disk - Select the VHD disk and create an EFI partition:
select disk X
convert gpt
shrink desired=100
create partition efi size=100
format quick fs=fat32 label="SYSTEM"
assign letter=S
exit - Verify the Windows partition inside the VHD is mounted and note its drive letter (for example C:).
- Copy EFI boot files using:
bcdboot C:\Windows /s S: /f UEFI - Open the S: drive and check that it contains the folders:
EFI\Boot\bootx64.efi
EFI\Microsoft\Boot - Dismount the image when done:
Dismount-DiskImage -ImagePath "C:\Path\YourDisk.vhd" - Or you can use CCBoot dismount function:
https://www.ccboot.com/wikis-mount-unmount-image.htm - The VHD now includes an EFI System Partition and can boot in UEFI mode through Hyper-V, VMware, or a UEFI system.