Re-visiting hibernate on Ubuntu

I use hibernate occasionally for instance when temporarily rebooting into Windows or when I’m out and my battery is almost empty. It is not so difficult to enable it when following a howto like https://ubuntuhandbook.org/index.php/2017/10/enable-hibernate-ubuntu-17-10/ but the main problem is that default swap partition is only 1GB and cannot easily be extended, especially not when using full disk encryption. Unless Ubuntu switches to LVM layout, or there is a way to get this work with a swap file.

4 Likes