From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 13:10:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFE72D60 for ; Sat, 1 Jun 2013 13:10:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A4DB1F5F for ; Sat, 1 Jun 2013 13:10:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r51DA30Q078215; Sat, 1 Jun 2013 07:10:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r51DA3rk078212; Sat, 1 Jun 2013 07:10:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 1 Jun 2013 07:10:03 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: define more partitions in freebsd In-Reply-To: <20130601092111.8c1ad1c0.freebsd@edvax.de> Message-ID: References: <20130601092111.8c1ad1c0.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 01 Jun 2013 07:10:03 -0600 (MDT) Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 13:10:13 -0000 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. FreeBSD's GPT implementation should allow 128 GPT partitions by default, although I have not tested that. Use of gpart to set up a disk is shown here: http://www.wonkity.com/~wblock/docs/html/disksetup.html 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. The partitions would have to be set up manually from a shell before running the installer, and then manually entered in the installer.