aka Suspend-to-disk.

learn more… | top users | synonyms

14
votes
11answers
4k 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 ...
13
votes
3answers
627 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 ...
10
votes
1answer
581 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
1k 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
242 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
3k 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: ...
6
votes
1answer
1k 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 ...
4
votes
2answers
115 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
3answers
441 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 ...
4
votes
1answer
139 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
411 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
1k 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
2answers
2k 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
156 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
1k 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
447 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
413 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 ...
2
votes
2answers
3k 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
89 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
3k 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
1answer
8k 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
1answer
251 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 # ...
2
votes
2answers
114 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
1answer
223 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
566 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
583 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
2answers
95 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
0answers
163 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", ...
2
votes
0answers
396 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
204 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
84 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
811 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
211 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
182 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
2k 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 ...
1
vote
1answer
123 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
430 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
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 ...
1
vote
1answer
1k views

How to re-enable hibernate in Kubuntu 11.10?

After making some changes to my swap space, namely deleting and recreating swap space, my Kubuntu 11.10 has lost hibernate functionality. Although the button has returned, hibernating only appears to ...
1
vote
1answer
228 views

Auto-hibernate with udev rule

I'm using Debian Jessie with systemd. In the past I've used an acpid script that let's my computer hibernate when the battery is 5% or below. In an attempt to make a replacement for that I've made ...
1
vote
1answer
212 views

any utility on centos 6 to sound an alarm when power is low

Is there an application that will set an audible alarm when the battery goes low on a centos 6 IBM 430 machine? Details of the problem here: I have set it hibernate when battery is low. However, it ...
1
vote
0answers
42 views

Linux randomly hibernates [on hold]

I'm facing some issues with Linux (Fedora and Ubuntu). First of all, when I installed Ubuntu it was sort of hibernating when booting then I installed Fedora, everything works fine, but when I boot the ...
1
vote
1answer
32 views

Connect XFCE's hibernation option with proper command

After configuring hibernation to swapfile with this instruction https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition commands s2disk & pm-hibernate are work fine. However ...
1
vote
0answers
112 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 ...
1
vote
0answers
80 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
1
vote
0answers
541 views

Opensuse 13.2 doesn't hibernate when closing laptop

I've recently upgraded to OpenSUSE 13.2 and everything seemed to be working fine. The last couple of days I noticed, when I close the laptop it would not hibernate. I tried to go into Gnome Tweak and ...
1
vote
0answers
31 views

VirtualBox resume from hibernate does not mount shared folder

I am facing the problem that after returning from hibernate, it does not mount the shared folder anymore. As the following shows in /media folder: lrwxrwxrwx 1 root root 6 May 2 2014 cdrom ...
1
vote
0answers
68 views

Mouse + network turned off after suspend

(After upgrade from Debian Wheezy to Jessie), my mouse is not turning on again, when I wake up my computer (from suspend-to-ram sleep). Is there something that I can add to /etc/pm/... ? ...
1
vote
1answer
440 views

Disabling hibernation in debian testing (lxde)

I have a dell inspiron 6000 laptop running debian testing lxde. I can't figure out how to disable hibernation once the lid is closed. Do I modify the systmd files or the lib/systemd/systemd-sleep ...