Gentoo Archives: gentoo-user

From: Gregory Shearman <zekeyg@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Swap is manually 'swapon-able' but not via fstab...?
Date: Sun, 11 Aug 2013 05:45:23
Message-Id: 20130811054510.GA20626@pacific.net.au
1 In linux.gentoo.user, you wrote:
2 > Hi,
3 >
4 > When I do a
5 >
6 > beagleboneblack:/root>swapon /dev/sda2
7 > beagleboneblack:/root>free
8 > total used free shared buffers cached
9 > Mem: 507476 50812 456664 0 13108 17244
10 > -/+ buffers/cache: 20460 487016
11 > Swap: 5242876 0 5242876
12 >
13 >
14 > swap is added to the system.
15 >
16 > If I add
17 >
18 > /dev/sda2 none swap sw 0 0
19 >
20 > swapspace will not be used after a reboot.
21 >
22 > dmesg has nothing specific...
23 >
24 > What did I wrong here? Why get swap not used via fstab?
25
26 Do you have swap added to the boot runlevel?
27
28 # rc-update add swap boot
29
30 --
31 Regards,
32 Gregory.
33 Gentoo Linux - Penguin Power
34
35 --
36 Regards,
37 Gregory.
38 Gentoo Linux - Penguin Power

Replies