From owner-freebsd-stable@FreeBSD.ORG Fri Oct 19 20:20:46 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43021CE2; Fri, 19 Oct 2012 20:20:46 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id DA1608FC08; Fri, 19 Oct 2012 20:20:45 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so812348iag.13 for ; Fri, 19 Oct 2012 13:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=QUrs4TBUNFF3LsYxVgBf5pNAvrYD9fhvnp2skMdKzek=; b=DyEXUyu5ied7UwvXVdeJQA5t2x838BApbnSqPvKg0qUXbPrSSrr9aX4q6gCJjhiHM3 QYCXS4/UcEzsr44wxpisaD0+slU7ESs4JD2P+koNpk/gpcS9uALum+Yb1ocL+Mpm6mRO Vwbfk9MyEZFtjC74/WraTgAnHsB3b4bySKoyXfHSEP19cvNZPiGJBKBW+MoYy5GrzCeM htXZEHWaNWRiq/RTKo4/fnw0KE/XH2jnYFZJgTFyl4pPsBFw6F4x7sscgEaDAa/aeSLU wuxmwXXAcf8yPkjwOhwMU/9i8JxHmkNWRQck2nLlN3vAkuEVFgEc+JMHB8chIdVK+DSc WrtA== Received: by 10.50.169.35 with SMTP id ab3mr2717533igc.8.1350678045031; Fri, 19 Oct 2012 13:20:45 -0700 (PDT) Received: from [192.168.0.198] ([108.119.194.69]) by mx.google.com with ESMTPS id x5sm7336681igc.14.2012.10.19.13.20.41 (version=SSLv3 cipher=OTHER); Fri, 19 Oct 2012 13:20:43 -0700 (PDT) Message-ID: <5081B614.7060308@gmail.com> Date: Fri, 19 Oct 2012 15:20:36 -0500 From: Chuck Burns User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: 9.1-RC2 - could it be that the installer does not write the MBR? References: <50802EFC.2010101@gmail.com> <20121018184426.63c59601@suse3> <50803B22.7000706@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Rainer Duffner X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 20:20:46 -0000 On 10/19/2012 1:32 PM, Adrian Chadd wrote: > Guys/girls/etc, > > I do suggest that someone actually spends some time coming up with a > table of "what the current state is", "what we could do", "what would > happen if we did that." > > Right now there's a lot of possibilities (new drive, drive with > windows, drive with linux, drive with linux/windows, drive with legacy > freebsd MBR, etc) and as an outsider trying to figure out what is > actually the "right" sounding behaviour, it's difficult for me to sit > down and digest all these emails that chip away at a bit of the > problem at a time. > > So if you'd like to see this fixed, I really do suggest that one of > you dumps some time into coming up with a basic table like I said > above, work with others who can correct/flesh out the various options > to take into account, and then we can come up with a real solution. > Then 9.1 can go out the door. > > > > Adrian > In my opinion, I think that the installer should be able to determine whether or not there is an existing partition table, either MBR or GPT, and at that point, ask the user about replacing MBR. But if there is no existing partition map on the drive, then there is no need for prompting about MBR over-writing. Basically: detect if map exists, if not, proceed as usual, if part-table/map is detected, prompt user "Existing partitions detected, Should we replace any existing MBR boot code? Only advanced users who know what they're doing should say "No" here, as this could leave you with an unbootable system: Yes/No (Recommended: Yes)" -- Chuck Burns