Note: tested to work at least on Thinkpad X60, Debian unstable, recent 2.6 kernel.
# apt-get install hibernate # hibernate-ram
Done.
I thought a lot of people knew this already…
PS. You might need to set IbmAcpi yes in /etc/hibernate/common.conf.
Edit: thanks to Evgeni Golov for the even shorter command.
Just for the record:
(Yes, it does exactly the same)
using “hibernate-ram” is easier than “hibernate -F /etc/hibernate/ram.conf”
Regards
Evgeni
Thanks! Was that a recent addition to the hibernate package?
Wow, a hibernate-to-ram that actually works - and comes back! I’ll be testing it… But it works somehow better than ACPI’s detection of the “suspend” switch in my laptop (which hibernates nicely, but upon comeback cannot start X again)
On x31 it hibernates to ram just fine, but it refuses to wake up.
Hi,
Do you know how to get gnome-power-manager works to suspend-to-ram?
I haven’t tried to suspend via gnome-power-manager… I still do it through the command line at the moment.