TuxOnIce has a long feature list, including the ability to cancel hibernating or resuming by pressing Escape, image compression to save time and space, a versatile plugin architecture, support for machines with Highmem, preemption and SMP.
In general, you do NOT need to change any configuration file and you do NOT need to install the hibernate package. TuxOnIce automatically determines your swap partition. Just install the 3 packages above and try to supend and resume ("sudo pm-hibernate" in command line).
If suspend or resume does not work, take a look at "/var/log/pm-suspend.log" and "dmesg", provide feedback on the
You may also try to install and use the "hibernate" scripts package, configure tuxonice in /etc/hibernate/* and suspend using "sudo hibernate". To use the hibernate scripts by default, add the hibernate module to pm-utils using:
"echo SLEEP_MODULE=hibernate >> /etc/pm/config.d/00sleep_module"
Install TuxOnIce in ubuntu
Open the terminal and run the following comamnds
sudo add-apt-repository ppa:tuxonice/ppa
sudo apt-get update
sudo apt-get install tuxonice-userui linux-generic-tuxonice linux-headers-generic-tuxonice
sudo ln -s /usr/lib/tuxonice-userui/tuxoniceui /usr/local/sbin/tuxoniceui_text