Questions tagged [hibernate]
aka Suspend-to-disk.
247 questions
0
votes
1
answer
48
views
Linux - how to hibernate and then start the computer again?
I have a system where I dual-boot linux and windows. When I switch between them, I usually do the following:
Hibernate the old os
Press the power button
Select the new os in grub
However, I would ...
1
vote
0
answers
16
views
Why my attempt to create checkpoint based on hibernate failed?
My idea to create checkpoint based on hibernate is as follow:
First I setup my PC to have overlayfs on root file system. It is working correctly. My root partition is /dev/nvme0n1p2, it is mounted ...
0
votes
0
answers
131
views
acpitool -S: solution to problem of a laptop that won't hibernate properly?
I have been struggling for over a month with a new Lenovo Thinkpad P16 Gen2 laptop running Ubuntu 22.04 LTS, that would not successfully suspend. Maybe 90% of the time it worked okay, the other 10% ...
1
vote
1
answer
58
views
Disabling Secure Boot on a Home Computer running Linux
How likely is it that disabling Secure Boot on a home computer running Linux would suffer from the advertised threat of
unauthorized code—such as bootkits and rootkits—from being executed
during the ...
0
votes
1
answer
176
views
how to fix hibernate in linux debian
I'am trying to make my laptop to hibernate , but it can't , showing me an error (call to hibernate failed : not enough swap space for hibernate )
so my old swap partition was 1giga so i extended it to ...
1
vote
1
answer
163
views
How do I hibernate my Fedora 40 laptop with a swapfile on an encrypted btrfs filesystem?
When I attempt to hibernate, my laptop hangs. It shows the screen wallpaper, then a black screen (as if it's going to hibernate), then the screen wallpaper again. Then it seems to freeze; I cannot get ...
1
vote
1
answer
670
views
Linux Laptop won't hibernate, LVM on LUKS FDE but everything configured OK?
My Linux laptop (openSUSE Tumbleweed) should hibernate but won't and I do not understand why. I have had similar systems (Arch Linux) hibernate under the same circumstances (LVM on LUKS). Here is my ...
2
votes
1
answer
701
views
How do I enable hibernate for all users (no sudo)?
I managed to resize my LVM partitions, set up my swapfile, and disable secure boot, so now I can hibernate with sudo systemctl hibernate. However, I want to be able to hibernate from my power menu (...
1
vote
1
answer
132
views
Why won't systemd run some of my scripts, but it will run others?
I've written a service file based on this old answer that runs a script whenever I wake my Ubuntu 24.04 Wayland PC from suspend. This is the logscript.sh script that's run:
#!/bin/bash
echo "...
3
votes
1
answer
3k
views
Hibernating to swap file on Debian 12 returns "Call to Hibernate failed: Not enough swap space for hibernation"
new Linux desktop user here.
I installed Debian 12 with the default small swap partition, but hibernation didn't work properly, so I followed this guide:
How to use hibernation without a swap ...
1
vote
1
answer
100
views
How does the Linux kernel locate fragments of the swap file when waking from hibernation?
I understand that when waking from hibernation, the kernel does not read the swap file via the filesystem but instead directly from the block device; this is why the resume_offset kernel parameter is ...
0
votes
0
answers
453
views
How can Linux hibernation be enabled under UEFI Secure Boot on RHEL / RockyLinux / AlmaLinux?
When running under UEFI Secure Boot with a current Linux distribution, "kernel lockdown" will be instated. Multiple kernel messages along the lines of
Lockdown: swapper/0: hibernation is ...
0
votes
0
answers
2k
views
How do I stop random sleep/hibernation?
I am currently running Debian 12 on a Microsoft Surface Pro 2 with the 6.4.12-surface kernel from the linux-surface project. However, I have been experiencing the computer's screen turning off and the ...
0
votes
1
answer
405
views
Laptop doesn't wake up after going to sleep
I run Debian with KDE Plasma on Xorg. I have tried all the main ways on the internet to properly wake the computer after it going to sleep. But whatever I do, it doesn't work.
I have gone to the ...
0
votes
0
answers
840
views
Failed to hibernate system via logind: Not enough swap space for hibernation
I'm trying to hibernate via systemctl hibernate but get Failed to hibernate system via logind: Not enough swap space for hibernation
LANG=C swapon
NAME TYPE SIZE USED PRIO
/swap/swapfile ...
0
votes
2
answers
943
views
how to interprete log/journal after failed hibernation
Running $ systemctl hibernate shows login screen after a few seconds in Debian bullseye and GNOME desktop.
Can someone help identify the issue?
$ free -m
total used free ...
0
votes
0
answers
2k
views
Suspend or Hibernate Kali linux after being inactive for a while
I have an Hp ProBook 450G1 with a 500GB HDD and i run Kali linux. Whenever i am not actively using my pc, and i leave it on for a while and i am not connected to power, my laptop remains on which ...
1
vote
1
answer
5k
views
Debian 12 system randomly hangs after suspend or hibernation
It's a laptop from 2010 that has been running XP, Debian 9, Windows 10 and now this new Debian 12 system, and only in this last one it shows this problem: sometimes it resumes ok from suspend or ...
3
votes
1
answer
961
views
Is it possible to use hibernation with secure boot, when using a swapfile on an encrypted root partition?
I'm on Kubuntu 22.10. Given I'm installing onto a laptop with no S3 sleep support, having hibernate, secure boot, and an encrypted drive are 3 things that are pretty desirable. Is it at all possible ...
0
votes
0
answers
62
views
Is resuming from hibernation I/O bound or CPU bound?
I use hibernation (with encryption) on my laptop, which has 16 GB of RAM, and a fast CPU (Ryzen 6700U).
When resuming, the system takes a while to load the image (13/14 seconds).
Is resuming from (...
3
votes
1
answer
503
views
How to run X programs automatically after wakeup from S3 sleep (suspend) or S4 sleep (hibernation)?
The existing question how to run a user script after systemd wakeup? already has answers that allow running scripts after wakeup from sleep. However, the solutions provided to that question require ...
0
votes
1
answer
2k
views
In my dualboot, KDE Neon(Ubuntu based) does not wake up after sleep/supend/closing lid manually, it needs to be started again manually 9/10 times
I think the title covers it all. I have KDE Neon dualboot with Windows 10. 9 out of 10 times, if it gets to sleep mode it does not wake up. I need to press the power button to power on the laptop ...
0
votes
2
answers
346
views
In what file Systemd-hibernate service dumps the RAM content?
I'd wanted to get it from a disk image to analyze with Volatility but I've not been able to find it (I've searched in systemd-sleep.conf file but there's no related directive)
Thanks!
5
votes
0
answers
156
views
wait-then-hibernate on laptop lid closing
I have a problem with suspend-then-hibernate as a lid closing action.
So, instead of suspending, I want my system to turn off and lock the screen and wait 10 minutes (but not suspend) once the lid is ...
1
vote
0
answers
556
views
suspend-then-hibernate after some delay from lightdm
I have a laptop with Arch Linux, lightdm 1.30.0, and JWM v2.4.2. I want my system to do the following:
Suspend and lock the screen after 10 minutes of inactivity.
Then hibernate after 30 minutes of ...