I migrated a Windows OS (entire disk) to a virtual machine on another host (Debian with qemu and kvm). I used Selfimage to export the disk.

On the host, first of all, I created an empty virtual machine:

qemu-img create -f qcow2 myVM.qcow2 180G

And I imported the image by:

qemu-nbd -t myVM.qcow2 -p 1024

After 10 hours the image was exported. I stopped qemu-nbd by Ctrl+C.

Now I don't know how to start the VM or how to add it with virt-manager!


qemu-img creates a virtual disk, not a virtual machine. qemu-nbd allows you to mount a virtual disk image on the host. Nowhere in this process are you creating or importing VMs. Start by explaining what you want to do, and we'll be able to provide pointers

  • I want to migrate my sbs2003 from an old machine to a virtual machine on an modern machine. – Bertaud Jan 8 '14 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.