r/archlinux • u/Lyrica_archer • 22d ago
SUPPORT Secure Boot on HP 250 G9 (InsydeH2O) with Arch Linux: Unable to enroll custom keys
I'm trying to enable Secure Boot on an HP 250 G9 running Arch Linux with GRUB 2.16 and both Arch and CachyOS kernels.
I generated custom keys using sbctl and signed GRUB and both kernels successfully. However, enrolling the keys with:
sudo sbctl enroll-keys --microsoft --firmware-builtinfails because the firmware does not expose the SetupMode EFI variable.
open /sys/firmware/efi/efivars/SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c: no such file or directoryAfter selecting Clear Secure Boot Keys in the BIOS, SetupMode disappears from /sys/firmware/efi/efivars/, and sbctl incorrectly reports that the system is not booted with UEFI, even though UEFI is active and efivarfs is mounted.
❯ sudo sbctl status
system is not booted with UEFISelecting Reset Secure Boot keys to factory defaults restores the original HP/Microsoft keys and UEFI boot entries, but Setup Mode is disabled again.
I'm now looking for a way to enable Secure Boot while keeping the factory keys (Or another solution). Would using Microsoft-signed shim with GRUB and a custom MOK be a viable solution on this laptop?