From nobody@FreeBSD.org  Fri Jan 13 19:24:20 2012
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 96F6C1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Jan 2012 19:24:20 +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 81C0C8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Jan 2012 19:24:20 +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 q0DJOKQc082689
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Jan 2012 19:24:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q0DJOKtG082672;
	Fri, 13 Jan 2012 19:24:20 GMT
	(envelope-from nobody)
Message-Id: <201201131924.q0DJOKtG082672@red.freebsd.org>
Date: Fri, 13 Jan 2012 19:24:20 GMT
From: Ariane van der Steldt <ariane@stack.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: installer: always installs GPT
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164097
>Category:       bin
>Synopsis:       bsdinstall(8): always installs GPT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 13 19:30:10 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Jan 23 15:40:07 UTC 2012
>Originator:     Ariane van der Steldt
>Release:        FreeBSD 9.0 RELEASE
>Organization:
>Environment:
FreeBSD installer

SHA256 (FreeBSD-9.0-RELEASE-amd64-bootonly.iso) = d16fd5f32c9483177a01241f37ed84f347484c65e52aba4dbf8a2f3108fb457d
>Description:
FreeBSD installer changed my MBR-only partition table to MBR+GPT partition table.

The other OS does not have GPT logic; I want to be at least warned this is happening and prefer to have the option at least. Alternatively, the installer may opt not to install a GPT if the disk does not require it (as in the case in this machine)
>How-To-Repeat:
Install FreeBSD 9.0 RELEASE next to another OS that does not have GPT (Windows XP in my case)
>Fix:
Best solution: deduce from disk size that GPT is not required and in that case, proceed to not use it
Alternative solution: ask user (for userfriendliness, tell them if the present layout does or does not use GPT)
Worst solution: warn them this is happening

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sat Jan 14 01:15:02 UTC 2012 
Responsible-Changed-Why:  
assign and fix synopsis 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164097 

From: Devin Teske <devin.teske@fisglobal.com>
To: <bug-followup@FreeBSD.org>, <ariane@stack.nl>
Cc: Devin Teske <devin.teske@fisglobal.com>
Subject: Re: bin/164097: bsdinstall(8): always installs GPT
Date: Mon, 23 Jan 2012 07:32:57 -0800

 I am experiencing the same problem ... with sysinstall(8)!!!
 
 I used /usr/src/release/Makefile.sysinstall to cut myself a legacy installe=
 r for the 9.0 branch ... a sysinstall(8) installer versus the new bsdinstal=
 l installer cut from /usr/src/release/Makefile.
 
 When all was said and done (sysinstall crunched into boot_crunch using /usr=
 /src/release/i386/boot_crunch.conf), sysinstall(8) is for some reason writi=
 ng GPT labels even though it never has done so before.
 
 I'll go into sysinstall's disk partition editor, lay down a legacy filesyst=
 em, write it out, and then look at /dev to find that it didn't create /dev/=
 ada0s* but instead /dev/ada0p* (what's worse is that gpart subsequently sho=
 ws GPT but with "[CORRUPT]" next to it).
 
 This is completely hampering my ability to use sysinstall(8) as-built from =
 RELENG_9 to install RELENG_9.
 
 I'm left wondering if something changed in devfs or in libdisk.
 --=20
 Devin
 
 _____________
 The information contained in this message is proprietary and/or confidentia=
 l. If you are not the intended recipient, please: (i) delete the message an=
 d all copies; (ii) do not disclose, distribute or use the message in any ma=
 nner; and (iii) notify the sender immediately. In addition, please be aware=
  that any message addressed to our domain is subject to archiving and revie=
 w by persons other than the intended recipient. Thank you.
>Unformatted:
