How to convert a VHD/VHDX to VMDK for VMware Workstation

By | April 13, 2016

When you have a disk image in VHD or VHDX format and want to use it in VMware Workstation, you may find that VMware does not provide any support for these formats. There are some conversion tools on Internet, but you are not sure if they are safe to use.

The solution here is to use Windows Disk Management with VMware Workstation, plus a Ubuntu Live CD ISO image file.

First, open Windows Disk Management and attach VHD as a disk.


Select the VHD or VHDX file and a new disk shows up in Disk Management.


Next, create a VM in VMware Workstation. Add the first hard disk by creating a new virtual disk. The size of the disk should be the same as the one in VHD. Then add the next hard disk by using a physical disk. Select the physical drive from VHD.


Then add a CD/DVD drive with Ubuntu Live CD ISO image file.


Power on the VM and make sure it boots up with Ubuntu Live CD.


Use “Try Ubuntu” to run it from CD. Once the desktop shows up, open xterm. Use the following command to list connected disks.

The hard disks may show up as /dev/sda and /dev/sdb. Try to identify which is the source disk and which is the target disk. Usually the order is the same as how they are configured in Virtual Machine Settings. For example, /dev/sdb is the physical drive from the attached VHD and /dev/sda is the one fome the VMDK file. To clone /dev/sdb to /dev/sda, use the following command.

Once the command completes, power off the VM and then detach the VHD in Disk Management. The VMDK file is avaiable in the VM directory.

Leave a Reply

Your email address will not be published. Required fields are marked *