aka Suspend-to-disk.

learn more… | top users | synonyms

18
votes
11answers
10k views

Screen corruption after hibernate — Is there another way to refresh the X11 display?

When I restore from hibernate the screen is often corrupted. I suspect the graphics memory is not being saved. Suspend-to-ram works fine otherwise. It also looks like the font-cache is corrupted, as ...
16
votes
3answers
2k views

How to properly lock desktop when hibernating?

If I lock the screen, hibernate by closing the laptop lid, open the laptop lid and press the power button, the screen will just show a black surface and I can start typing the password immediately. If ...
12
votes
2answers
4k views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ExecStart=/usr/bin/...
10
votes
1answer
645 views

What happens to data in swap when your computer hibernates?

When a computer goes into hibernation mode, it saves the contents of the RAM into the swap space so that it can resume exactly where it left off when it powers back on. So, what if you are currently ...
8
votes
3answers
2k views

Samsung Ultra book won't wake up after hibernate and suspend on Crunchbang

I've been struggling for a few hours to get suspend and hibernate working on my Samsung ATIV BOOK 9 Lite. When I try to resume the screen power led goes on, but screen stays black. The capslock led ...
7
votes
2answers
258 views

Hibernate and security considerations

How do Linux and OSX handle sensitive memory pages (e.g. cryptographic keys) when running OS is suspended to disk? If the memory image written is encrypted, how are its keys handled?
7
votes
1answer
4k views

Linux Mint: Hibernate does not work

I have tried hibernate multiple times on my Linux Mint 14. It does not seem to work. I have added some log which I think may be useful. Can someone help me diagnose the problem? laptop model: I: ...
5
votes
3answers
1k views

A way for saving running state of a program

I have a program that will perform a lengthy calculation which may take several days to be completed. Is there a way to save the program's running state; so I will be able to turn off the computer ...
5
votes
1answer
327 views

How to make GRUB resume from hibernate in a dual boot PC

I have a laptop running two different GNU/Linux-based operating systems. Each operating system has it's dedicated root and home partition, but share the boot and swap partition. They both work quite ...
4
votes
2answers
153 views

Can swap be shared safely while hibernating?

Suppose I have two different Linux installations A and B, both using the same swap partition. As I understand, running A or B will cause no problems with swap as only one of them is using it at a ...
4
votes
1answer
46 views

How will hibernation work in two Linux installations sharing a swap partition?

This question is a more specific "subquestion" of the one about side effects when two distros share a swap partition. What will actually happen if I install two Linux distributions on my machine with ...
4
votes
1answer
215 views

Where is hibernation resume getting the device node from?

A while back, I set up hibernation on my Linux system. It's been working really well, up until tonight when I installed another hard disk, which shuffled the device node names around. So now on boot I ...
4
votes
1answer
476 views

If I close the laptop lid the next boot fails

I never shutdown my laptop. I use hibernate instead. Hibernate and suspend are working, but if I close the lid after clicking "Hibernate" the next boot will crash. I see a black screen that never goes ...
3
votes
1answer
3k views

Not wake up after suspension

