Tag Archives: vm

Resize KVM guest disk space then resize PV LV

Increase KVM virtual machine guest’s disk space from the command line if you initially set insufficient amount of disk space: Shutdown the VM Move the current image mv mykvm.img mykvm.img.bak Create a new image qemu-img create -f raw addon.raw 30G … Continue reading

Posted in Linux | Tagged , | Leave a comment

Migrating Windows 7 from VirtualBox to KVM

First we convert the vbox image to a KVM format (qcow2) in 2 steps: VBoxManage clonehd –format raw /path/to/image.vdi /path/to/image.img qemu-img convert -f raw /path/to/image.img -O qcow2 /path/to/image.qcow2 If you get an error saying Cannot register the hard disk becuase … Continue reading

Posted in Linux | Tagged | Leave a comment