And the host came up fine. I did not manually try fdisk+debootstrap. As others elsewhere have pointed out, fdisk won't clear out the whole first part of the LVM volume which can confuse the guest kernel, initramfs, mounter, etc. If doing
dd if=/dev/zero of=/dev/LV1/lv bs=1M
first reliably works for you, then this would not be a qemu bug.
Hi,
are you still having this problem?
In oneiric, I just did
qemu-img -L 10G -n kvm1 schroots schroots/ kvm1
dd if=oneiric-vm.img of=/dev/
and then changed the libvirt definition of the oneiric-vm vm to have the following disk section:
<disk type='block' device='disk'> schroots/ kvm1'/>
<source dev='/dev/
<target dev='vda' bus='virtio'/>
</disk>
And the host came up fine. I did not manually try fdisk+debootstrap. As others elsewhere have pointed out, fdisk won't clear out the whole first part of the LVM volume which can confuse the guest kernel, initramfs, mounter, etc. If doing
dd if=/dev/zero of=/dev/LV1/lv bs=1M
first reliably works for you, then this would not be a qemu bug.