You are not logged in.

#1 2011-09-04 13:15:57

Lequatus
Member
Registered: 2011-09-04
Posts: 2

Failed to activate swap

Hello everybody,
I'm quite new to Arch Linux. My problem is that the system says (it shows that on boot) it couldn't activate the swap.

I have this line in my /etc/fstab:

/dev/sda2 swap swap defaults 0 0

"swapon -s" shows this:

Filename				Type		Size	Used	Priority
/dev/sda2                               partition	4996208	0	-1

I also tried "swapon /dev/sda2". What can i do sad?

Offline

#2 2011-09-04 13:29:49

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: Failed to activate swap

type in console the command free -m


[greglee@PSi_baLL ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:          3965        707       3257          0         34        385
-/+ buffers/cache:        287       3677
Swap:            0          0          0   <===  i'm not using a swap

if you're swap is in use it would give a number ,the size of you're /dev/sda2

Offline

#3 2011-09-04 13:42:20

Lequatus
Member
Registered: 2011-09-04
Posts: 2

Re: Failed to activate swap

It returns exactly the size of sda2. So this error on boot means nothing?

Offline

#4 2011-09-04 14:06:58

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Failed to activate swap

Please post the exact error from /var/log/boot (or take a photo). swapon should print a useful error message along with it.

Offline

Board footer

Powered by FluxBB