From owner-freebsd-questions@FreeBSD.ORG Sun Nov 25 20:49:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6014143 for ; Sun, 25 Nov 2012 20:49:06 +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 8E9008FC08 for ; Sun, 25 Nov 2012 20:49:06 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAPKn5XY024534; Sun, 25 Nov 2012 13:49:05 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qAPKn5FP024531; Sun, 25 Nov 2012 13:49:05 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 25 Nov 2012 13:49:05 -0700 (MST) From: Warren Block To: Ralf Mardorf Subject: Re: Manually partitioning using gpart In-Reply-To: <1353842774.2508.18.camel@q> Message-ID: References: <1353842774.2508.18.camel@q> 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.2.7 (wonkity.com [127.0.0.1]); Sun, 25 Nov 2012 13:49:06 -0700 (MST) Cc: freebsd-questions@freebsd.org 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: Sun, 25 Nov 2012 20:49:06 -0000 On Sun, 25 Nov 2012, Ralf Mardorf wrote: > This is what I've got: > > # gpart show ada0 > => 63 625142385 ada0 MBR (298G) > 63 121274683 - free - (57G) > [snip] > > IIUC I now have to do: > > # gpart add -s 64k -t freebsd-boot -l boot0 ada0 > # gpart add -s 8G -t freebsd-swap -l swap0 ada0 > # gpart add -t freebsd-ufs -a 256k -l root0 ada0 No. MBR does not need or use a freebsd-boot partition. Also, GPT labels don't work for MBR because, well, it's not GPT. > Here I already don't understand how large the swap should be. Really 2 * > size of the RAM? No, that's less true than it used to be. Depends on how much RAM you have, but the more RAM, the less you really need swap. If disk space is not at a premium, I usually use 4G. > I also don't know if 256k is a sane alignment value, I just copied this > from a howto. For a hard drive, 4K alignment and starting the main partition at 1M is good. > How to continue after this is done? Realize this multi-boot stuff is painful and inconvenient and install everything in a VM?