Suspend-to-RAM on a Debian system the ultra-lazy way

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.

6 Responses to “Suspend-to-RAM on a Debian system the ultra-lazy way”


  1. Gravatar Icon 1 Evgeni Golov

    Just for the record:
    using “hibernate-ram” is easier than “hibernate -F /etc/hibernate/ram.conf” ;-) (Yes, it does exactly the same)

    Regards
    Evgeni

  2. Gravatar Icon 2 spacehunt

    Thanks! Was that a recent addition to the hibernate package?

  3. Gravatar Icon 3 Gunnar

    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)

  4. Gravatar Icon 4 Runa

    On x31 it hibernates to ram just fine, but it refuses to wake up.

  5. Gravatar Icon 5 Ben Lau

    Hi,

    Do you know how to get gnome-power-manager works to suspend-to-ram?

  6. Gravatar Icon 6 spacehunt

    I haven’t tried to suspend via gnome-power-manager… I still do it through the command line at the moment.

Comments are currently closed.





Bad Behavior has blocked 475 access attempts in the last 7 days.