Next
Previous
Contents
3. Testing hibernation3.1 Installing the hibernate script The best way to use TuxOnIce is to use the hibernate script. This script
should be available on same site as the TuxOnIce patch. Download it to
# cd /tmp # tar xzvf hibernate-script-0.99.tar.gz # cd hibernate-script-0.99 # ./install.sh #This will install the script, a default configuration file, and some man pages. You may wish to edit /etc/hibernate/hibernate.conf to taste, depending
on how much of your hardware hibernates correctly, and how many little features
you'd like.
If you are using an RPM-based system, RPMs are available from the same website. If you are using a Debian system, you may point your apt sources at Gentoo packages are available in Portage. Check that the directory of If you want users to be able to hibernate, use
Host_Alias LOCALHOST=localhost,<your hostname> ALL LOCALHOST=NOPASSWD: /usr/sbin/hibernate * See man sudoers(5) for more information. Users will then be able to do
3.2 Hibernating in text mode For testing hibernating, you should begin by testing text only suspension.
Switch to a console by Now try 3.3 Hibernating with X running You can now recover your graphical session (by typing Next Previous Contents Last updated: Wed, 10 Feb 2010 08:02:58 +0800 Frozen penguins image by darkmetal and adapted by Nigel Cunningham "Tuxsicle" artwork by Pierre-Philippe Coupard Copyright © 2003-2005 Bernard B |