Hacker News new | ask | show | jobs
by sagarm 1434 days ago
Configuring suspend-then-hibernate is a pain on both Fedora and Ubuntu for different reasons: Fedora uses zswap by default and Ubuntu's swap partition is too small.
1 comments

Last I installed it, Ubuntu actually used a swap file, so configuring hibernation required adding a kernel parameter to your boot arguments specifying what file to resume from.
I configured this recently, and it involved resizing a 1GB LUKS swap partition on Ubuntu 22.04 at least with encryption enabled.