From nobody@FreeBSD.org  Fri Aug 21 11:40:21 2009
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 300CB106568C
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <sendpr@ext.no-route.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysinstall(8) and and fdisk(8) sets slice flag to active
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138026
>Category:       bin
>Synopsis:       sysinstall(8) and and fdisk(8) sets slice flag to active
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 21 11:50:01 UTC 2009
>Closed-Date:    Thu Mar 04 10:38:02 UTC 2010
>Last-Modified:  Thu Mar 04 10:38:02 UTC 2010
>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:
State-Changed-From-To: open->closed  
State-Changed-By: brucec 
State-Changed-When: Thu Mar 4 10:37:17 UTC 2010 
State-Changed-Why:  
Duplicate of bin/73617 . 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138026 
>Unformatted:
