Debian – How to hibernate in Debian Jessie

debianhibernate

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?

Best Answer

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:

Related Question