Skip to main content
Logo
Overview

convert-vm-to-hyperv

September 1, 2026
1 min read

Re-using a previously used Oracle Virtualbox VM on Hyper-V. Or qemu/KVM/libvirt.

$ mv win10-level.ova win10-level.tar
$ tar xf win10-level.tar
$ ls -lh win10-disk002.vmdk
-rw-rw---- 1 rrosso rrosso 16G Feb 15 2019 win10-disk002.vmdk
$ qemu-img convert -p -f vmdk win10-disk002.vmdk -O vhdx -o subformat=dynamic win10-disk002.vhdx
(8.00/100%)
$ ls -lh win10-disk002.vhdx
-rw-r--r-- 1 rrosso rrosso 31G Sep 2 10:02 win10-disk002.vhdx

steps

  • Create the Hyper-V Virtual Machine
  • Open Hyper-V Manager on your Windows host.
  • Right-click your server name, select New > Virtual Machine to launch the wizard.
  • Follow the prompts to configure memory, generation type, and network settings.
  • On the Connect Virtual Hard Disk screen, select Use an existing virtual hard disk and browse to your newly converted .vhd or .vhdx file.
  • Finish the wizard and start your new virtual machine.

qemu

$ qemu-img convert -O qcow2 win10-disk002.vmdk win10.qcow2