swap help please
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/
<daniel.dalton@iinet.net.au>
Reply to: