Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 22:09:42 +0100
From:      Ralf Mardorf <>
Subject:   Re: How to create a partition for FreeBSD 9.0?
Message-ID:  <1353877782.2508.225.camel@q>
In-Reply-To: <>
References:  <1353795280.2662.12.camel@q> <> <1353798889.2662.46.camel@q> <> <1353807268.2773.16.camel@q> <> <1353846552.2508.23.camel@q> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
I can't backup the whole HDDs :(. I backup some data from HDD1 to HDD2
and te other data from HDD2 to HDD1.

On Sun, 2012-11-25 at 13:43 -0700, Warren Block wrote:
> Assuming the first slice has been deleted.


> # gpart add -t freebsd -i1 ada0
> Create a FreeBSD disklabel/bsdlabel partitioning scheme inside the 
> FreeBSD slice:
> # gpart create -s bsd da0s1
> Create FreeBSD partitions.  Sizes may be adjusted, but these will work.
> # gpart add -t freebsd-ufs  -a 4k -s 2g   da0s1
> # gpart add -t freebsd-swap -a 4k -s 512m da0s1
> # gpart add -t freebsd-ufs  -a 4k -s 1g   da0s1
> # gpart add -t freebsd-ufs  -a 4k -s 256m da0s1
> # gpart add -t freebsd-ufs  -a 4k         da0s1
> After you have done all this, you can go back and use the Partition 
> selection in bsdinstall to enter types and mountpoints for each.  Or you 
> can newfs each and then mount them, setting the location in 

I would prefer to continue with the installer.

However, I guess for my needs just / is needed, so I guess

# gpart add -t freebsd-swap -a 4k -s 512m da0s1
# gpart add -t freebsd-ufs  -a 4k         da0s1

is what I should run?!

512m (it doesn't matter to use m or M?) is enough swap? I've got 4GB
RAM. On Linux I use 2 swaps each around 2GB, but they are not much used.
For Linux there are no valid rules any more, how to set up the swap, or
at least I don't know the rules.

Thank you,

Want to link to this message? Use this URL: <>