Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 18:30:36 GMT
From:      Joe Ennis <joe@whiskey7.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/161722: bsdinstall guided partition does not start second partition at 1M offset.
Message-ID:  <201110161830.p9GIUabj028247@red.freebsd.org>
Resent-Message-ID: <201110161840.p9GIeBcE032034@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161722
>Category:       misc
>Synopsis:       bsdinstall guided partition does not start second partition at 1M offset.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 16 18:40:11 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110161830.p9GIUabj028247>