Showing posts with label hibernation. Show all posts
Showing posts with label hibernation. Show all posts
Wednesday, September 6, 2017
Ubuntu Regaining the hibernation option in 13 10
Ubuntu Regaining the hibernation option in 13 10
For a while the hibernation option is disabled in ubuntu linux by default. This is because of compatibility issues. There are certain conditions that have to be met for it to work, otherwise it just causes system crashes.
The most important condition is that your swap partition where the contents of your RAM will be saved has to be at least as big as your RAM. You can chack this by typing free in the terminal. If your total swap is larger than your ram, hibernation should work.
You should also manually test hibernation with the sudo pm-hibernate command. If it works, you can restore the menu functionality by running the following command:
sudo gedit /var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Copy this as the content, save and close the file:
[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
After the next reboot you should have the hibernate option available again.
download file now
Saturday, August 12, 2017
Ubuntu Hibernation
Ubuntu Hibernation
Setting up Hibernation on newer Ubuntu OS was quite a pain to me - as I use Ubuntu mostly on my laptop, hibernation is quite a feature I need, putting the computer into sleep mode consumes more battery than hibernating it.
While Ubuntu disabled hibernation by default since 14.04 (or earlier, I dont really know, I jumped to 14.04 from 13.04 and skipped 13.10)
The following link is a page from the documentation of Ubuntu detailing how to re-enable hibernation through the Terminal and gedit (the default editor of Ubuntu).
Well, there is a catch though - you will need to set up a swap partition as least as large as your usable amount of RAM. So, say you have a computer with 8GB of RAM and 128GB of storage, you will have to make a partition of 8GB and mark it as the swap area while installing Ubuntu.
If youre not sure if you did so, you can test if your setup allows you to hibernate by running the following command in Terminal:
sudo pm-hibernate
Ubuntu Documentatoin on Hibernation:
http://ubuntuhandbook.org/index.php/2014/04/enable-hibernate-ubuntu-14-04/
download file now
Labels:
hibernation,
ubuntu
Subscribe to:
Posts (Atom)