Currently Limine packs the kernel into bzImage format, which means they can not be directly invoked by bootloaders like systemd-boot or rEFInd.
There is a much better way of shipping a kernel image, which is to say, by using UKIs (Unified Kernel Image).1 In addition, UKIs can even be individually signed by sbctl, so there's no issue launching them independently, in a Secureboot system.2
Note that on Nixpkgs, we already have mechanisms to generate an UKI3, and boot loaders like systemd-boot default to that.
Pinging maintainers:
@programmerlexi @lzcunt @phip1611 @surfaceflinger @Prince213
Currently Limine packs the kernel into bzImage format, which means they can not be directly invoked by bootloaders like systemd-boot or rEFInd.
There is a much better way of shipping a kernel image, which is to say, by using UKIs (Unified Kernel Image).1 In addition, UKIs can even be individually signed by
sbctl, so there's no issue launching them independently, in a Secureboot system.2Note that on Nixpkgs, we already have mechanisms to generate an UKI3,
and boot loaders like systemd-boot default to that.Pinging maintainers:
@programmerlexi @lzcunt @phip1611 @surfaceflinger @Prince213
Footnotes
https://wiki.archlinux.org/title/UKI ↩
https://wiki.archlinux.org/title/Limine ↩
https://github.com/NixOS/nixpkgs/blob/6a51e9eec9a08bd5e5430cffcfc027a910067bc4/nixos/modules/system/boot/uki.nix#L10 ↩