LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hibernate No Longer Working
#1
Back in the days of LL.2 both suspend and hibernate worked flawlessly on my desktop.


When I moved up to LL3 I lost the ability to Suspend but was still able to Hibernate . . . . . until the recent round of updates and now neither function works no matter what I do in power manager either option just switches the machine off almost instantly and I have to reboot from scratch next time I want to use the desktop.


Can anyone help in restoring hopefully both, but at least one of the Suspend and/or Hibernate functions to my desktop please
Reply
#2
[member=1997]Daveyboy[/member] there are so many variables for Suspend and Hibernate... Since you mentioned that Hibernate did work before, I'm going to try to help with that first:

If the latest updates is what caused it to stop working, I't might be related to the kernel version installed and its hardware support. I'm truly shooting in the dark to help you out here, so if we are lucky enough we will get Hibernate working in just few steps. 

I'm assuming you have not messed with the swap partition or the system in general, so that defaults are pretty much in place.

Let's give Hibernate a try... From Terminal: See the screenshot please, I had to add spaces to the command below because otherwise I couldn't post it in the forum.

Code:
grep swap /etc /fstab
# swap was on /dev/sda6 during installation
...

[Image: 05ju0oE.png]

Let's now add the swap partition ( /dev/sda6 in my case ) as a boot parameter in grub so that the system knows from which partition to resume: Again, remove the space in /etc / below:

Code:
gksu leafpad /etc /default/grub

Find the line:

Quote:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and add resume=/dev/sda6  (replacing /dev/sda6 with your own). Te result should look as follow:

Quote:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/sda6"

[Image: Nuo11hK.png]

As usual, any time you make changes to /etc /default/grub, you must update-grub or the changes will have no effect. From Terminal:

Code:
sudo update-grub


Reboot the computer and try to hibernate after next reboot.

I hope that helps.
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#3
Hi Ralphy
Once again you come to my rescue and I am happy to confirm that Hibernate is now working correctly.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)