From spf@Brice.dorm9.nccu.edu.tw  Sat Aug 10 02:50:11 2002
Return-Path: <spf@Brice.dorm9.nccu.edu.tw>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B6A2E37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Aug 2002 02:50:11 -0700 (PDT)
Received: from Brice.dorm9.nccu.edu.tw (Brice.dorm9.nccu.edu.tw [140.119.200.125])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E147A43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Aug 2002 02:50:10 -0700 (PDT)
	(envelope-from spf@Brice.dorm9.nccu.edu.tw)
Received: from Brice.dorm9.nccu.edu.tw (localhost.dorm9.nccu.edu.tw [127.0.0.1])
	by Brice.dorm9.nccu.edu.tw (8.12.3/8.12.3) with ESMTP id g7A9sbxh000373;
	Sat, 10 Aug 2002 17:54:37 +0800 (CST)
	(envelope-from spf@Brice.dorm9.nccu.edu.tw)
Received: (from spf@localhost)
	by Brice.dorm9.nccu.edu.tw (8.12.3/8.12.3/Submit) id g7A9sbe0000372;
	Sat, 10 Aug 2002 17:54:37 +0800 (CST)
Message-Id: <200208100954.g7A9sbe0000372@Brice.dorm9.nccu.edu.tw>
Date: Sat, 10 Aug 2002 17:54:37 +0800 (CST)
From: "spf@xslt.cs.nccu.edu.tw" <spf@Brice.dorm9.nccu.edu.tw>
Reply-To: "spf@xslt.cs.nccu.edu.tw" <spf@Brice.dorm9.nccu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: spf@xslt.cs.nccu.edu.tw
Subject: boot0cfg corrupts slice table 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41515
>Category:       misc
>Synopsis:       boot0cfg corrupts slice table
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 10 03:00:06 PDT 2002
>Closed-Date:    Thu Dec 11 13:37:09 PST 2003
>Last-Modified:  Thu Dec 11 13:37:09 PST 2003
>Originator:     spf
>Release:        FreeBSD 4.6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD Brice.dorm9.nccu.edu.tw 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 #3: Thu Aug 8 07:49:33 CST 2002 root@Brice.dorm9.nccu.edu.tw:/usr/obj/usr/src/sys/spf i386


	
>Description:
my disk usage: ad0s1 NTFS (active), ad0s2 extended (NTFS)
               ad2s1 NTFS, ad2s2 extended (NTFS), ad2s3 freebsd boot slice(activ
e)
When I use ad2s3 boot with boot0 installed in ad0 option "update" enabled,
 it will make ad0s1's flag 80->0, make it "not active".
Then next execution of boot0 won't find no active partion.
This situation won't happen if I boot from ad0s1 or I disable option "update".
	
>How-To-Repeat:
fdisk -u ad0
fdisk -u ad2
(make sure ad0s1 and ad2s3 is set active)
boot0cfg ad0
(then install boot0 on ad0, default option "update" is enabled)
reboot
boot from ad2s3
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jhb 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Aug 20 09:18:25 PDT 2002 
Responsible-Changed-Why:  
Over to boot* maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41515 

From: John Baldwin <jhb@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, spf@Brice.dorm9.nccu.edu.tw
Cc:  
Subject: Re: misc/41515: boot0cfg corrupts slice table
Date: Thu, 11 Dec 2003 15:49:19 -0500

 If I understand this correctly, I think this is actually the intended behavior 
 and not a bug.  If when you last booted from ad0 you used F5 to select the 
 other drive, then when you next boot from ad0, it will default to F5 rather 
 than F1.
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
 
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Thu Dec 11 13:36:15 PST 2003 
State-Changed-Why:  
Described behavior appears to be intentional and not a bug.  Mail to 
submitter seeking follow up bounced, so I am closing the PR. 

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