2

Following this answer I was able to restore hibernation on my Ubuntu Vivid Vervet 15.04. Unfortunately after hiberate/restore all running programs are gone, as if it was a regular power-off.

Any hints?

Edit:

sudo blkid

/dev/sda1: UUID="c5d5f237-f70c-43db-bbeb-482b8c15bf33" TYPE="ext4" PARTUUID="559a5acb-01"
/dev/sda5: UUID="60a90294-7412-47fc-99e3-f2c69a9b1db0" TYPE="swap" PARTUUID="559a5acb-05"
/dev/mapper/cryptswap1: UUID="6d0b5a7c-f404-47e9-a641-b04dcde3a5c2" TYPE="swap"

cat /etc/initramfs-tools/conf.d/resume

RESUME=UUID=645b50f6-d568-4247-9f7b-a6bd07b21686
alex
  • 155

2 Answers2

2

You hibernation does not work because you have a wrong UUID in your /etc/initramfs-tools/conf.d/resume file.

Run in terminal

echo "RESUME=UUID=60a90294-7412-47fc-99e3-f2c69a9b1db0" | sudo tee /etc/initramfs-tools/conf.d/resume
sudo update-initramfs -u -k all
Pilot6
  • 92,041
0

At the Official Ubuntu Documentation, it is already warned that hibernation may not work as expected, and suggests that test run before activating, and always save the work you are doing.

This is why the feature is not enabled by default.

André Marinho
  • 910
  • 9
  • 23