You are not logged in.

#1 2008-02-26 08:45:25

ph0tios
Member
Registered: 2008-02-23
Posts: 126

[SOLVED]Swap fails to activate

For some reason my swap is failing to activate. I first noticed it when I was looking at ksysguard, and it said "No swap available". I didn't notice it at first when booting up, because it flashes by so quickly...but it does say failed(I happened to notice this time). Can someone explain to me how I fix this?:/

Last edited by ph0tios (2008-02-27 04:51:50)

Offline

#2 2008-02-26 09:58:49

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: [SOLVED]Swap fails to activate

Check your swap information in /etc/fstab
If it is correct, check your partition table with:

cfdisk /dev/sdX

X : specifies which disk to check

If your partition table is correct, create and activate your swap with:

mkswap /dev/sdXY

X : specifies the disk
Y : specifies the partition

Offline

#3 2008-02-26 22:42:22

ph0tios
Member
Registered: 2008-02-23
Posts: 126

Re: [SOLVED]Swap fails to activate

DkSoul, thanks for the help! It worked perfectly.

Offline

#4 2008-06-04 20:04:19

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: [SOLVED]Swap fails to activate

Thank! this also helped me too...

Offline

Board footer

Powered by FluxBB