This page is about debugging problems with
"Booting the kernel." displayed forever or segfault
Most likely you have full disk encryption enabled, this is broken with QEMU right now (osk-sdl#75) unless you also use
To work around this bug, please do one of these:
- Install without FDE:
pmbootstrap install --no-fde
- or install a spice client and use it:
pmbootstrap qemu --spice
Help with fixing that issue is highly appreciated.
Alternative display options
GTK instead of SDL
The virtual machine's output window can be drawn with either SDL or GTK. The default is SDL, and in case that does not work, you can try to switch to GTK:
$ pmbootstrap qemu --display=gtk
Graphics rendering with OpenGL is enabled by default. You can disable it by appending
,gl=off to your display option. Examples:
$ pmbootstrap qemu --display=sdl,gl=off $ pmbootstrap qemu --display=gtk,gl=off
Another option is using the SPICE protocol. The following command will cause QEMU to start a SPICE server, that listens on localhost, and connect a client right afterwards.
Supported clients are
spicy (one of these needs to be installed on your host system). This method supports 3D hardware accelleration as well.
$ pmbootstrap qemu --spice
Using QEMU from the host system
Since !1612, pmbootstrap is using the QEMU binary from the Alpine chroots. That way you don't have to install QEMU on your host system and everybody uses the same version. However, for debugging purpose you might want to use the QEMU binaries from your host system instead:
$ pmbootstrap qemu --host-qemu
This option can be combined with