On 26.02.2022 02:23, Charles Curley wrote:
The appears to not offer hibernate. Neither hibernate nor hybrid sleep
are available in the logout menu. Calling an XFCE command to hibernate
("xfce4-session-logout --hibernate") does nothing. Suspend is available
and works.
On installation, I selected the default disk layout and got a swap space
of a measly 976M. I speculated that this was not enough (the machine has
3.7Gi of physical RAM), so I added an 8 Gi swap file.
Creating a swap file won't do. It has to be a swap partition, big enough
to store memory footprint of a working OS and everything that is
currently running on it.
Additionally check "initramfs" config file:
"/etc/initramfs-tools/conf.d/resume"
It needs to have UUID of a swap partition that will be used for hibernation.
Example config:
$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=d0331ef1-bc12-473f-bd4a-b4edf0d4d0a8
$ sudo blkid | grep swap
/dev/sdb2: LABEL="swap" UUID="d0331ef1-bc12-473f-bd4a-b4edf0d4d0a8"
TYPE="swap" PARTUUID="88839920-fc62-4f3a-aa7c-e97cd1ed4d5d"
But your case is different, because your swap partition is encrypted.
I've found an article which looks detailed enough, so give it a shot:
https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap
--
With kindest regards, Alexander.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