Encrypted installs can unlock root in the initramfs #53

Merged
Breadway merged 3 commits from fix/bos-23-initramfs-luks-unlock into main 2026-10-02 14:15:59 +08:00
Owner

Calamares now registers an encrypted-root boot keyfile before fstab, and the installer prepares the matching mkinitcpio hook and keyfile before initramfs generation. GRUB receives the LUKS container UUID and mapper name for the selected hook; the smoke test checks encrypted boot parameters.

Verified: bash -n for the changed scripts, YAML parsing for the Calamares settings, git diff --check, and FAST_BUILD=1 ISO build. The build completed with an existing nbd-client initramfs package-hook warning. Encrypted UEFI and BIOS VM installs were not run, so the issue remains in doing until those boot checks are confirmed.

Closes #23

Calamares now registers an encrypted-root boot keyfile before fstab, and the installer prepares the matching mkinitcpio hook and keyfile before initramfs generation. GRUB receives the LUKS container UUID and mapper name for the selected hook; the smoke test checks encrypted boot parameters. Verified: `bash -n` for the changed scripts, YAML parsing for the Calamares settings, `git diff --check`, and `FAST_BUILD=1` ISO build. The build completed with an existing `nbd-client` initramfs package-hook warning. Encrypted UEFI and BIOS VM installs were not run, so the issue remains in doing until those boot checks are confirmed. Closes #23
Author
Owner

This PR card tracks BOS-23 / PR #53. Encrypted UEFI and BIOS installation acceptance is still missing; reviewer found the PR unmergeable. Parent BOS-23 is TODO. Synchronizing card status to TODO.

This PR card tracks BOS-23 / PR #53. Encrypted UEFI and BIOS installation acceptance is still missing; reviewer found the PR unmergeable. Parent BOS-23 is TODO. Synchronizing card status to TODO.
Merge main into encrypted root installer fix
All checks were successful
Build and publish calamares / calamares (push) Successful in 4m53s
Build and publish powerlevel10k / powerlevel10k (push) Successful in 3m9s
Build and publish calamares / calamares (pull_request) Successful in 5m19s
81338b9855
Author
Owner

PR #53 has the implementation and static wiring checks recorded on the rebased head. Fresh encrypted UEFI/BIOS Calamares installs and boot-to-breadgreet 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 #53 has the implementation and static wiring checks recorded on the rebased head. Fresh encrypted UEFI/BIOS Calamares installs and boot-to-breadgreet 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.