|
|
|
|
|
by beeflet
265 days ago
|
|
I have secure boot, hibernation, and full disk encryption working fine on linux, but I have never heard of kernel lockdown. The solution I found involves making a custom initramfs to support hibernation and compiling the kernel into a signed EFI stub. |
|
So its not a direct "linux prevents hibernate on secure boot", its "linux recommends kernel_lockdown when secure booting", "kernel_lockdown prevents hibernate with unencrypted swap" and "theres no well to make the kernel believe the hibernation disk is encrypted", but the result is the same.
You can "just" run secure boot without lockdown. Its a cmdline, you can just omit it. You can run custom patch sets that add cmdline options so the kernel allows hibernation in lockdown (if you pinky-promise the swap is encrypted).
But neither of these are easily accessible to the average user.
1: https://manpages.debian.org/bullseye/manpages/kernel_lockdow...