02-21-2019, 03:27 AM
what worked for me
1.- Copy the UUID number series of your swap
$ cat /etc/fstab
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
2.- Edit the file / etc / default / grub and look for the line
GRUB_CMDLINE_LINUX=""
within the "" sticks the UUID swap series thus remaining
GRUB_CMDLINE_LINUX="resume=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
3.- Update the grub
$ sudo update-grub
4.- Check the file "resume" is the same as the UUID of your swap
$ cat /etc/initramfs-tools/conf.d/resume
5.- update the initramfs
$ sudo update-initramfs -u
6.- Restart
Note: it works on touch
the only inconvenience that I see is that once hibernated when resume does not ask for the password of the user, that picardia ;D
https://help.ubuntu.com/community/SwapFaq
1.- Copy the UUID number series of your swap
$ cat /etc/fstab
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
2.- Edit the file / etc / default / grub and look for the line
GRUB_CMDLINE_LINUX=""
within the "" sticks the UUID swap series thus remaining
GRUB_CMDLINE_LINUX="resume=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
3.- Update the grub
$ sudo update-grub
4.- Check the file "resume" is the same as the UUID of your swap
$ cat /etc/initramfs-tools/conf.d/resume
5.- update the initramfs
$ sudo update-initramfs -u
6.- Restart
Note: it works on touch
the only inconvenience that I see is that once hibernated when resume does not ask for the password of the user, that picardia ;D
https://help.ubuntu.com/community/SwapFaq