616
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 21 Apr 2026
616 points (97.5% liked)
Linux
64822 readers
1145 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
This is definitely worth mentioning. You apparently can get it working with a dedicated encrypted swap partition (which I admittedly haven't tried) but I just turned off secureboot. The risk/convenience tradeoff is worth is for me.
That's not what I ready unfortunately. When booted in secureboot, the kernel enters lockdown mode which disables all hibernation, regardless of the swap being encrypted or plain text.
It seems there are two kernel patches available to enable hibernation in lockdown mode, but not in mainline.
This one is more of an admin override, where you take the risk of root replacing the swap contents
https://gist.github.com/kelvie/917d456cb572325aae8e3bd94a9c1350
And this one is complicated but uses the TPM to ensure only the kernel, not root, can write the hibernation image in a way that causes it to be trusted on waking, so there is no reduction in assurance compared to clean booting a signed kernel with secureboot:
https://mjg59.dreamwidth.org/55845.html
But that's all too much for me, I intend to turn it off again.