From owner-freebsd-questions@FreeBSD.ORG Sun Jun 5 04:40:29 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2B5106564A for ; Sun, 5 Jun 2011 04:40:29 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 926698FC0A for ; Sun, 5 Jun 2011 04:40:28 +0000 (UTC) Received: from [93.104.85.249] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QT58T-0004Ki-0E; Sun, 05 Jun 2011 06:40:25 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p554eN5Q002294; Sun, 5 Jun 2011 06:40:23 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p554eMor002293; Sun, 5 Jun 2011 06:40:22 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 5 Jun 2011 06:40:22 +0200 From: Matthias Apitz To: Warren Block Message-ID: <20110605044021.GA2213@tinyCurrent> References: <4DEAAE54.1050508@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.85.249 Cc: "questions@FreeBSD.org Questions" , Robert Simmons Subject: Re: Partitioning with gpart or old style slices? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2011 04:40:29 -0000 El día Saturday, June 04, 2011 a las 08:43:37PM -0600, Warren Block escribió: > On Sat, 4 Jun 2011, Robert Simmons wrote: > > >> Do I need kernel modules not in the generic kernel or create extra boot > >> partition? > > > > If you use it to make GPT partitions, you will need a freebsd-boot > > partition with the proper bootcode for what you want to do. If you > > search this mailing list's archive, I've posted basic instructions for > > gpart/GPT partitioning recently, perhaps there needs to be a section > > added to Handbook 18.3.2 describing the basics. Unfortunately, the > > only mention in the handbook is a link to the man page in section > > 18.3. > > There's a sample in the second half of my disk setup article: > > http://www.wonkity.com/~wblock/docs/html/disksetup.html Since some time I'm as well using gpart(8) to setup new systems with the following sequence: # gpart create -s mbr ad4 # Init the disk with an MBR # gpart add -t freebsd ad4 # Create a BSD container # gpart create -s bsd ad4s1 # Init with a BSD scheme # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for / # gpart add -t freebsd-swap -s 2G ad4s1 # 2GB for swap # gpart add -t freebsd-ufs -s 2G ad4s1 # 2GB for /var # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for /tmp # gpart add -t freebsd-ufs ad4s1 # all rest for /usr # gpart set -a active -i 1 ad4 But the result is not ready for boot after install the kernel and system; I allways have to go again with the sysinstall(8) tool to set the 'A' flag; don't know what I'm missing (and the man page is not very instructive on this); thanks PS: next time will try the example of your page, Warren; thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/