Xubuntu não hiberna direito

Ao invés de hibernar, o xubuntu desliga

segue uma documentação
https://help.ubuntu.com/community/PowerManagement/Hibernate

info
Problem : The computer goes to hibernate ok. But after power-on it is loading as if no hibernate state was saved.

Solution based on launchpad answer - add resume parameter to kernel boot options.

In the case of grub2:

  • open /etc/default/grub
  • find GRUB_CMDLINE_LINUX_DEFAULT= line - these are the option added to the regular boot menu choices
  • add the resume=/dev/sda6 option to the list (with correct swap partition path) like this:

Before:

GRUB_CMDLINE_LINUX_DEFAULT=“nosplash enable_mtrr_cleanup=1”

After:

GRUB_CMDLINE_LINUX_DEFAULT=“nosplash enable_mtrr_cleanup=1 resume=/dev/sda6”

  • save file
  • in the terminal execute command (to actually enable the new configuration settings)

sudo update-grub2