On Sat, Apr 14, 2012 at 09:49:03PM +0100, Richard W.M. Jones wrote:
There is another problem which you may hit, if you add a completely blank disk to libguestfs (this also affects libguestfs-test-tool):
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/931371 https://bugzilla.kernel.org/show_bug.cgi?id=42778
I've now identified the bug, and provided a fix. The bug in fact is in SeaBIOS (not the kernel as originally thought): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/931371/comments/12 To recompile SeaBIOS with this fix on Ubuntu 12.04, do: apt-get source seabios cd seabios-0.6.2/debian/patches # Download the patch attached to this email into this directory. echo 0001-Fix-alignment-bug-in-pci_bios_init_root_regions.patch >> series cd ../.. debuild -i -uc -us -b cd .. sudo dpkg -i seabios_0.6.2-0ubuntu2_all.deb After this, libguestfs should work normally. (Note you may also need to do the febootstrap update from the previous email and rebuild the appliance). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top