From spf@Brice.dorm9.nccu.edu.tw  Sat Aug 10 03:04:41 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 C94EA37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Aug 2002 03:04:41 -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 D01B443E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Aug 2002 03:04:40 -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 g7AA9Axt000426;
	Sat, 10 Aug 2002 18:09:25 +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 g77MYWtQ000389;
	Thu, 8 Aug 2002 06:34:32 +0800 (CST)
Message-Id: <200208072234.g77MYWtQ000389@Brice.dorm9.nccu.edu.tw>
Date: Thu, 8 Aug 2002 06:34:32 +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:         41516
>Category:       misc
>Synopsis:       boot0cfg corrupts slice table
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 10 03:10:01 PDT 2002
>Closed-Date:    Sat Aug 10 03:24:17 PDT 2002
>Last-Modified:  Sat Aug 10 03:24:17 PDT 2002
>Originator:     spf
>Release:        FreeBSD 4.6.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD Brice.dorm9.nccu.edu.tw 4.6.1-RELEASE-p8 FreeBSD 4.6.1-RELEASE-p8 #0: Mon Aug 5 20:47:13 CST 2002 root@Brice.dorm9.nccu.edu.tw:/usr/src/sys/compile/spf i386


	
>Description:
my disk usage: ad0s1 NTFS (active), ad0s2 extended (NTFS)
               ad2s1 NTFS, ad2s2 extended (NTFS), ad2s3 freebsd boot slice(active)
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:
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Sat Aug 10 03:23:55 PDT 2002 
State-Changed-Why:  
Duplicate of 41515. 

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