LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2020, 03:49 AM   #1
humblelion
LQ Newbie
 
Registered: May 2020
Posts: 1

Rep: Reputation: Disabled
Cannot get hibernate to work


Debian Sid, No DE, w/ i3wm

4gb RAM & swap

I am trying to setup hibernate on Acer Aspire laptop from 2017 using the guide from Arch wiki (Debian guide is outdated, checked other forums that I know but no luck)

I tried it in my swap file /swapfile, not working, then I create swap partition, still the same thing happen.

Both swap that I used is working on suspend/sleep

This is what I did to setup hibernate:

1. Add resume=UUID=45a8aaf2-70c0-4e5d-af58-01d2ae34cf6d resume_offset=1409024 to /etc/default/grub
2. Add RESUME=UUID=45a8aaf2-70c0-4e5d-af58-01d2ae34cf6d to /etc/initramfs-tools/conf.d/resume
2. update-grub && update-initramfs -u
3. reboot then systemctl hibernate

It will turn off the screen by 10 sec and turn back on, no shutdown, just nothing happens after that.

dmesg output: https://pastebin.com/bNFsdw6D

Can you give some suggestions to make this work? Any problems with my setup?
 
Old 05-30-2020, 08:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
This is a complete and total shot in the dark, but . . . .

This may be because RAM and harddrive space are measured in different ways. RAM is measured in binary, diskspace in decimal.

4GB RAM in 4096 MB. 4GB HDD ia 4000 MB.

This was not the result of some kind of plot. It's just the way stuff developed in the early days of computing.

(I tried to find a citation for this, but was buried in too many irrelevant links, but I do remember reading this some while ago.)
 
Old 05-31-2020, 03:20 PM   #3
Hermani
Member
 
Registered: Apr 2018
Location: Delden, NL
Distribution: Ubuntu
Posts: 261
Blog Entries: 3

Rep: Reputation: 113Reputation: 113
Maybe TLP could work for you.

https://linrunner.de/tlp/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To hibernate or not to hibernate? Lysander666 Slackware 23 06-09-2020 06:49 AM
Cannot get hibernate to work on 14.2 PetruM Slackware 8 12-10-2018 04:50 PM
Hibernate one distro, de-hibernate another Ulysses_ Linux - Software 8 12-28-2010 09:34 AM
13.1 Beta1 :: KDE SC 4.4.3 :: pm-hibernate works, KDE hibernate just locks the screen zordrak Slackware 7 05-12-2010 03:55 AM
cli hibernate works but gnome panel hibernate fails BCarey Linux - Desktop 1 06-08-2007 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration