Secure Boot enrollment produces a GRUB that refuses to boot #54

Merged
Breadway merged 3 commits from fix/bos-24-secure-boot-grub into main 2026-10-02 14:17:11 +08:00
Owner

The installer now detects UEFI Setup Mode before installing GRUB and builds it with shim-lock disabled, SBAT metadata, and the required filesystem, crypto, and boot modules. It saves signatures for both EFI GRUB binaries and the installed kernel in sbctl's database.

Verified with bash -n, git diff --check, GRUB option inspection, an EFI image build using the configured modules, and a successful FAST_BUILD=1 ISO build. The build emitted the existing nbd-client initramfs hook warning. The installed-OS OVMF checks remain outstanding: booting after Secure Boot is enabled and booting again after pacman -S linux.

Closes #24

The installer now detects UEFI Setup Mode before installing GRUB and builds it with shim-lock disabled, SBAT metadata, and the required filesystem, crypto, and boot modules. It saves signatures for both EFI GRUB binaries and the installed kernel in sbctl's database. Verified with `bash -n`, `git diff --check`, GRUB option inspection, an EFI image build using the configured modules, and a successful `FAST_BUILD=1` ISO build. The build emitted the existing `nbd-client` initramfs hook warning. The installed-OS OVMF checks remain outstanding: booting after Secure Boot is enabled and booting again after `pacman -S linux`. Closes #24
Author
Owner

This PR card tracks BOS-24 / PR #54. Fresh Setup Mode OVMF Secure Boot and kernel re-sign acceptance is still missing; reviewer found the PR unmergeable. Parent BOS-24 is TODO. Synchronizing card status to TODO.

This PR card tracks BOS-24 / PR #54. Fresh Setup Mode OVMF Secure Boot and kernel re-sign acceptance is still missing; reviewer found the PR unmergeable. Parent BOS-24 is TODO. Synchronizing card status to TODO.
Merge remote-tracking branch 'origin/main' into HEAD
All checks were successful
Build and publish calamares / calamares (push) Successful in 3m46s
Build and publish powerlevel10k / powerlevel10k (push) Successful in 3m20s
Build and publish calamares / calamares (pull_request) Successful in 5m51s
1333dbe78b
# Conflicts:
#	CHANGELOG.md
Author
Owner

PR #54 has the implementation and static GRUB/signing checks recorded on the rebased head. Fresh Setup Mode OVMF install, Secure Boot boot, sbctl status, and post-kernel-update boot acceptance remain outstanding; BOS has no ordinary push CI. Moving the implementation to REVIEW for the requested handoff. Do not treat as verified or done until those acceptance checks are recorded.

PR #54 has the implementation and static GRUB/signing checks recorded on the rebased head. Fresh Setup Mode OVMF install, Secure Boot boot, sbctl status, and post-kernel-update boot acceptance remain outstanding; BOS has no ordinary push CI. Moving the implementation to REVIEW for the requested handoff. Do not treat as verified or done until those acceptance checks are recorded.
Sign in to join this conversation.
No description provided.