Re: swap help please

2008-05-06 Thread Andrei Popescu
On Sat, May 03, 2008 at 03:42:09PM +1000, Daniel Dalton wrote:

> Anyway removing uswsusp did the trick.
> Since I used purge to remove it a reinstall of it went great. The guy on 
> that forum just removed it and not purged it, so that is why his reinstall 
> didn't work.
> Its all fixed now, thanks for the reply though.

A simple 'dpkg-reconfigure uswsusp' (and answering with the correct 
values) would have been enough.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: swap help please

2008-05-02 Thread Daniel Dalton

On Fri, 2 May 2008, Christofer C. Bell wrote:


The resume device is defined in /etc/uswsusp.conf.  The line you're looking
for will be:
resume device = /dev/sda8


Yes, unfortunately just changing that didn't do the trick.



just changing that line.  Perhaps some others on this list can help, as
well.


Well, OK, I did some research on google and found this:
http://www.linuxquestions.org/questions/debian-26/resume-could-not-stat-the-resume-device-file-573538/

The guy asking the question had a similar setup to me, but he broke it in 
the installer, not by messing with swap because he felt like it with fdisk 
or whatever.

Anyway removing uswsusp did the trick.
Since I used purge to remove it a reinstall of it went great. The guy on 
that forum just removed it and not purged it, so that is why his reinstall 
didn't work.

Its all fixed now, thanks for the reply though.

--
Daniel Dalton

http://members.iinet.net.au/~ddalton/
<[EMAIL PROTECTED]>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: swap help please

2008-05-02 Thread Christofer C. Bell
On Fri, May 2, 2008 at 5:39 PM, Daniel Dalton <[EMAIL PROTECTED]>
wrote:

>
> So when I reboot my computer it stops and asks me this question and once I
> answer continues booting:
> "could not stat the resume device file '/dev/sda8'"
> I typ in /dev/sda5 and it works ok.
>
> So I imagine its trying to use sda8 as swap so how do I fix this?
> fstab is ok since it says sda5 which is what I want and when I grep /etc
> for sda8 it looks ok as well...
>
> So how can I stop this error message from coming up at start up and how do
> I tell it to use sda5 by default?
>

The resume device is defined in /etc/uswsusp.conf.  The line you're looking
for will be:
resume device = /dev/sda8

There appears to be other important configuration information in here beyond
the location of the device.  You may need to do some more research before
just changing that line.  Perhaps some others on this list can help, as
well.

-- 
Chris


swap help please

2008-05-02 Thread Daniel Dalton

Hi,

OK, I made a mistake and deleted my extended partition containing my swap 
partition.
So I recreated extended and created a partition for swap under extended 
(so swap is sda5) then I did:

sudo mkswap /dev/sda5
which went ok I think.
Then I did:
sudo swapon -a
Then I did:
free -m
showing that swap was now working.
My swap partition is 1.2 gb and I have 1 gb of ram.
Oh and the swap partition does not have a label if that matters.

So when I reboot my computer it stops and asks me this question and once I 
answer continues booting:

"could not stat the resume device file '/dev/sda8'"
I typ in /dev/sda5 and it works ok.

So I imagine its trying to use sda8 as swap so how do I fix this?
fstab is ok since it says sda5 which is what I want and when I grep /etc 
for sda8 it looks ok as well...


So how can I stop this error message from coming up at start up and how do 
I tell it to use sda5 by default?


Thanks for any help,

--
Daniel Dalton

http://members.iinet.net.au/~ddalton/
<[EMAIL PROTECTED]>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]