Convert from VirtualBox to KVM/Qemu
By tom on 25. November 2011 - 23:20
Konverting from VirtualBox to KVM is actually quite easy.
If you use snapshots in VirtualBox, then you will first have to clone the current running state into a new VM (Right clickt -> Clone -> blah -> select only current state)
Then, if you use dynamic growing disks, convert them to raw format
VBoxManage clonehd --format RAW Win7.vdi Win7.raw
Now convert it to qcow2
qemu-img convert -f raw Win7.raw -O qcow2 Win7.img
In virt-manager create a new VM, import the existing image, and boot. Windows 7 did boot without Problems. Then install virtio and SPICE drivers, shutdown, change settings, and enjoy. Wow, I was impressed.
Tags: