Converting IMG to VMDK with QEMU
Installation:
- Install QEMU https://qemu.weilnetz.de/w64/.
- Choose Start > Computer and right-click Properties.
- Click Advanced system settings.
- In the System Properties dialog box, click Advanced > Environment Variables.
- In the Environment Variables dialog box, search for Path in the System Variable area and click Edit. Add the installation path from QEMU (example: C:\Program Files\qemu to Variable Value). Use semicolons (;) to separate variable values.
Commands:
Save img into the QEMU folder (commands are easier) and open the QEMU folder in CMD → as Admin!
IMG to VMDK
c:\Program Files\qemu\>qemu-img convert -p -f raw -O vmdk xx.img xx.vmdk
VMDK to IMG
c:\Program Files\qemu\>qemu-img convert -p -f vmdk -O raw xx.vmdk xx.img
