Skip to main content

Solus VM Notes

Last Updated: March 2, 2015

Migrating Hyper-V to KVM

  • Create the VPS in Solus/WHMCS, we will replace the image that it makes with the VHDX.
  • Stop the Hyper-V VM and make a copy of the VHDX file.
  • Move .vhdx file over to the server (HTTP or SFTP)
  • Convert the VHDX to a raw image file (.img)
qemu-img convert -f vhdx -O raw /mnt/transfer/virtualdisk.vhdx /mnt/transfer/virtualdisk.img
  • Move the image into where solus keeps the VM files.
dd if=/mnt/transfer/virtualdisk.img of=/dev/vm/kvm<id>_img
  • Reboot the server on SolusVM
  • Reconfigure network, etc.