[ltp] Re: [SoftwareSuspend-devel] FC3 and Suspend2

Dumitru Ciobarcianu linux-thinkpad@linux-thinkpad.org
Sat, 13 Nov 2004 02:33:32 +0200


On Fri, 2004-11-12 at 19:18 -0500, Volker Braun wrote:
> I am trying to get FC3 to work with Software Suspend 2, and it suspends
> fine. But on the next boot it fails to find the suspended image. I have no
> idea why, worked before. The only difference is, now I use FC3's initrd
> since it is getting difficult to boot Fedora without. I'd love any
> suggestions regarding this. For the remainder, here is a detailed
> description of where I am:


Try adding 

echo > /proc/software_suspend/do_resume

in the init file of your initrd (initramfs would be more technically
corect for FC3 :) but make sure it's before the mounting of the /
filesystem.

step by step:

login as root
mkdir myinitrd
cd myinitrd
cat /boot/initrd-your-version-here.img | gzip -dc | cpio -i
edit init & save :)
find . | cpio -c -o | gzip -9 > /boot/initrd-your-version-here.img

hibernate :)

-- 
Cioby