hibernate + filewriter

Bartosz Świątek shadzik w gmail.com
Wto, 2 Sty 2007, 03:25:27 CET


2007/1/2, Patryk Zawadzki <patrys w pld-linux.org>:
>
> Jest resume2=file:/hibernate
>

or the filewriter, you should first prepare your suspend file - this
can be done by configuring your hibernate.conf file with the
"FilewriterLocation" option, and running hibernate --no-suspend. Then
take a look in /sys/power/suspend2/resume2 for what to pass to your
kernel. You should see something like file:/dev/hda7:0x10011f, in
which case you should append "resume2=file:/dev/hda7:0x10011f" as a
kernel parameter in your lilo.conf file or GRUB's menu.lst.

IMPORTANT: make this entry the default entry in lilo.conf file.

Otherwise, it is likely that you will reboot a non suspendable kernel
on a resume image which may lead to unpredictable results, including
severely damaging your filesystem. It may be useful to have another
boot option with kernel parameters "resume2=swap:/dev/hda3 noresume2"
instead. This will allow you to skip resuming and boot normally. Once
again, it is also advisable to keep an original version of the kernel
in your boot options.

When you're happy with your file don't forget to run lilo (if you use
LILO) and reboot into the suspend-enabled kernel. It should boot and
run the same way as your original kernel. The only difference you
should see immediately is that the boot messages (dmesg | less) should
contain a note that Suspend2 has started (eg, "Software Suspend
2.1.8.9: Suspending enabled.").

Powinno pomóc.


Więcej informacji o liście dyskusyjnej pld-devel-pl