| Summary: | add loader(8) and boot loader menu support for boot with OpenZFS-encrypted ROOT | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Graham Perrin <grahamperrin> | ||||
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Open --- | ||||||
| Severity: | Affects Only Me | CC: | alex-freebsd-bugs, bsduck, cgqix35t4, colin, freebsd, imp, mmpestorich, orangewinds, pi | ||||
| Priority: | --- | Keywords: | feature, loader, needs-patch, needs-qa | ||||
| Version: | CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| URL: | https://github.com/freebsd/freebsd-src/tree/main/stand | ||||||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263234 | ||||||
| Attachments: |
|
||||||
|
Description
Graham Perrin
2022-04-09 06:51:46 UTC
Is there a patch? A workaround for anyone else wanting to have an OpenZFS encrypted root, here are my notes from setting that up: https://forums.freebsd.org/threads/the-quest-for-unencrypted-boot-and-zfs-native-encrypted.91940/#post-640041 It involves having a unencrypted /boot partition that doubles as / on initial boot into single user mode, then loads the zfs keys, mounts the encrypted / and re-roots to it (via `reboot -r`). |