I can't get Hibernate to work on Ubuntu 18.04, I tried following these tutorials and after all the steps below hibernate still acts as a normal reboot.:

Github - gnome-shell-extension-hibernate-status

Askubuntu: Hibernation in 18.04


ASUS N580VD with 16GB of ram and 20GB swap

Partition table:

sda     238,5G  
├─sda1    499M  Windows recovery 
├─sda2    100M  EFI System
├─sda3     16M  Microsoft reserved
├─sda4  117,9G  Microsoft basic data
├─sda5     20G  Linux swap
└─sda6    100G  Linux filesystem

Swap partition UUID:

sudo blkid | grep sda5
/dev/sda5: TYPE="swap" PARTLABEL="Basic data partition" PARTUUID="8d0c9f85-0436-48b5-8973-6aec3b8e3445"

Content of /etc/fstab:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>

# / was on /dev/sda6 during installation
UUID=27ed4a93-0aa1-d401-206c-4a930aa1d401 /               ext4    errors=remount-ro 0       1

# /boot/efi was on /dev/sda2 during installation
/dev/sda5       none            swap    sw              0       0
/dev/disk/by-uuid/01D4A10A933D25B0 /mnt/01D4A10A933D25B0 auto nosuid,nodev,nofail,noauto 0 0
/dev/disk/by-uuid/864A-6441 /mnt/864A-6441 auto nosuid,nodev,nofail 0 0

# Entry for Swap (added for hibernate): 
UUID=8d0c9f85-0436-48b5-8973-6aec3b8e3445 none  swap    sw              0       0

Contents of /etc/default/grub:

GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=8d0c9f85-0436-48b5-8973-6aec3b8e3445"

export GRUB_COLOR_NORMAL="white/black"
export GRUB_COLOR_HIGHLIGHT="light-blue/black"

Contents of /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla:

[Re-enable hibernate by default in upower]

[Re-enable hibernate by default in logind]

[Enable hibernate to be run via cron]

Content of /etc/initramfs-tools/conf.d/resume:


Did these commands:

sudo update-initramfs -u -k all
sudo update-grub

I also installed gnome-shell-extension-hibernate-status. Any help would really be apreciated!

EDIT 1: Not only doesn't hibernate work, also my boot time from cold boot became incredibly slow!!

  • 2
    There is no need to add Solved in the title. Just accept the answer which solved the problem (after 2 days of posting the question if answered by you). – Kulfy Jan 2 '19 at 8:49

there is a package that you can use easily to hibernate,
open the terminal and write sudo apt install hibernate , it will ask you some questions and then you can hibernate using sudo hibernate

| improve this answer | |
  • Haha, thanks for letting me know! I'll remember for the future! It's working now, and if it aint broke don't fix it! – Denisuu Jan 3 '19 at 10:52
  • Is there a way to get the system to lock upon hibernation as well? This is the only method to hibernate I've found that works, but it leaves the computer insecure since it doesn't require a password to log back in – MathTrain Nov 5 '19 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.