Migrating Windows VHDs to Proxmox
In this example I’m using a ZFS based datastore. To convert the VHD files to raw, I’m going to import and convert the VHD with the help of the following command. Before running the following command, a blank VM needs to be created first.
qm importdisk $VMID /path/to/vhd datastore Alternatively you can use qemu-img directly on the Proxmox host, to convert the VHD to .raw or .qcow2. I’m not going to do it this way tho, but you can go this route.