On Sun, 10 Sep 2017, Alexander V. Makartsev wrote:
You should not use "uswsusp" anymore on recent OS releases. Hibernate
should work "out-of-the-box" assuming swap partition is big enough.
Remove "uswsusp", double check "/etc/fstab" swap entry
$ sudo blkid | grep swap
/dev/sdb2: LABEL="swap" UUID="d0331ef1-bc12-473f-bd4a-b4edf0d4d0a8"
TYPE="swap" PARTUUID="88839920-fc62-4f3a-aa7c-e97cd1ed4d5d"
$ cat /etc/fstab | grep swap
UUID=d0331ef1-bc12-473f-bd4a-b4edf0d4d0a8 none swap sw
0 0
and "/etc/initramfs-tools/conf.d/resume"
$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=d0331ef1-bc12-473f-bd4a-b4edf0d4d0a8
Check swap is working via "swapon"
After that either reinstall initramfs-tools via
$ sudo apt-get install --reinstall initramfs-tools
or update initramfs via
$ sudo update-initramfs -u -v | grep "Adding config"
This way you can see all config files and check them if swap
partition\hibernation image is still not found.
Reboot and try to hibernate.
I already did all that stuff, and increased my swap partition to twice the
ram size...
best regards,
--
Pierre Frenkiel