You are not logged in.

#1 2025-04-25 15:23:24

dsalewski
Member
From: Kaarst, Germany
Registered: 2013-01-11
Posts: 6
Website

"Error loading kernel image" with hardware based disk encryption

Hello everyone,

for some reason, possibly a new version of systemd my system two days ago refused to boot. The error message on the screen looked like this:

../systemd/src/boot/linux.c:125@linux_exec: Error loading kernel image: Unsupported 
../systemd/src/boot/boot.c:2640@image_start: Failed to execute Arch Linux (6.14.3-zen1-1-zen) (\EFI\Linux\arch-linux-zen.efi): Unsupported

My first guess was that for some reason mkinitcpio -P had not been triggered after the update of the nvidia dkms driver, but it turned out that it also had something to do with a missing update to the bootloader.

I'm not entirely sure which of the following steps fixed it, but as a cooking receipt it might come in handy regardless. So if you encounter a similar error here's what to do (replace "nvme0n1p1/2" with whatever your partitions name is):

  1. Go into BIOS and switch off secure boot

  2. Boot from Arch USB stick.

  3. $ cryptsetup open /dev/nvme0n1p2 root

  4. $ mount /dev/mapper/root /mnt

  5. $ mount /dev/nvme0n1p1 /mnt/boot

  6. $ arch-chroot /mnt

  7. $ mkinitcpio -P

  8. $ sbctl sign-all

  9. $ bootctl update

After that exit the chroot environment, umount the filesystems and reboot. Don't forget to turn on secure boot again. Everything might be fine now.

Good luck

Dirk

Offline

Board footer

Powered by FluxBB