[Libguestfs] guestfs-examples

Richard W.M. Jones rjones at redhat.com
Mon Mar 4 17:27:39 UTC 2013


On Mon, Mar 04, 2013 at 05:50:27PM +0100, Khan Ferdous Wahid wrote:
> Hi,
> I tried to run the guestfs-examples from
> http://libguestfs.org/guestfs-examples.3.html, but they gave the following
> warnings and errors-
> #warning: Unable to get device geometry for /var/tmp/guestfs.JVxEUn/root

You can just ignore this.  However:

> #libguestfs: error: guestfs_launch failed, see earlier error messages

you need to run 'libguestfs-test-tool' and post the complete, unedited
output.  However:

> What I did from the beginning- I boot my debian linux (2.6.32-5-686) inside
> VirtualBox and then install following packages there-
> #apt-get install qemu libguestfs-dev libguestfs-tools

Your problem is that this kernel is too old.  You have to use at least 2.6.36.

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://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list