Questions tagged [hibernate]

aka Suspend-to-disk.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 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 ...
0 votes
0 answers
26 views

Hibernate sometimes works and sometimes doesn't

My system is set up for hibernation and everything works mostly fine. However sometimes the system won't hibernate. When I issue the hibernate command it disconnects WiFi but doesn't go to sleep. A ...
1 vote
1 answer
69 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 ...
  • 397
0 votes
1 answer
32 views

Why does hibernation require a swap space to be roughly equal in size to total system RAM when we have file mapping and demand paging?

It is my understanding that pages in memory containing things like program text and shared libraries that have associated real world files will actually map to that associated file instead of swap (i....
  • 1
0 votes
1 answer
42 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 ...
27 votes
1 answer
3k views

How does the kernel know it's resuming from hibernation, not booting?

When a Linux system hibernates and resumes from hibernation, I think that the kernel needs to know that it's resuming, not booting. Otherwise, the kernel will start the usual boot process, and will ...
0 votes
0 answers
26 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 (...
  • 859
0 votes
0 answers
20 views

Reasons for a laptop to shut down while suspended?

I have a 5 and a half year old HP laptop. It's starting to show its age, but it otherwise works fine. But last night something weird happened, as the laptop shut down while it was suspended. Battery ...
0 votes
1 answer
22 views

Can we hibernate only users' graphical sessions

Consider that I'm using two users at distinct times on my PC. They both need ram that causes swapping if I switch from one to the other. One solution is to log-out of one user and then log-in to (...
  • 135
2 votes
1 answer
104 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 ...
1 vote
1 answer
99 views

How to hibernate AWS EC2 instance from inside it?

I have an EC2 instance (Amazon Linux AMI 2018.03) which I can hibernate from outside it — using the console, or AWS CLI. Is there any way to hibernate it by running a command inside it? Some Linux ...
0 votes
1 answer
434 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
1 answer
25 views

How can I avoid text and icons disappearing or breaking after laptop hibernation?

Whenever I close the lid of my laptop for more than 5 seconds the following happens: A lot of text and icons / images disappear completely or get distorted. This includes app bar, menu items in top ...
0 votes
2 answers
143 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!
  • 179
1 vote
1 answer
145 views

systemd screen lock with fingerprint on wake

5.18.9-arch1-1 Fingerprint sensor: 27c6:63ac Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC I created a systemd service that runs a bash script when the system wakes from hibernate: [Unit] ...
  • 143
0 votes
0 answers
284 views

rtcwake: write error and PM: Swap header not found!

When I run $sudo rtcwake -m disk -s 60, it shows: rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "disk" using /dev/rtc0 at Fri Jul 1 10:09:45 2022 rtcwake: write error I created a ...
0 votes
0 answers
233 views

Touchpad stopped working after hibernate on Thinkpad X1 Carbon 2nd Gen

So whenever the laptop goes into hibernate the trackpad will stop working. If I restart or shut down it will come back. I have seen a number of posts about this, like this one: Touchpad stopped ...
  • 1
0 votes
0 answers
374 views

Ubuntu go on emergency mode and not booting at all going to root

I was trying to incorporating hibernate in Ubuntu when the lid closed. I used the command sudo gedit /etc/systemd/logind.conf and changed the line after removing # #HandleLidSwitch=suspend to ...
4 votes
0 answers
83 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 ...
0 votes
1 answer
152 views

The computer wakes up every 5 minutes

I try to set up my system (Arch Linux) to suspend when LID closed, and then to hibernate after 10 minutes. For this I try to use systemd's suspend-and-hibernate: I have HandleLidSwitch=suspend-then-...
1 vote
0 answers
300 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 ...
0 votes
1 answer
75 views

How to hibernate Linux To Go to disk and restore it on a different device?

I have my Linux installed on a portable SSD, so I can switch devices (laptop at home, desktop in office) easily and don't need to consider any syncronization problems. This is called Linux To Go. It's ...
0 votes
0 answers
116 views

What, exactly, can trigger the appearance of the GRUB boot menu?

On my Dell Inspiron 15 laptop with Ubuntu 18.04 and kernel version 4.15.0-177-generic (and no dual boot) the GRUB boot menu appears when the system resumes from hibernation. Simply selecting the ...
0 votes
0 answers
63 views

Is there an option to disable wall messages on hibernation?

Since the latest system update I get the following message broadcast by wall to all my terminals when hibernating my machine: Broadcast message from myuser@mymachine (Tue 2022-05-24 16:59:29 UTC): ...
  • 1
0 votes
1 answer
326 views

ACPI trigger wakeup on low battery while suspended, in order to hibernate

I want to hibernate on low battery: SUBSYSTEM=="power_supply", \ ATTR{status}=="Discharging", \ ATTR{capacity}=="[0-5]", \ RUN+="/usr/bin/systemctl ...
  • 1,720
0 votes
1 answer
509 views

hibernation or suspension during system logged out prevent form network connection ssh

Debian 11 bullseye I know there are 1008 threads on hibernation only in Unix&Linux. However, I could not find the answer to my problem. I cannot SSH my PC when it is logged out. I suspect this is ...
2 votes
2 answers
986 views

Patching the kernel to allow hibernation with secure-boot enabled

My current config is Windows-11 (required for my job) and Ubuntu 21.10 dual-booting on an HP Probook G10. Since I have to have secure-boot to run Win-11, I have to live without hibernation on Linux (...
  • 143
1 vote
1 answer
702 views

How can I suspend|hibernate for certain time

I try to give a behavior to a closing lid of a laptop following this rules: When the lid is closed: After 1m, it should be screenlocked ; After 10m, it should be suspended ; After 15m, it should be ...
  • 1,112
0 votes
0 answers
199 views

Alpine Linux becomes unreachable after a certain period of inactivity

I have installed Alpine Linux as OS for a mini server. I have correctly configured the server to be reached via ssh (openSSL) and my programs run on docker containers. I use a wired connection. The ...
1 vote
0 answers
62 views

Using hibernate with bcache

I have writethrough bcache working on Debian Sid with an underlying LUKS + LVM. My swap partition (already present) is lying unused as an LVM volume. I know that I am supposed to stop bcache before ...
0 votes
0 answers
155 views

Hibernate (suspend to disk) without filesystems sync

I am debugging an issue with hibernation on my system, and (long story short) it boils down to hibernate.c invoking filesystem sync (ksys_sync_helper) before freezing the processes and then ...
0 votes
0 answers
419 views

How to fix no USB power after suspend on Manjaro?

After suspend and resuming, my USB aren't powered anymore and it won't disover the devices on my Tinkpad E14. (I have a hub on which my PC and mouse are plugged in.) On reboot, everthing works fine ...
  • 14.4k
2 votes
2 answers
1k views

Touchpad stopped working after hibernate on Thinkpad X1 Carbon

I've got a Thinkpad X1 Carbon Gen 9. When I hibernate on Ubuntu 21.10 or Pop!_OS 21.10 or Manjaro, the touchpad either stops working after resume or the cursor moves very choppy. Both with Wayland ...
3 votes
1 answer
1k views

uswsusp package has gone in Debian Bullseye

uswsusp, which is used for hibernation, presents latest in the old stable, but has gone in Bullseye (the current stable). What is it replaced with?
  • 714
1 vote
0 answers
2k views

hibernation disabled but :: kernel: PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]

MATE on Arch with 'Do Nothing' selected for all power options in the power management GUI. Have run systemctl disable on all systemd hibernation and sleep services. But the journal shows this : Aug 26 ...
0 votes
2 answers
291 views

Fedora-33: This suddenly does not work: "root# exec systemctl suspend"

I don't know why, but until recently this command no longer works: root# exec systemctl suspend The system does try to suspend, with the screen even momentarily going off, but then it comes right ...
  • 199
1 vote
0 answers
384 views

Scroll wheel doesn't work for wireless mouse after system wakes up

I have a new Lenovo ThinkPad E15 that came with Windows 10 installed. I added Ubuntu 20.04 as an option (dual-boot). Whenever the laptop sleeps (goes into a "suspend" or "hibernate"...
  • 111
1 vote
1 answer
1k views

Disable wake on usb after hibernation

Problem: I hibernate the computer at night and my cat wakes it by stepping on the keyboard. Yes, hibernate a.k.a. suspend to disk, with systemctl hibernate. Not suspend to ram. I used to think that, ...
0 votes
1 answer
437 views

Hibernate not working

I am using Manjaro, and out of the box hibernation was not working, so I made some changes to fstab, mkinitcpio and grub and it worked but after sometime it doesn't hibernate and instead locks the ...
0 votes
1 answer
235 views

rEFInd doesn't find Linux after hibernating while updating

Unfortunately my laptop hibernated on low battery while performing an update, during the installation part of the update. On booting up rEFInd shows only Windows and not Manjaro. The update was of ...
0 votes
1 answer
1k views

Slackware and elogind: how to enable suspend and hibernate for power user?

I'm on Slackware current usingd elogind, I can sleep and hibernate only using sudo from terminal. With the old good pm-utils I had only to edit the 10-enable-suspend.rules, make init 3 && init ...
  • 11.7k
1 vote
0 answers
147 views

Capture sleep, hibernate and wakeup events on Linux

I need to capture these on both laptop and desktop environmetns. Explored 2 options, but unfortunately none of them worked as expected. DBus works on desktop but these events also need to be captured ...
0 votes
2 answers
549 views

Laptop keyboard doesn't work after suspension/hibernation

On my Ubuntu 20.04 (problem persists since 16.04) Sony VAIO laptop if I close the lid, wait till the yellow led to blink and then turn the laptop on again, awakes everything but keyboard, which turns ...
2 votes
1 answer
322 views

Double boot with windows locks NTFS partitions [closed]

First message here. I posted this question also in SuperUser, but it probably gets also exposure here. I'm trying to set up my laptop for double booting Linux and Windows. I have two SSD, one SATA and ...
  • 121
1 vote
1 answer
344 views

Network doesn't works after hibernate/suspend system

I have a Fedora 32 system and it works fine but when I suspend/hibernate the system when it back to online the network is unreachable. $ ip a show enp3s0 2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,...
1 vote
1 answer
340 views

How to hibernate manually?

I can hibernate my laptop via pm-hibernate command without any problems. I want to achieve the same results manually. For this to work, I need to take a snapshot and dump the contents of RAM+swap ...
  • 2,151
0 votes
1 answer
538 views

How to know why computer has awaken?

Sometimes when my computer is on sleep or hibernate, it will randomly wake up. Is there a way to know what caused this? Using Linux Mint 20, but I guess the answer isn't necessarily Mint specific.
  • 270
0 votes
0 answers
83 views

Is it possible to resume a LINUX hibernation putting the disk (with the swap file or partition) in another computer?

Can I put my work computer into hibernation (when the RAM is copied to disk and the computer is shutdown), wait it to switch off, take the hard drive, put it into another (similar, but not identical) ...
  • 161
0 votes
0 answers
425 views

Hibernate to separate partition or file from system swap to prevent failure

Having done a fair bit of reading and searching for this I don't believe what I am hoping for is possible, but wondered if anyone knows differently. The issue is my laptop keeps failing to hibernate ...
  • 121
1 vote
0 answers
236 views

Will hibernation to swap partition automatically fall back to swap file when swap is smaller than RAM?

I'd like to understand how the hibernation process works in Linux, with regards to memory size and swap. Is hibernation limited to swap partition size? What does it do when RAM doesn't fit? Consider ...
  • 155

1
2 3 4 5