My OS is Ubuntu 12.04 on my laptop Lenovo T400. I had been using it quite well until this week. After suspending Ubuntu, whenever I lift the laptop lid (if the lid is closed), or press "Fn" key (if ...
3
votes
3answers
3k views

hibernate to disk not restoring, but suspend to ram is working

I have Debian 6, I have also seen this under Ubuntu (can not remember how I fixed it). I can hibernate, but when I switch on the system cold boots (it does not restore previous session). Note ...
3
votes
1answer
247 views

Where is the ability to hibernate exposed on Linux?

When I boot with a resume=.. option to the kernel and an initrd built with a -h option, userland tools (say, batti) offer me the choice of hibernation; when I boot without them it does not. Where is ...
3
votes
2answers
2k views

Removing supend and hibernate privileges

On OpenSUSE 12.1 x86_64, Gnome 3.2 . I want to remove the suspend and hibernate options from the Gnome (Shell) menu as suspend makes no sense IMO for a desktop hibernate has a slight tendency to ...
3
votes
1answer
470 views

Crunchbang hibernate rebooted system?

I installed the latest stable 64bit Crunchbang backport. When I tried to hibernate it last night, it rebooted into the locked state - when I logged back in all my windows/apps were as they were again. ...
3
votes
2answers
709 views

Auto restart ssh session after sleep

I have an active ssh session to a remote server that it would be nice to be able to restart upon waking from sleep/hibernate (ubuntu), and seamlessly restore tunnels. The Gnome Terminal window is ...
3
votes
0answers
23 views

Laptop sleeps by itself - in logs “Sleep requested” - requested by what?

I left my Linux laptop on with the lid open while it was on battery power for several minutes, and it went to "sleep" (according to the systemd journal) - I assume this means the same as hibernation? ...
3
votes
1answer
34 views

Mint 17.3 Wi-Fi does not work after resuming from suspension

My Wi-Fi will not work after suspending but WILL work after hibernating. I've tried a couple things and have had some luck so I'll post what I've done and the effects I've seen. $ sudo lshw ...
3
votes
0answers
1k views

Why does resume from hibernation pause/hang?

I used suspend (to ram) for a long time, and it worked flawlessly. Recently, I started using hibernate (to disk) - not-quite-flawlessly. Hibernate-to-disk works (from the terminal, so far - as pm-...
2
votes
1answer
5k views

No hibernate option in power manager on Mint 16 MATE

In my fresh install of Linux Mint 16 with MATE, I have no hibernate option in the Power Manager; only suspend and shutdown. In the Quit menu I have hibernate as an option. Also sudo pm-hibernate ...
2
votes
2answers
4k views

Howto make hibernation work under Fedora 19

I tried two methods to enable hibernation. First method was invoking systemctl hibernate under root. The second was to use Frippery Shut Down Menu. In both cases the system will eventually ...
2
votes
2answers
5k views

How to hibernate a RHEL6 machine?

I am using RHEL6 and I don't see a hibernate option for it. Doesn't RHEL6 have a hibernate option? I tried pm-hibernate from command line but it said: PM: Cannot find swap device, try swapon -a ...
2
votes
1answer
109 views

Linux Fedora: can I preserve what I am doing so that everything will be restored when I power up again

I have Linux Fedora 20, with Gnome classic desktop. When I power down, via the "Power Down" icon on the top bar, everything shuts down, and everything is gone when I power up again, although I can ...
2
votes
1answer
642 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
2
votes
2answers
389 views

Does the debian setup with lvm also encrypt the swap partition?

I'm planning a fresh debian install on my notebook and want to have full disk encryption. But I mainly hibernate, which is why I want my swap to be encrypted as well. During the graphical expert ...
2
votes
1answer
11k views

How to restore a Fat32 filesystem under Linux

Here is what happened: I used the Laptop and accessed some data on my usb stick. Then I closed the Laptop putting the system into sleep mode. The USB-Stick was still plugged in. After the laptop was ...
2
votes
2answers
70 views

Is it possible to configure hibernation to be safe to use in a single OS, single boot, with multiple kernels or system “snapshots”? [closed]

This is my third question in a day about hibernation, after the one about hibernating in a dual boot with shared swap, and another about hibernating in a dual boot with a shared writable partition. I ...
2
votes
1answer
74 views

Why reboots the system after a long hibernation?

I set up my ASUS X551-CA laptop for hibernating. When tested hibernation, it worked but after a longer period (more than 10 minutes) the system resumes and instantly reboots with file system warnings ...
2
votes
2answers
2k views

How to hibernate a Debian 8 Jessie machine from command line? (S4 state)

I have this old low-end desktop PC that I installed Debian on. This machine only supports wake on LAN on the S4 state, which is hibernate (suspend to disk?). When this machine had Windows I just ...
2
votes
3answers
4k views

How to hibernate in Debian Jessie

When I use the "hibernate" button in the Xfce menu on Debian Jessie (testing) The system seems to correctly hibernate and power off. Then when I power on again to resume it hangs before X is started (...
2
votes
1answer
408 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # 00screensaver-...
2
votes
2answers
140 views

Swap separation for multiple distributions [duplicate]

I have 3 Linux distributions on my machine (Ubuntu, Arch and Fedora). I allocated half the RAM size (3GB) as swap for each of them. (I have realized that having 3 distributions is not of much use to ...
2
votes
2answers
337 views

Keeping disk caches when hibernating

Is there a way to keep disk caches when hibernating Linux? I understand and agree that dropping them is the best option all-around. But my system is unresponsive after resume and I would like to give ...
2
votes
1answer
586 views

Hibernate does not power down laptop

I have an Asus U30J laptop with both windows 7 and Linux Mint 12 installed. When I try to hibernate the laptop, the following message appears on the screen and I have to push the power button to ...
2
votes
1answer
699 views

How do I hibernate my PC when I press the power button

Is there any way to make my PC hibernate when I press the power button? By power button I meant my CPU's power button. Obviously when I press this button somewhere some signal is sent which I don't ...
2
votes
0answers
39 views

Hibernate mode in uefi on linux

I wanted to know how sleep and hibernate mode work on UEFI. Basically I want to know which files are created and/or edited when a linux machine is put into hibernate mode. I read online and found out ...
2
votes
0answers
441 views

How to debug Debian Jessie freezing on resume?

Every time I suspend my machine (at least the options say it is a suspend) the machine freezes within one minute of resuming. It seems to work fine for about a minute. After running for a bit, the ...
2
votes
0answers
335 views

Udev running hibernation script

I have this udev rule that launches a script when the battery level is 5% or below: $ cat /etc/udev/rules.d/90-lowbat.rules: SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="...
2
votes
0answers
501 views

Linux Mint 16: Petra - Can't wake from hibernate

I have used Linux Mint 16 Petra - cinammon version for a few months. At first hibernate worked pretty well. Now I cannot wake from it - when I try to, the screen just goes blank and nothing responds ...
2
votes
0answers
393 views

How to use systemd hybrid-sleep instead of suspend under GNOME in Linux? [closed]

How can I make GNOME 3 use systemd hybrid-sleep instead of suspend, when closing the lid or using suspend from the menu?
2
votes
0answers
109 views

X hangs after hibernating Fedora 18

Yesterday I was using my FC18, of which I haven't updated significant packages for long time, maybe just a few desktop apps some weeks ago. On shutdown I chose to hibernate it, as I usually do and as ...
2
votes
0answers
857 views

Linux Mint 15 does not Hibernate

I just did an install of Linux Mint 15 Olivia with Cinnamon, and it's been running fine so far. However, I just tried to hibernate the system by doing Menu -> Quit -> Hibernate, and it just brings me ...
2
votes
0answers
290 views

What caused this ext3 filesystem / mounting problem?

((K)Ubuntu 12.04, kernel 3.2.0-38-generic, fstype ext3) I recently came across the 'great idea' of using hibernation to save state in my main OS, while I boot another OS. I've done this without ...
2
votes
0answers
1k views

My laptop is not able to recover from suspend and hibernate

I have a acer aspire 5750G laptop. I am running ubuntu 11.04. The uname -a reads the following: Linux admin-Aspire-5750G 2.6.38-13-generic-pae #56-Ubuntu SMP Tue Feb 14 14:32:30 UTC 2012 ...
2
votes
0answers
191 views

What are the current differences between tuxonice and µswsusp?

I tried to find out what is the current comparation between TOI and µswsusp. Unfortunately I could not find any recent information about the state of hibernation in Linux and how TOI compares to ...
1
vote
1answer
136 views

Setting up linux with enought swap space to hibernate

Using Debian wheezy graphical install I want to ensure I have enough swap space to hibernate, what are the simplest steps to achieve this?
1
vote
1answer
1k views

Resume from hibernate fails after image restoration

I've been trying to get hibernation to work, and am having problems. The system seems to go into hibernation just fine, but when I try to restore from disk, the process stops just after a message ...