VMDK is VMware’s disk format, QCOW2 is the one Proxmox uses on file-based storage, and converting between them is a single command. The conversion itself is the easy part — qemu-img or qm importdisk does it in one line. What actually decides whether the migrated VM boots is everything around the disk: which controller you attach it to, whether the firmware matches, and whether the guest has the drivers it needs.
This guide covers both conversion paths and the boot work that follows. You’ll see when to use qemu-img convert for a standalone file versus qm importdisk to convert and import in one step, how to attach the disk so the guest actually boots, and the gotchas that turn a clean conversion into a black screen. Steps target Proxmox VE 8.x.
If you’re migrating whole VMs off VMware rather than just converting a disk, the broader workflow — including the built-in ESXi import wizard — is in migrating VMware VMs to Proxmox. This article focuses on the disk conversion itself.
Power the source VM off first
Before anything: shut the source VM down cleanly. A VMDK copied from a running machine is inconsistent, and a converted disk from a live snapshot can carry filesystem damage you’ll spend hours chasing. Power off, then convert. The conversion only needs the static disk file, not a running VM.
If the source VM has snapshots, collapse them in VMware before exporting, so you’re converting a single consistent disk rather than a chain of delta files.
Decide: convert manually, or let importdisk do it
There are two paths, and picking the right one saves effort.
qemu-img convert vs qm importdisk
| qemu-img convert | Low-level tool. Produces a qcow2 file you then place and attach yourself. Use it to stage a file, convert on another machine, or when you specifically want a qcow2 on disk. |
|---|---|
| qm importdisk | Proxmox wrapper. Converts the VMDK and imports it into an existing VM on your chosen storage in one step, picking the right format automatically. Use it for a normal migration. |
For a straightforward migration into Proxmox, qm importdisk is less work and gets the format right for your storage automatically. Reach for qemu-img when you need the raw conversion on its own.
Path A: Convert with qemu-img
Get the VMDK onto the Proxmox host first — scp it to a directory you can reach, for example /var/lib/vz/import/. Then convert:
# convert a VMDK to QCOW2
qemu-img convert -f vmdk -O qcow2 web01.vmdk web01.qcow2
The flags are straightforward: -f vmdk is the input format, -O qcow2 is the output format, then the source and destination filenames. For a large disk this takes a while and is I/O-bound, so run it where there’s fast local storage.
Check the result before you trust it:
# inspect the converted image — format, virtual size, actual size
qemu-img info web01.qcow2
qemu-img info confirms the output is a valid qcow2 and shows the virtual size (what the guest sees) versus the actual size on disk (qcow2 is thin, so this is smaller).
Once you have the qcow2 (or raw) file, you still need to attach it to a VM. Create an empty VM in the GUI (matching the source’s OS type, memory, CPU, and firmware), note its VMID, then bring the disk in — covered in the attach section below.
Path B: Convert and import with qm importdisk
This is the path most migrations should take. Create the target VM shell first in the GUI — set the OS type, memory, CPU, and crucially the firmware to match the source — and note its VMID. Then import the VMDK straight in:
# import a VMDK into existing VM 200, converting into 'local-lvm' storage
qm importdisk 200 /var/lib/vz/import/web01.vmdk local-lvm
qm importdisk reads the VMDK, converts it, and writes it into the target storage in that storage’s native format — a raw volume on LVM-Thin or ZFS, or qcow2 on a directory store. No manual format choice, no separate attach copy. When it finishes, the disk shows up in the VM’s Hardware tab as an Unused Disk.
Attach the disk and choose the controller
Whichever path you took, the converted disk now needs attaching to the VM with the right controller — and this is the decision that makes or breaks the first boot.
Open the VM’s Hardware tab. If you used qm importdisk, the disk is listed as Unused Disk 0; double-click it to attach. If you converted with qemu-img to a directory storage, you may need to place the file where Proxmox expects it or import it, then attach.
Disk controller choice at first boot
| SATA or IDE | Universally bootable. Windows and Linux both have built-in drivers, so the migrated guest boots without prep. Slower, but it gets you in the door. |
|---|---|
| VirtIO SCSI | The fast paravirtualized controller you want long-term. Needs the VirtIO driver in the guest first, or Windows bluescreens on boot. |
For a Windows guest, attach the disk as SATA for the first boot, get Windows running, install the VirtIO drivers from inside it, then switch the controller to VirtIO SCSI and reboot. For a modern Linux guest, VirtIO works immediately because the drivers ship in the kernel.
Match the firmware and boot order
Two more settings separate “the disk is attached” from “the VM boots.”
Firmware. In the VM’s Options → BIOS, match the source VM. A VMware guest that used EFI firmware needs OVMF (UEFI) in Proxmox with an EFI disk added; a BIOS guest stays on the default SeaBIOS. Mismatch this and the disk imports perfectly but the firmware never finds the bootloader — you’ll land at a UEFI shell or a no-bootable-device message.
Boot order. After attaching the real disk, check Options → Boot Order and make sure the converted disk is enabled and first. A disk that isn’t ticked in the boot order won’t be booted from, which looks like a failed conversion but isn’t.
Quick reference
The whole job, condensed:
VMDK to QCOW2, start to boot
- Power the source VM off; collapse any snapshots in VMware
- Copy the descriptor VMDK to the Proxmox host
- Convert: qemu-img convert -f vmdk -O qcow2 (or use qm importdisk)
- Create the target VM with firmware matching the source
- Attach the disk — SATA first for Windows, VirtIO SCSI for Linux
- Set boot order to the disk; install VirtIO drivers on Windows, then switch to VirtIO
The commands you’ll actually use most:
# manual conversion to qcow2
qemu-img convert -f vmdk -O qcow2 web01.vmdk web01.qcow2
# verify the result
qemu-img info web01.qcow2
# or convert + import into VM 200 on local-lvm in one step
qm importdisk 200 web01.vmdk local-lvm
Wrapping up
Converting VMDK to QCOW2 is a one-line job; making the converted VM boot is where the real work is. Let qm importdisk handle the conversion into the right format for your storage when you can, reach for qemu-img convert when you need a standalone file, and remember that a disk that won’t boot is nearly always a controller or firmware mismatch — not a failed conversion.
For the end-to-end VMware migration, including exporting OVF and the VirtIO driver steps, see migrating VMware VMs to Proxmox. To choose the right target storage format before you import, LVM vs LVM-Thin vs ZFS explains when you want raw versus qcow2, and once the VM is running, back it up before retiring the VMware copy. For more walkthroughs, browse the Proxmox guides.