From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 12 22:40:08 2010 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1B901065679 for ; Fri, 12 Nov 2010 22:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A2BD88FC1D for ; Fri, 12 Nov 2010 22:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oACMe8eq096356 for ; Fri, 12 Nov 2010 22:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oACMe8fd096355; Fri, 12 Nov 2010 22:40:08 GMT (envelope-from gnats) Resent-Date: Fri, 12 Nov 2010 22:40:08 GMT Resent-Message-Id: <201011122240.oACMe8fd096355@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Markus Hoenicka Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3235E106566C for ; Fri, 12 Nov 2010 22:36:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1F76D8FC17 for ; Fri, 12 Nov 2010 22:36:22 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oACMaLRp059438 for ; Fri, 12 Nov 2010 22:36:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id oACMaLHY059437; Fri, 12 Nov 2010 22:36:21 GMT (envelope-from nobody) Message-Id: <201011122236.oACMaLHY059437@www.freebsd.org> Date: Fri, 12 Nov 2010 22:36:21 GMT From: Markus Hoenicka To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 12 Nov 2010 23:14:06 +0000 Cc: Subject: amd64/152179: disklabel's Auto Defaults creates too small / partition on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 22:40:09 -0000 >Number: 152179 >Category: amd64 >Synopsis: disklabel's Auto Defaults creates too small / partition on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 22:40:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Markus Hoenicka >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD wombat.mininet 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sat Nov 13 20:29:49 CET 2010 root@wombat.mininet:/usr/obj/usr/src/sys/WOMBAT amd64 >Description: The handbook suggests in chap. 2.6.5: "Users are encouraged to use the automatic partition layout called Auto Defaults by the FreeBSD partition editor." Doing that results in a / partition of 512MB, although the entire disk is 500GB. This is enough for installing the base system. However, building and installing a custom kernel (a smaller one than GENERIC, fwiw) already overfills the / partition, causing the kernel installation to exit with an error. I'd recommend to increase the default size of / to 1GB if the total size of the disk permits this. On my box, the current kernel, the old kernel, a good copy of the current kernel, and whatever sysinstall else puts into / take up approx. 775MB. >How-To-Repeat: Boot from an amd64 netinstall CD. Begin a standard installation. Use fdisk to allocate the entire HDD to FreeBSD. Enter disklabel and use the Auto Defaults option to automatically size the partitions. >Fix: It is easy to work around by manually sizing the partitions. Still, it might be a better idea to teach disklabel to use more appropriate defaults. >Release-Note: >Audit-Trail: >Unformatted: