From owner-freebsd-bugs Sat Aug 10 3:10: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 766B237B400 for ; Sat, 10 Aug 2002 03:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 874D743E70 for ; Sat, 10 Aug 2002 03:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7AAA2JU097272 for ; Sat, 10 Aug 2002 03:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7AAA2RB097271; Sat, 10 Aug 2002 03:10:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C94EA37B400 for ; 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 ; 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" Reply-To: "spf@xslt.cs.nccu.edu.tw" To: FreeBSD-gnats-submit@FreeBSD.org Cc: spf@xslt.cs.nccu.edu.tw X-Send-Pr-Version: 3.113 Subject: misc/41516: boot0cfg corrupts slice table Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41516 >Category: misc >Synopsis: boot0cfg corrupts slice table >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: Sat Aug 10 03:10:01 PDT 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message