Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question

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

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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