Hi,
win4lin was included in swsusp2 but was recently ditched. I'll see if I can add it back in the next release.
As for swsusp2, the easiest setup is that which uses swap space. The filewriter is a little bit slower and requires some extra steps to work. A quick (and probably incomplete) howto:
- Install the latest hibernate-script (in portage).
- Setup /etc/hibernate/hibernate.conf to use swsusp2 and the filewriter, specifying which file to use and its dimension. You don't need to create it beforehand, the script will do it for you.
- Try to hibernate; it will fail and spit out some useful messages. Basically you need to specify in grub or lilo
the _position_ of the file (_not_ its path!), which will be expressed in some nasty hexadecimal number. On my system:
Code: Select all
kernel (hd0,1)/boot/vmlinuz-2.6.11-morph10 root=/dev/hda6 resume2=file:/dev/hda6:0x4bcf0f
To see which is the hexadecimal position of your file you have to check out an entry in /proc IIRC (sorry for not being more specific, I did it quite some time ago).
Then it is always possible that swsusp2 has some glitches. I recommend to check out the mailing list, it is very friendly and helpful (
http://suspend2.net).
Please note that the hibernate script also supports suspend-to-RAM, with the extra benefit that it can unload problematic modules and stop processes that do not want to freeze, before suspending.
Hope that helps
