From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 21 11:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AA62106568D for ; Fri, 21 Aug 2009 11:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3E88FC96 for ; Fri, 21 Aug 2009 11:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7LBo1nf032563 for ; Fri, 21 Aug 2009 11:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7LBo1x0032562; Fri, 21 Aug 2009 11:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 21 Aug 2009 11:50:01 GMT Resent-Message-Id: <200908211150.n7LBo1x0032562@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, Sylwester Sosnowski Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 300CB106568C for ; Fri, 21 Aug 2009 11:40:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 207E98FC51 for ; Fri, 21 Aug 2009 11:40:21 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7LBeKc4049385 for ; Fri, 21 Aug 2009 11:40:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7LBeKq4049384; Fri, 21 Aug 2009 11:40:20 GMT (envelope-from nobody) Message-Id: <200908211140.n7LBeKq4049384@www.freebsd.org> Date: Fri, 21 Aug 2009 11:40:20 GMT From: Sylwester Sosnowski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138026: sysinstall(8) and and fdisk(8) sets slice flag to active X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 11:50:02 -0000 >Number: 138026 >Category: misc >Synopsis: sysinstall(8) and and fdisk(8) sets slice flag to active >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 21 11:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylwester Sosnowski >Release: 7.2-RELEASE >Organization: >Environment: >Description: fdisk(8) sets a slice active during sysinstall(8), even if user selected not to touch mbr or make slice active. >How-To-Repeat: 1. Install FreeBSD 7.2-RELEASE using sysinstall(8) 2. Create a new slice at the fdisk(8) screen. Let's say your slices look as following: Hard Disk total size: 15G Slice FS Size ad0s1 ext3 5G ad0s2 linux-swap GG So create 'ad0s3' by pressing 'c' and type 5G. 3. type 'q' to quit.. 4. Proceed to bsdlabel and set up the partitions. After installation has finished, you'll see the FreeBSD bootloader (even if the user choice was not to install the bootloader and partition was not set active manually). By running 'fdisk' you'll see, that the 3rd slice, your BSD slice is marked active. >Fix: A temporary fix may be: 1. Set the first slice active by using fdisk(8): # fdisk -a /dev/ad0 or # fdisk -a /dev/da0 depending on what's your hard disk. And fdisk(8) will ask you to make a slice active. If you are being asked for a slice, enter 3 (or your BSD slice) 2. Install FreeBSD manually (by using the FreeBSD 7.2-RELEASE DVD) >Release-Note: >Audit-Trail: >Unformatted: