You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Hibernate not saving any session data

Author (Read 8450 times)

0 Members and 1 Guest are viewing this topic.

Re: Hibernate not saving any session data
« Reply #7 on: April 20, 2019, 02:08:04 PM »
 

minesheep

  • Forum Regular
  • ***
  • 140
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
Remember to backup BEFORE it is impossible

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

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
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.
 

Re: Hibernate not saving any session data
« Reply #6 on: February 20, 2019, 10:27:01 PM »
 

xmen123

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i3-2310M

  • MEMORY: 4Gb

  • VIDEO CARD: 512
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
 

Re: Hibernate not saving any session data
« Reply #5 on: October 28, 2018, 06:31:41 PM »
 

suzykersten

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Quad core Intel Pentium N3710 (-MCP-) speed/max: 480/2560 MHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Atom/Celeron/Pentium Processor x5-E8000
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.
 

Re: Hibernate not saving any session data
« Reply #4 on: October 28, 2018, 01:16:56 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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
« Last Edit: October 28, 2018, 01:19:50 PM by Jerry »
 

Re: Hibernate not saving any session data
« Reply #3 on: October 28, 2018, 12:11:23 PM »
 

suzykersten

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Quad core Intel Pentium N3710 (-MCP-) speed/max: 480/2560 MHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Atom/Celeron/Pentium Processor x5-E8000
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.
 

Re: Hibernate not saving any session data
« Reply #2 on: October 28, 2018, 01:03:08 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 936
    Posts
  • Reputation: 92
  • Linux Lite Worshipper
    • View Profile
    • My OpenDesktop Projects

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • Kernel: 4.x
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.
 

Hibernate not saving any session data
« Reply #1 on: October 27, 2018, 07:41:23 PM »
 

suzykersten

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Quad core Intel Pentium N3710 (-MCP-) speed/max: 480/2560 MHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Atom/Celeron/Pentium Processor x5-E8000
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
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section