On Tue, Oct 02, 2018 at 12:16:02PM -0400, Bastien Nocera wrote:
There's problems with:
- not having enough swap space available at a particular instant
- swap being encrypted and not allowing restore because the keys aren't
there anymore
In my experience, encrypted swap works fine. During hibernation the
kernel writes to the encrypted swap and shuts the system down. On
power up, the system starts booting up normally, the initramfs asks
the user for the passphrase, sees the resume information, and
initiates the resume from the encrypted swap.