limine icon indicating copy to clipboard operation
limine copied to clipboard

Can not boot UKIs (unified kernel images)

Open WildPenquin opened this issue 7 months ago • 6 comments

Hi,

I can not boot my unified kernel image. It seemingly loads the image, but there is an error message (from systemd-boot stub?):

systemd-boot: Assertion 'prefix' failed at ../systemd-stable/src/boot/efi/stub.c:2680@cmdline_append_and_measure_addons, halting.

Possibly related: #256. But I'm not using gummiboot, and the error is different.

I'm not setting any cmdline in limine, but (intend to) use the one in the UKI. The same image can boot via systemd-boot and a manual UEFI entry.

Limine configuration:

:EFI Chainloading
                COMMENT=Chainload Arch Linux-Zen UKI

                PROTOCOL=chainload
                IMAGE_PATH=boot:///EFI/Linux/arch-linux-zen.efi
                RESOLUTION=3440x1440x32

bootctl list entry for the image:

         type: Boot Loader Specification Type #2 (.efi)
        title: Arch Linux (6.6.1-zen1-1-zen) (default) (not reported/new)
           id: arch-linux-zen.efi
       source: /boot//EFI/Linux/arch-linux-zen.efi
     sort-key: arch
      version: 6.6.1-zen1-1-zen
        linux: /boot//EFI/Linux/arch-linux-zen.efi
      options: root=UUID=1a5adbc2-4d53-483a-ba58-db298ee1628c resume=UUID=c75a43ee-46ea-4cd3-82e9-da4f73e0da3a rw amdgpu.ppfeaturemask=0xfffd7fff amdgpu.dpm=1 amdgpu.aspm=1 amdgpu.runpm=1 amdgpu.bapm=1 drm.edid_firmware=DisplayPort-2:edid/edid-samcf791-min38.bin initrd=amd-ucode.img initrd=initramfs-linux-zen.img quiet

(I haven't tried other UKI images).

WildPenquin avatar Nov 14 '23 08:11 WildPenquin