Recently I have been asked by a number of people about converting from Hyper-V to other formats, now this is not that complicated but there is a process which can help to get it right first time without the need for all the stress.

Converting Images To work With Proxmox

There are a few simple rules here, the firt and most important is not to rush and allow plant of time, specially if you are dealing with large virtual machines and disk images, make sure you have backups and check the hardware will take what you are moving your machines to, for example windows by default don't play nice with virtio so if you don't already have the drivers installed you may find the VM won't boot properly, in proxmox you may need to set the disks as sata/ide (this will have a performance impact).

So the first thing to do is shutdown the machine on Hyper-V and then export the machine so you can copy the vhdx to you proxmox server, if the machine will have no changes then you can do this while it's still on but note any changes will man you have data loss.

Once you have the disk image transfered over to your proxmox box (I normally transfer the image to /var/lib/vz/images/), you can then check the disk image trasnfered ok.

qemu-img check -r all dev.hosting-tutorials.co.uk.vhdx

Once you have hecked the image you will need to make a new virtual machine which meets the requierments, for example it should have the same or more ram, disk space should be a little bit more the the disk image, after this has been created you are ready to convert the disk image and save it into the disk image of your proxmox virtual machine.

qemu-img convert -O qcow2 /var/lib/vz/images/dev.hosting-tutorials.co.uk.vhdx /var/lib/vz/images/132/vm-132-disk-1.qcow2

Once this has been done start your machine and you should find that it's all working.

Add a comment

0.0(0 votes)

Next Post Previous Post