NetBSD Problem Report #6087
Received: (qmail 11616 invoked from network); 2 Sep 1998 02:19:13 -0000
Message-Id: <199809020218.LAA00540@land.sky.yamashina.kyoto.jp>
Date: Wed, 2 Sep 1998 11:18:35 +0900 (JST)
From: taca@sky.yamashina.kyoto.jp (Takahiro Kambe)
Reply-To: taca@sky.yamashina.kyoto.jp
To: gnats-bugs@gnats.netbsd.org
Subject: Installboot(8) fail to install boot block.
X-Send-Pr-Version: 3.95
>Number: 6087
>Category: port-i386
>Synopsis: Installboot(8) fail to install boot block.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 01 19:20:01 +0000 1998
>Closed-Date: Wed Sep 02 08:20:48 +0000 1998
>Last-Modified: Wed Sep 02 08:26:33 +0000 1998
>Originator: Takahiro Kambe
>Release: NetBSD 1.3H,1998/9/1
>Organization:
>Environment:
System: NetBSD land.sky.yamashina.kyoto.jp 1.3H NetBSD 1.3H (LAND) #0: Wed Sep 2 01:19:44 JST 1998 taca@land.sky.yamashina.kyoto.jp:/a/leaf/netbsd/sys/arch/i386/compile/LAND i386
>Description:
Installboot(8) fail to install boot block, it trys to write at
BSD partition's offset zero.
>How-To-Repeat:
Write boot block to root partition with installboot(8) under
BSD partition is in FDISK partition after DOS's partition.
>Fix:
This is a simple bugs.
*** sys/arch/i386/stand/installboot/installboot.c~ Mon Aug 31 23:52:25 1998
--- sys/arch/i386/stand/installboot/installboot.c Wed Sep 2 09:03:22 1998
***************
*** 406,412 ****
warnx("invalid partition");
goto out;
}
! bsdoffs = dl.d_partitions[c - 'a'].p_offset;
}
if (verbose)
(void) fprintf(stderr, "BSD partition starts at sector %d\n",
--- 406,412 ----
warnx("invalid partition");
goto out;
}
! bsdoffs = dl.d_partitions[p - 'a'].p_offset;
}
if (verbose)
(void) fprintf(stderr, "BSD partition starts at sector %d\n",
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: drochner
State-Changed-When: Wed Sep 2 01:20:48 PDT 1998
State-Changed-Why:
Patch applied.
This is obviously the mysterious bug reported by Feico Dillema, Mason Loring
Bliss and Robert Baron - thanks for finding it...
>Unformatted:
(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.