I use kvm for virtualization. Recently, I backed up one of my ubuntu server 8.04 machines to vdi format (don't ask), but kvm won't boot the image properly. I see the following line:

boot from (hd0,0) ext4   [numbers]

After a few seconds, the guest OS reboots. After some experimentation with an older qcow2 backup I made of the same machine, it seems that converting to vdi format is what causes this failure to boot.

The command I used to create the vdi backup is:

$ qemu-img convert -O vdi /dev/main/repo-hd /media/usb2/path/to/repo-hd.vdi

How can I go about fixing this image? It is the most up-to-date backup I have, and I blew away the original host device (dev/main/repo-hd).

link|improve this question

75% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.