From nobody@FreeBSD.org  Sun Oct 16 18:30:37 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 39A441065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Oct 2011 18:30:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 294868FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Oct 2011 18:30:37 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9GIUaAQ028248
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Oct 2011 18:30:36 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p9GIUabj028247;
	Sun, 16 Oct 2011 18:30:36 GMT
	(envelope-from nobody)
Message-Id: <201110161830.p9GIUabj028247@red.freebsd.org>
Date: Sun, 16 Oct 2011 18:30:36 GMT
From: Joe Ennis <joe@whiskey7.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bsdinstall guided partition does not start second partition at 1M offset.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161722
>Category:       bin
>Synopsis:       bsdinstall(8) guided partition does not start second partition at 1M offset.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-sysinstall
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 18:40:11 UTC 2011
>Closed-Date:    Sun Oct 23 15:17:09 UTC 2011
>Last-Modified:  Sun Oct 23 15:17:09 UTC 2011
>Originator:     Joe Ennis
>Release:        9.0-BETA3
>Organization:
>Environment:
FreeBSD tsunami.lan 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Sep 24 21:31:28 UTC 2011     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
When using default partition options for entire disk offered in 'bsdinstall' the second partition is not started on a 1M offset as recommended by the FreeBSD Handbook.  From the problematic default install:

# gpart show ada0
=>       34  125045357  ada0  GPT  (59G)
         34        128     1  freebsd-boot  (64k)
        162  117440384     2  freebsd-ufs  (56G)
  117440546    6250496     3  freebsd-swap  (3G)
  123691042    1354349        - free -  (661M)

162 is the issue. On properly offset partitions, ada0p2 should start at offset to 2048.
 
>How-To-Repeat:
Install FreeBSD-9.0-BETA3 from memstick and in partitioning dialog: accept "guided" > "entire disk".
>Fix:
Change partition after freebsd-boot to a fixed offset of 2048  eg: ... -b 1M ...

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sun Oct 16 22:51:36 UTC 2011 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161722 
State-Changed-From-To: open->closed 
State-Changed-By: nwhitehorn 
State-Changed-When: Sun Oct 23 15:15:54 UTC 2011 
State-Changed-Why:  
It's not clear that partitions should start at 1 MB boundaries for 
any particular reason, and the installer only aligns partitions to the 
kernel-reported volume stripe size anyway, which is where any changes 
should be made. 

Close this PR as a duplicate of the more general bin/161720. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161722 
>Unformatted:
