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

Re: [Libguestfs] Kernel panic on Ubuntu 10.04

On Fri, Dec 23, 2011 at 03:34:43PM +0400, Syndicut wrote:
> execl: /init: No such file or directory

This error (which is confusing) means: either /init doesn't exist in
the appliance, or /bin/sh which /init uses doesn't exist, or some
library that /bin/sh needs doesn't exist.

We can see by looking at the debug output:

> febootstrap: debug: listing directory /
>  4289 - init             100755 3287 1000:1000

OK: /init exists.

> febootstrap: debug: listing directory /bin
>    12 d .                040755 4096 1000:1000
>     2 d ..               040755 4096 0:0
>   783 - bash             100755 934336 0:0
>   831 l sh               120777 20 0:0 -> /etc/alternatives/sh

But this is odd.  On my Ubuntu 10.04, /bin/sh points to /bin/dash.


Anyway, I think you need to compile from source on your machine (also
a good reason because 1.13.11 is old, and has at least one known
security issue and many known bugs).

Just download the latest stable or development tarball, unpack it, and

./configure  # check this succeeds
debuild -i -uc -us -b

And install the resultant *.deb files.


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]