I need some swap partion help on new 10.1 install

Warren Block wblock at wonkity.com
Tue Jan 6 16:11:28 UTC 2015


On Tue, 6 Jan 2015, Bob Willcox wrote:

> So, what should I put in /boot/loader.conf? Can I enable both GPT and GPT IDs
> with this:
>
> kern.geom.label.gpt.enable="1"
> kern.geom.label.gptid.enable="1"
>
> And if I do, should I expect any problems with doing that?

Both are enabled by default.  Disabling GPTID can remove some confusion, 
but is not required.

Make certain the swap partition has a GPT label.  'gpart show -l' shows 
them.  If it does not have one, set one with gpart modify.

Then use that label in fstab, in the form of /dev/gpt/labelname.


More information about the freebsd-stable mailing list