[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] Guestfish errors (Running in VirtualBox)

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

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).


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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]