define more partitions in freebsd

Polytropon freebsd at edvax.de
Sat Jun 1 14:38:31 UTC 2013


On Sat, 1 Jun 2013 07:10:03 -0600 (MDT), Warren Block wrote:
> On Sat, 1 Jun 2013, Polytropon wrote:
> > On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote:
> >
> >> my question is: how can i define more partitions on my freebsd? (for
> >> example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...).
> >
> > You cannot. You need to use the GPT partitioning approach
> > and repartition your disk. With gpart, you can create more
> > than 'h' partitions, but the partitions will have different
> > names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ...
> > and so on.
> 
> GPT partitioning is a replacement for MBR partitioning, and will
> generally look like ad3p1, ad3p2, and so on. 

Sorry for my inaccuracy: Of course the slicing part as well
as the BSD partitions are _both_ replaced by GPT partition
numbers.



> Use of gpart to set up a disk is shown here:
> http://www.wonkity.com/~wblock/docs/html/disksetup.html

That article should be on the top of each list regarding
disk partitioning on FreeBSD, maybe something comparable
could be added to the Handbook?



> The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. 
> The older sysinstall that is used on FreeBSD 8 does not, and probably 
> has no native way to use GPT.

As far as I know: no. You have to use the common CLI tools
if you want to install FreeBSD 8 on a GPT system (but it's
easily possible).



> The partitions would have to be set up 
> manually from a shell before running the installer, and then manually 
> entered in the installer.

With the precaution of _not_ to vary existing partitions.
However, I don't know how the installer will handle the
non-MBR partitions (probably comparable to dedicated
partitions?), I've never tried that. (Even for dedicated
layout, I personally tend to use CLI only, without using
sysinstall or sade).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list