[Libguestfs] Guestfish errors (Running in VirtualBox)

Richard W.M. Jones rjones at redhat.com
Fri Apr 8 18:37:27 UTC 2011


On Fri, Apr 08, 2011 at 10:16:15AM -0700, Chris Willmore wrote:
[...]

I can't see any obvious error.

I'll just note for your investigations that this drive:

>     -drive file=/tmp/.guestfs-1001/root.5377,snapshot=on,if=virtio,cache=unsa

is a temporary file; the real file is '/tmp/.guestfs-1001/root'.

This should be mapped to /dev/vdc in the appliance, and it appears to
be.

It should be an ext2 "naked" filesystem, no partition table, just the
straight filesystem in a file.  It should contain lots of
ordinary-looking Ubuntu files (/bin/ls etc).  And crucially it should
contain an executable /init script.  /init's first line is #!/bin/sh
so /bin/sh must also exist in that image (must be executable etc).

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




More information about the Libguestfs mailing list