resume problem with s2disk: swap gone
hello forum,
I want to use s2disk to save my machine state in order to resume it next day. However, using s2disk gives me problem.
The problem is: whenever I shutdown with s2disk, the swap partition is gone. If I do
$ sudo swapon -a followed by
$ sudo resume
before I start X, the machine indeed resumes. But can anybody tell me what I must do so that I don't have to restore the swap and to manually issue the resume command?
I hope one of you has heared about this problem. If I have to give more information, please ask.
Thanks in advance, Ruud
debian: lenny
kernel: 2.6.26-1-686-bigmem
$ grep swap /etc/fstab
UUID=953c00ed-9ef7-4392-ad21-6149f3f6dfbb none swap sw 0 0
# it was
#/dev/hda2 none swap sw 0 0
$ grep reboot /boot/grub/menu.lst
kernel /boot/vmlinuz-2.6.26-1-686-bigmem root=/dev/hda3 reboot=/dev/hda2 ro
$ cat /etc/uswsusp.conf
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/hda2
compress = y
early writeout = y
image size = 484140564
RSA key file = /etc/uswsusp.key
shutdown method = platform
After a restart, I get a login prompt. If I then login:
$ cat /proc/swaps
Filename Type Size Used Priority
so no swap partition.
|