Comment 2 for bug 531083

Revision history for this message
spbike (bill-broadley) wrote :

There is a vm-builder --raw, but I can't get it to work. If I google for other people I find they also can not get it to work. Additionally to make it more painful the documented qemu-img convert also can not target a LV.

My attempts starting with:
vmbuilder kvm ubuntu --suite=lucid --part /root/path --raw=/dev/vg-hex00/lv-csc-disk ...

End up with a qcow2 image in the ubuntu-kvm subdirectory.

The log file at the end shows:

2011-02-16 18:29:37,456 INFO : Creating disk image: "/tmp/tmpxvVjuj" of size: 16385MB
...
2011-02-16 18:30:11,479 INFO : Converting /tmp/tmpxvVjuj to qcow2, format ubuntu-kvm/tmpxvVjuj.qcow2

If/when it is fixed this should be updated:
https://help.ubuntu.com/community/KVM/CreateGuests

Here's a good example of people reporting --raw isn't working:
http://serverfault.com/questions/183370/automated-install-of-lucid-guests-on-lucid-kvm-server