LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-02-2009, 06:55 AM   #1
rdozijn_2
Member
 
Registered: Feb 2009
Distribution: debian
Posts: 39

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 03:09 PM
s2disk and resume with kernel 2.6.19 dimsum Linux - General 4 12-16-2006 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration