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?

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:

  • /etc/init.d/sysfs restart or /etc/init.d/sysfsutils restart (depending on your Debian?) – viyps Sep 30 '16 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.