qubes-mirage-firewall icon indicating copy to clipboard operation
qubes-mirage-firewall copied to clipboard

Invalid kernel on Qubes 4.1.

Open MaxHillebrand opened this issue 2 years ago • 1 comments

After following instalation instructions on Qubes 4.1, qvm-start mirage-firewall fails with:

xc: panic: xc_dom_elfloader.c:64: xc_dom_guest_type: image not capable of booting inside a HVM container: Invalid kernel
libxl: libxl_dom.c:578:libxl__build_dom: xc_dom_parse_image failed
libxl: libxl_create.c:1623:domcreate_rebuild_done: Domain 80:cannot (re-)build domain: -3

Maybe this is related?

All the files besides vmlinuz are optional in Qubes R4.1 or newer. In Qubes R4.0, vmlinuz and initramfs are both required to be present. https://www.qubes-os.org/doc/managing-vm-kernels/#kernel-files-structure

But when removing initramfs, qvm-create ... fails with:

app: Error setting property kernel (but VM created): Kernel 'mirage-firewall' not properly installed: missing 'initramfs' file

MaxHillebrand avatar Mar 28 '22 10:03 MaxHillebrand

You should set VM type as PV not HVM - check in readme again.

Szewcson avatar Mar 30 '22 17:03 Szewcson

With the latest update, the command lines for creating the AppVM should be clearer. Can you try to recreate your firewall-vm with the new directives?

palainp avatar Aug 30 '22 14:08 palainp

This is good, thanks!

MaxHillebrand avatar Aug 31 '22 09:08 MaxHillebrand