Migrate a Hyper-V VM to Proxmox
- Copy HyperV VHDX files to Proxmox host.
/root
will do - Create your VM in Proxmox with no disks to start with
- Next have qemu-img check the VHDX file for any corruption by running this command...
qemu-img check -r all '/root/vmname-data.vhdx'
- If all ok, import the disk using this command...
qm disk import 109 /root/vmname-data.vhdx local-zfs --format raw
109
is the VM ID/root/vmname-data.vhdx
is the file path of your vhdx filelocal-zfs
is the name of the storage pool you want to put the disk image on--format raw
specifies the disk image file type you want. If using ZFS to store your disk image useraw
. If using EXT4 then useqcow2
You then just need to go into the VM's Hardware tab and attach the disk to the VM by double clicking it