For the beginning i say, that hibernation worked perfect on 17.10 on my hardware, and it doesn't look to me as a hardware problem now. Now when i'm putting my laptop to hibernation either by `systemctl hibernate` or `hibernate` it does write memory content somewhere on the disk, but while i'm starting it again, it looks like the kernel or initrd can't find the proper hibernation image. What i tried:
Put RESUME=UUID=cac3c850-bc33-44ab-adb4-41dcb5403e6f into my /etc/initramfs-tools/conf.d/resume, and do update-initramfs -u, this actually made things worse, because it just made the boot slower and i had to wait until it will say "giving up on resume" or something like that. The UUID is correct, i checked with blkid, and i use this as a swap partition, checked with swapon --show.
I tried to remove it from /etc/initramfs-tools/conf.d/resume and add resume=UUID=cac3c850-bc33-44ab-adb4-41dcb5403e6f to /etc/default/grub, and do update-grub, and also checked that it has been passed to kernel by checking /proc/cmdline, but also no luck. So how can I make ubuntu 18.04 resume after suspend? Or at least how can i debug issue more, to find out what's the problem exactly? Also tried a few different kernels - nothing changed. Thanks for your help.
Bookmarks