Skip to content

Warn when root Btrfs spans extra LUKS devices the initramfs cannot unlock - #11023

Open
kvnloo wants to merge 3 commits into
omacom:quattrofrom
kvnloo:fix/root-btrfs-extra-luks-warn
Open

kvnloo wants to merge 3 commits into
omacom:quattrofrom
kvnloo:fix/root-btrfs-extra-luks-warn

Conversation

@kvnloo

@kvnloo kvnloo commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Warn when root Btrfs spans extra LUKS devices the initramfs cannot unlock.

Fixes #10029.

Stock encrypt opens one cryptdevice=. Adding a second LUKS-backed Btrfs member makes the filesystem unmountable immediately; the next boot only reveals it. Surface that from update-analyze-logs without blocking the update or changing the hook stack.

Testing

  • root-btrfs-extra-luks-test.sh FAIL on pinned quattro (missing helper) / PASS on this SHA (11 ok)
  • sequence + cli PASS; HOOKS unchanged

@kvnloo

kvnloo commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Salvaged into the install/arch leftover wave: #11501

Cherry-picked onto current quattro with original authorship. Please merge #11501 as the tranche and close this head as salvaged.

@kvnloo
kvnloo force-pushed the fix/root-btrfs-extra-luks-warn branch from 69c4725 to eb25ef4 Compare September 21, 2026 09:33
@kvnloo

kvnloo commented Sep 22, 2026

Copy link
Copy Markdown
Contributor Author

Salvaged into the fresh re-cut wave: #12932 (salvage/t1-install-arch-recut-20260922 onto current quattro). Unique hunks (bin/omarchy-root-btrfs-extra-luks + analyze-logs hook + tests) cherry-picked with authorship preserved. Please close this head as salvaged into that PR (do not merge this one).

@jandrusk

Copy link
Copy Markdown

Same as #11025: salvaged into #12932. Please close this source head as superseded after #12932 is the review target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Encrypted multi-device Btrfs root becomes unbootable when an additional LUKS-backed device is required

3 participants