[Libguestfs] supermin: failed to find a suitable kernel

Pino Toscano ptoscano at redhat.com
Wed Nov 6 14:04:32 UTC 2019


Hi,

On Saturday, 2 November 2019 10:36:21 CET Klaas Schulze-Dieckhoff wrote:
> I am trying to run the dockerized version of linaro lava. Unfortunately it is not possible to start libguetsfs inside one of the containers.
> My settings are: Ubuntu Server 18.04.3, Docker version 18.09.7 running a Debian:stretch based contianer
> 
> Running libguestfs-test-tool gives me the following output:
> 
> 
> root at e91c89e0874d:/# libguestfs-test-tool
> [...]
> supermin: failed to find a suitable kernel (host_cpu=x86_64).
> 
> I looked for kernels in /boot and modules in /lib/modules.
> 
> If this is a Xen guest, and you only have Xen domU kernels
> installed, try installing a fullvirt kernel (only for
> supermin use, you shouldn't boot the Xen guest with it).
> libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above
> libguestfs: trace: launch = -1 (error)
> libguestfs: trace: close
> libguestfs: closing guestfs handle 0x5627c93af260 (state 0)
> libguestfs: command: run: rm
> libguestfs: command: run: \ -rf /tmp/libguestfspqGts5
> 
> Can anybody point me the right direction to fix this?

Just install the kernel package, so supermin can use it.  In your case,
i.e. Debian x86_64, install linux-image-amd64 to get the latest version
available.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20191106/e0f49afa/attachment.sig>


More information about the Libguestfs mailing list