NetBSD Problem Report #6954

Received: (qmail 16510 invoked from network); 6 Feb 1999 23:10:14 -0000
Message-Id: <199902062309.AAA23543@vader.runit.sintef.no>
Date: Sun, 7 Feb 1999 00:09:42 +0100 (MET)
From: Havard.Eidnes@runit.sintef.no
Reply-To: Havard.Eidnes@runit.sintef.no
To: gnats-bugs@gnats.netbsd.org
Cc: ws@netbsd.org, Havard.Eidnes@runit.sintef.no
Subject: /usr/mdec/mbr does not always work
X-Send-Pr-Version: 3.95

>Number:         6954
>Category:       port-i386
>Synopsis:       /usr/mdec/mbr does not always work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 06 15:20:00 +0000 1999
>Closed-Date:    Mon Feb 08 21:53:25 +0000 1999
>Last-Modified:  Mon Feb 08 21:54:03 +0000 1999
>Originator:     Havard Eidnes
>Release:        NetBSD-current 19990131
>Organization:
	RUNIT AS
>Environment:
NetBSD vever.runit.sintef.no 1.3I NetBSD 1.3I (GENERIC) #1: Mon Feb  1 00:18:40 MET 1999     he@hugin.runit.sintef.no:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
	I recently used sysinst to partition and install on a 10.1GB
	disk (after initial manual labeling).

	After installation, the BIOS (I think it's the BIOS) told me
	"Invalid system disk; Replace the disk and then press any key"
	The machine is a Dell Optiplex GXa, with "PHOENIX ROM BIOS
	PLUS version 1.10 A06".

	I installed the system on the second disk on the system, and
	used os-bs on the first disk to switch, but as I now have a
	fix for the problem those factors are not really part of the
	problem as far as I can tell.

	(Some may wonder how I used sysinst to install, and to tell
	the truth I used sysinst from an unannounced Jan5 snapshot to
	install the Jan31 snapshot, but the /usr/mdec/mbr code from
	Jan31 also fails, as evidenced from doing (NetBSD) "fdisk -i
	wd1" after trying the initial MBR.)

>How-To-Repeat:
	Try to use /usr/mdec/mbr on a machine as above, and watch the
	boot fail.

>Fix:
	Boot an MS-DOS diskette with fdisk on it.
	Reinstall a working MBR (in my case on disk 2) with

		fdisk /mbr 2

	The system now correctly boots as it should.

	I don't really know how to fix /usr/mdec/mbr, as I don't know
	what this particular BIOS looks for in order to detect whether
	a disk contains an MBR or not.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ws 
State-Changed-When: Mon Feb 8 13:53:25 PST 1999 
State-Changed-Why:  
Fixed and tested by the submitter. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.