From nobody@FreeBSD.ORG  Tue Sep 19 19:57:58 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id C179937B422; Tue, 19 Sep 2000 19:57:58 -0700 (PDT)
Message-Id: <20000920025758.C179937B422@hub.freebsd.org>
Date: Tue, 19 Sep 2000 19:57:58 -0700 (PDT)
From: whansard@bigfoot.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: freebsd's bootinst or booteasy overwrites second drive's partition table
X-Send-Pr-Version: www-1.0

>Number:         21406
>Category:       kern
>Synopsis:       [boot] bootinst or booteasy overwrites second drive's partition table
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 19 20:00:01 PDT 2000
>Closed-Date:    Sat Dec 30 19:52:37 GMT 2006
>Last-Modified:  Sat Dec 30 19:52:37 GMT 2006
>Originator:     Will Hansard
>Release:        none
>Organization:
none
>Environment:
none
>Description:
the boot manager installed by bootinst.exe will occasionally write
the partition table of the first hard drive in my system to the
second hard drive.  This has happened about 10 times over the past
2 years with various computers, and I am able to restore the partition table 
 with linux's fdisk.  This happens when, 1) The computer is set to
boot from an ide cdrom, which fails because no cdrom is present, 2)
I try to boot in some way that fails.  The partition tables in
both drives have the four main entries full.  The first drive
has 1 type 06, 1 type c, 1 type 83, and 1 type 85 with many logical
partitions in that.  The second drive has one freebsd partition,
one solaris, one beos, and one type 85, linux extended with many
logical drives.  This has happend with 4 different motherboards,
and several different hard drives.  I don't know if any hardware
is common. This has happened both when the second drive is a 
primary slave, and when it is a secondary master.
>How-To-Repeat:
Have the computer set to boot from an ide cdrom. Do not have
a bootable cdrom in the drive.  Have bootinst.exe installed in
the master boot record of both drives.  The other conditions
are uncertain.  Occasionally the partition table of the first
drive will be written to the second.  I would suggest having
3 or 4 partitions on each of the drives, perhaps with a couple not
bootable.  It does not happen every time.  Maybe 1 out of 10 to
1 out of 50 boots, my second partition table gets hosed, then I 
remember, and unset the boot from cdrom in the bios.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sat Dec 30 16:02:25 UTC 2006 
State-Changed-Why:  
hello is this problem still relevant? 


Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sat Dec 30 16:02:25 UTC 2006 
Responsible-Changed-Why:  
grab the pr 

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

From: will <whansard@sbcglobal.net>
To: bug-followup@FreeBSD.org,  whansard@bigfoot.com
Cc:  
Subject: Re: kern/21406: [boot] bootinst or booteasy overwrites second drive's
 partition table
Date: Sat, 30 Dec 2006 13:15:06 -0600

 I haven't run into that problem in years, and i have been using a newer version of 
 bootinst for years also.  I'll happily go along with "no longer relevant".
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Sat Dec 30 19:52:36 UTC 2006 
State-Changed-Why:  
The submitter reports that he had been using a newer version of bootinst 
for some time now and mentions that this is no longer relevant. Thus 
closing the PR. Thanks for the feedback ! 

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