1 |
On 10/08/13 17:36, meino.cramer@×××.de 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 |
That fstab line looks correct, only things coming to mind are wrong |
27 |
filesystem type for the partition or missing localmount from the boot |
28 |
runlevel. You can check by, |
29 |
|
30 |
# fdisk -l /dev/sda |
31 |
|
32 |
Look at the "Id" line, it should be "82" if I remember correctly out |
33 |
from memory. |
34 |
|
35 |
And, |
36 |
|
37 |
# rc-update show |grep localmount |
38 |
|
39 |
You should see: |
40 |
|
41 |
localmount | boot |
42 |
|
43 |
I don't think this will help, but I hope it does :P |