From owner-freebsd-current@FreeBSD.ORG Sun Aug 21 21:32:43 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC34F106566B for ; Sun, 21 Aug 2011 21:32:43 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 90AC58FC17 for ; Sun, 21 Aug 2011 21:32:43 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LQA00B00RUIAB00@smtpauth1.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Sun, 21 Aug 2011 16:32:42 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.68.180]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LQA00NRJRUH3420@smtpauth1.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Sun, 21 Aug 2011 16:32:42 -0500 (CDT) Date: Sun, 21 Aug 2011 16:32:40 -0500 From: Nathan Whitehorn In-reply-to: To: Garrett Cooper Message-id: <4E517978.2020705@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.68.180 X-Spam-PmxInfo: Server=avs-14, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.8.21.212414, SenderIP=76.210.68.180 References: <4E4DB9A7.4040404@freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0) Gecko/20110819 Thunderbird/6.0 Cc: freebsd-current@freebsd.org Subject: Re: Well, there goes Windows! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2011 21:32:43 -0000 On 08/21/11 15:49, Garrett Cooper wrote: > On Thu, Aug 18, 2011 at 6:17 PM, Nathan Whitehorn > wrote: >> On 08/18/11 18:24, Garrett Cooper wrote: >>> So, I used the bsdinstaller again on the 9.0-BETA1 media with manual >>> partitioning. The HP desktop ate up 3 partitions, I inconveniently >>> forgot that geom can't grok secondary PC MBR partitions, was fooling >>> around and cleared the partitions, etc. I hit abort to exit the >>> partitioner start and from scratch and now my Windows partitions and >>> recovery partitions are gone. >>> >>> So, oops... just a word of warning for anyone else that monkeys around >>> with bsdinstall that it doesn't always hold true to the "will apply >>> changes at Exit" guarantee right now (i.e. atomicity is busted). If >>> someone else has a second OS that they'd rather not lose, at least >>> they will know to reboot their box when committing changes. >>> >>> I'll inspect the code sometime this weekend to trace down the annoying >>> bug, but this is probably release gating for new users (and sadly >>> forces me back to wanting to use sysinstall :/..). >>> >> There are only a couple of cases when it does that, and it gives you a giant >> warning in all capital letters to ask if you really want to proceed. One of >> those cases can be changing partitioning type. Can you elaborate on how you >> made this happen? > I simulated the issue in VirtualBox, like so: > 1. Grab the Fedora 15 image (you could grab another version of > FreeBSD though, or your choice OS). Install image to disk. > 2. Boot BETA1 media. > 3. Choose LiveCD. > 4. Login as root, password "". > 5. Type in bsdinstall and hit enter. > 6. Enter in all prereqs (hostname, keyboard map, etc). > 7. Choose "Guided" partitioning. > 8. Choose "Use all disk". This destructively modifies the > partition table, unlike some of the other options. > Why does "Use all disk" need to commit immediately, instead of > virtually deleting the partition table? > Thanks, > -Garrett gpart does not support (well, anyway) changing the underlying partition table format without committing changes. Replacing the partition scheme, which this does, is such an operation. I would note that it *does* warn about this: - Choose the disk. A box comes up saying that choosing "Entire disk" will erase the drive. - If you press "Entire box", a warning comes up saying "This will erase the disk. Are you sure you want to proceed?". It is only after you press OK the second time that it does anything to the drive. -Nathan