Artix Linux Forum

Artix Linux => System => Topic started by: gameplayer on 22 December 2023, 18:50:35

Title: shim_lock not found when using Secure Boot
Post by: gameplayer on 22 December 2023, 18:50:35
Good evening,

I've got a problem with setting up a Secure Boot. Every time I'm booting up Linux kernel with SB enabled, I'm getting:
Code: [Select]
error: shim_lock protocol not found.
error: you need to load the kernel first.

I've configured Secure Boot like so:

1. Created keys with `sbctl create-keys`
2. After entering Setup Mode of UEFI, I've executed `sbctl enroll-keys -m`
3. Configured GRUB, using this (https://gist.github.com/GamePlayer-8/ef7e3f477120afbb39c070b5ebe4f849) script.

Is there any way to solve the problem with missing shim_lock?
Title: Re: shim_lock not found when using Secure Boot
Post by: LemonPie on 22 December 2023, 21:45:14
wiki (https://wiki.archlinux.org/title/GRUB#Secure_Boot_support)

I used CA keys method, but wiki might be helpful.
Title: Re: shim_lock not found when using Secure Boot
Post by: gameplayer on 23 December 2023, 10:53:57
When I'm trying to go with the CA keys method, I'm getting:
Code: [Select]
error: verification requested, but nobody cares: /boot/vmlinuz-linux

I've used:
Arch WIki - CA Keys (https://wiki.archlinux.org/title/GRUB#CA_Keys)
Arch Wiki - Secure Boot - Manual process (https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Manual_process)
sbctl #160 (https://github.com/Foxboron/sbctl/issues/160)
Arch Forum - GRUB Verification error (https://bbs.archlinux.org/viewtopic.php?id=277009)
grub-btrfs #156 (https://github.com/Antynea/grub-btrfs/issues/156)
sbctl #94 (https://github.com/Foxboron/sbctl/issues/94)
sbctl #91 (https://github.com/Foxboron/sbctl/issues/91)
Manjaro Forum #70910 (https://forum.manjaro.org/t/error-verification-requested-but-nobody-cares/70910)

None of which gave me a solution.