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 not saving any session data
#1
Been using Linux Lite for a good few months now, and I love pretty much everything about it! The only problem I haven't been able to fix is hibernate issues. Anytime I got to hibernate, no session data is actually saved, I just boot back up as if I had fully shutdown the laptop.

I haven't found many other people sharing this problem, so I'm not sure if it just might be a hardware issue. I noticed that LL didn't make a swap partition when I first installed it, though from what I understand Ubuntu moved away from that towards swap files, so that might not be an issue.

Computer Information:
Dell Inspiron 11-3168
Pentium CPU, 4gb RAM, 120GB SSD
Reply
#2
Hi,

A question for you; Does it do the same thing if you CHOOSE hibernate from the shutdown menu?
Oh, and if you had another OS, did the hibernate work?

Cheers!
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
Reply
#3
Yup, regardless of whether I choose hibernate and regardless of whether I check or don't check the "save session for future logins", it doesn't change and I just get a normal reboot.

I had Windows before, and hibernate worked fine, would just close the laptop and it would hibernate itself after about 20 mins.

I have noticed that some apps seem to be lacking some kinda of recovery files that they expected to have, like Firefox always saying "we couldn't restore your tabs", focuswriter always saying that it coudln't pull up the last session, etc.
Reply
#4
Use Suspend if you want to resume your work. At the end of the day, both save into low power mode but Suspend is more reliable as it uses ram, just make sure you have plenty of it (ram).

Sent from my Mobile phone using Tapatalk
Reply
#5
Yeah, I was doing that for a bit. The big reason I stopped is because I'll shut my laptop after class/when I need to move to a new place, forget to take it back out/get caught up in something else, then I won't open my laptop all day and by tomorrow it will be dead. Plus it was nice not having to worry about charging it every new time I opened it, cause after like 4 hours suspend has eaten a good chunk of battery.
Reply
#6
what worked for me
1.- Copy the UUID number series of your swap
$ cat /etc/fstab
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

2.- Edit the file / etc / default / grub and look for the line
GRUB_CMDLINE_LINUX=""
within the "" sticks the UUID swap series thus remaining
GRUB_CMDLINE_LINUX="resume=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

3.- Update the grub
$ sudo update-grub

4.- Check the file "resume" is the same as the UUID of your swap
$ cat /etc/initramfs-tools/conf.d/resume

5.- update the initramfs
$ sudo update-initramfs -u

6.- Restart


Note: it works on touch
the only inconvenience that I see is that once hibernated when resume does not ask for the password of the user, that picardia  ;D

https://help.ubuntu.com/community/SwapFaq
Reply
#7
Remember to backup BEFORE it is impossible

(10-27-2018, 11:41 PM)suzykersten link Wrote: Computer Information:
Dell Inspiron 11-3168
Pentium CPU, 4gb RAM, 120GB SSD

(10-27-2018, 11:41 PM)suzykersten link Wrote: I haven't found many other people sharing this problem, so I'm not sure if it just might be a hardware issue. I noticed that LL didn't make a swap partition when I first installed it, though from what I understand Ubuntu moved away from that towards swap files, so that might not be an issue.

Computer Information:
Dell Inspiron 11-3168
Pentium CPU, 4gb RAM, 120GB SSD

Yes ubuntu 18.04 and ubuntu 18.04 based distros use swapfile by default, but they can also use swap partition if configured. Swapfile is created when you installed your system and it is maxed out at 2GiB or 5% of your SSD storage (5% of 120GiB SSD is 6GiB) by default. Here is the problem your swap partition/file must be equal or larger than your RAM=4GiB and now it is 2GiB

Do this
(02-21-2019, 03:27 AM)xmen123 link Wrote: what worked for me
1.- Copy the UUID number series of your swap
$ cat /etc/fstab
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

2.- Edit the file / etc / default / grub and look for the line
GRUB_CMDLINE_LINUX=""
within the "" sticks the UUID swap series thus remaining
GRUB_CMDLINE_LINUX="resume=UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

3.- Update the grub
$ sudo update-grub

4.- Check the file "resume" is the same as the UUID of your swap
$ cat /etc/initramfs-tools/conf.d/resume

5.- update the initramfs
$ sudo update-initramfs -u

6.- Restart


Note: it works on touch
the only inconvenience that I see is that once hibernated when resume does not ask for the password of the user, that picardia  ;D

https://help.ubuntu.com/community/SwapFaq



But instead of getting your swap partition UUID from fstab create swap partition with Gparted and then do steps 2-6 from xmen123's post.
Or reinstall your system and select "something else" when it asks how to install and do bigger swap partition manually.
Or live without hibernation and only use suspend it shouldn't use more than 15% of battery life if you suspend it for 4hours. Mine machine uses about 40% of battery life in 24h when suspended.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)