[Libguestfs] libguestfs fails to mount VBox file

Richard W.M. Jones rjones at redhat.com
Mon Sep 6 09:05:43 UTC 2021

On Mon, Sep 06, 2021 at 04:58:21AM +0200, Joerg Schiermeier wrote:
> 4.) Enable debugging, run the commands again, and capture the complete 
>      output. Do not edit the output.
> version of libguestfs: libguestfs0:amd64, v1:1.44.1-2
> the operating system version (lsb_release -a): 
> Distributor ID: Devuan
> Description:    Devuan GNU/Linux 4 (chimaera)
> Release:        4
> Codename:       chimaera
> and how you installed libguestfs (eg. from source, yum install, etc.):
> as deb package from Devuans repository
> Starting /init script ...
> /init: line 35: mount: command not found
> /init: line 38: /proc/cmdline: No such file or directory
> /init: line 60: mount: command not found
> /init: line 63: mount: command not found
> /init: line 74: mount: command not found
> /init: line 76: mount: command not found
> /init: line 78: mount: command not found

The package is quite broken.  Really Devuan should not have shipped it
like this.

You could try running this command:

  supermin --build -v -v -v --copy-kernel -f ext2 --host-cpu x86_64 /usr/lib/x86_64-linux-gnu/guestfs/supermin.d -o /tmp/appliance.d

which should produce a lot more debugging and help to see what's going on.

Also is util-linux listed in
/usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages ?


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch

More information about the Libguestfs mailing list