0

Till yesterday, the hibernate option was enabled and working perfectly fine.

Today morning, I have extended the root partition by adding some extra free space to it. I used the gParted tool in the Ubuntu live session for doing this.

After extending the root partition, I see the hibernate option not getting displayed in the system's shutdown-menu.

PS: I have tried the guide at this link. But, it didn't work.

enter image description here

Prabhakar
  • 1
  • 1
  • Could you upload a screenshot of how the disk looks in gparted? In particular, make sure that your swap partition is still larger than your total RAM. – Jez W Feb 26 '14 at 15:06
  • https://dl.dropboxusercontent.com/u/5691535/GParted.png – Prabhakar Feb 26 '14 at 16:54

2 Answers2

0

Try editing this file: sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla like this:

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes
Dusan Milosevic
  • 1,952
  • 6
  • 27
  • 48
0

Try to install the hibernate feature again.Open Terminal and enter following command:

sudo gedit /var/lib/polkit-1/localauthority/50-local.d/hibernate.pkla

copy and paste the following code in file:

[Re-enable Hibernate]

Identity=unix-user:* Action=org.freedesktop.upower.hibernate
ResultActive=yes

Save file and Exit, then Restart and check.

oldvipera
  • 111
  • 2