From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 3 16:50:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B60975DB for ; Fri, 3 Jan 2014 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 912AE1DFC for ; Fri, 3 Jan 2014 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s03Go0Da057278 for ; Fri, 3 Jan 2014 16:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s03Go0bW057276; Fri, 3 Jan 2014 16:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 3 Jan 2014 16:50:00 GMT Resent-Message-Id: <201401031650.s03Go0bW057276@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Peter K Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB6DF321 for ; Fri, 3 Jan 2014 16:44:21 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D64AD1DC6 for ; Fri, 3 Jan 2014 16:44:21 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s03GiLYV080484 for ; Fri, 3 Jan 2014 16:44:21 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s03GiLUr080478; Fri, 3 Jan 2014 16:44:21 GMT (envelope-from nobody) Message-Id: <201401031644.s03GiLUr080478@oldred.freebsd.org> Date: Fri, 3 Jan 2014 16:44:21 GMT From: Peter K To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/185449: Installer creates multiple freebsd-boot partitions X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 16:50:00 -0000 >Number: 185449 >Category: misc >Synopsis: Installer creates multiple freebsd-boot partitions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 03 16:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Peter K >Release: 10.0-RC4 >Organization: >Environment: 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec 31 17:10:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: :#gpart show ada0 => 34 3907029101 ada0 GPT (1.8T) 34 128 1 freebsd-boot (64K) 162 8388608 2 freebsd-ufs (4.0G) 8388770 20971520 3 freebsd-swap (10G) 29360290 3877668844 4 freebsd-ufs (1.8T) 3907029134 1 - free - (512B) ada0p2 had FreeBSD 9 amd64 on it, installing FreeBSD 10 RC4 amd64 to ada0p2 ada0p4 is my 'data' partition left untouched. During install if I delete my OS partition [ada0p2], then create partition, the installer complains that I'm missing freebsd-boot even though ada0p1 is never touched - I have two options, let it create or "ignore"; If I say create, then I have two 'freebsd-boot' partitions If I say ignore, I did not test of it will still use the original 'ada0p1' freebsd-boot partition, but there should still be no error. I had to delete both ada0p1 and ada0p2, and then the installer correctly created freebsd-boot on ada0p1 and freebsd-ufs on ada0p2. Any way to get the installer to detect an already existing freebsd-boot partition to use? This threw me off for a second only, but I can see where many will say 'create' and will have a new freebsd-boot partition created on each reinstall. >How-To-Repeat: Start install on an already existing system using GPT. Delete only partition where you want to install, create new partition. >Fix: Installer should detect if 'freebsd-boot' partition already exists and use that [?] >Release-Note: >Audit-Trail: >Unformatted: