Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

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 at 15:38

Your Answer

 
discard

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.