public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Samuli Suominen <ssuominen@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Swap is manually 'swapon-able' but not via fstab...?
Date: Sun, 11 Aug 2013 08:32:04 +0300	[thread overview]
Message-ID: <520721D4.5020506@gentoo.org> (raw)
In-Reply-To: <20130810143605.GA8817@solfire>

On 10/08/13 17:36, meino.cramer@gmx.de wrote:
>   Hi,
>
>   When I do a
>
>      beagleboneblack:/root>swapon /dev/sda2
>      beagleboneblack:/root>free
>                  total       used       free     shared    buffers     cached
>      Mem:        507476      50812     456664          0      13108      17244
>      -/+ buffers/cache:      20460     487016
>      Swap:      5242876          0    5242876
>
>
> swap is added to the system.
>
> If I add
>
>      /dev/sda2	none		 swap  sw		                 0 0
>
> swapspace will not be used after a reboot.
>
> dmesg has nothing specific...
>
> What did I wrong here? Why get swap not used via fstab?

That fstab line looks correct, only things coming to mind are wrong 
filesystem type for the partition or missing localmount from the boot 
runlevel. You can check by,

# fdisk -l /dev/sda

Look at the "Id" line, it should be "82" if I remember correctly out 
from memory.

And,

# rc-update show |grep localmount

You should see:

localmount | boot

I don't think this will help, but I hope it does :P


  reply	other threads:[~2013-08-11  5:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-10 14:36 [gentoo-user] Swap is manually 'swapon-able' but not via fstab...? meino.cramer
2013-08-11  5:32 ` Samuli Suominen [this message]
     [not found] <lFiuJ-Kb-5@gated-at.bofh.it>
2013-08-11  5:45 ` Gregory Shearman
2013-08-11  7:18   ` meino.cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520721D4.5020506@gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox