2

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 (I can see the normal console boot message though).

So I wanted to install the uswsusp package, but it seems to be not available on Jessie.

Any ideas how I can enable hibernation on Jessie without uswsusp?

3 Answers 3

2

This solved it for me. Apparently some BIOSes will not work with 'platform' which is the default.

# fix for current boot
echo shutdown > /sys/power/disk

To fix it across reboots:

# or fix permanently
apt-get install sysfsutils
echo "power/disk = shutdown" >> /etc/sysfs.d/local.conf
/etc/init.d/sysfs restart

Documentation:

1
  • /etc/init.d/sysfs restart or /etc/init.d/sysfsutils restart (depending on your Debian?)
    – dawid
    Sep 30, 2016 at 15:05
0

Gnome users under Debian Jessie, need to install [https://extensions.gnome.org/extension/755/hibernate-status-button/] (Hibernate Status Button) extension.

0

With systemd one should create /etc/systemd/sleep.conf with the following content:

[Sleep]
HibernateMode=shutdown

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .