NetBSD Problem Report #39736
From apb@cequrux.com Sun Oct 12 16:14:58 2008
Return-Path: <apb@cequrux.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 0E0C863B88A
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Oct 2008 16:14:58 +0000 (UTC)
Message-Id: <20081012161018.67C06E93433@apb-laptoy.apb.alt.za>
Date: Sun, 12 Oct 2008 16:10:18 +0000 (UTC)
From: apb@cequrux.com
To: gnats-bugs@gnats.NetBSD.org
Subject: installboot sometimes ignores stage2 file
X-Send-Pr-Version: 3.95
>Number: 39736
>Category: install
>Synopsis: installboot sometimes ignores stage2 file
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Oct 12 16:15:01 +0000 2008
>Originator: Alan Barrett
>Release: NetBSD 4.99.72
>Organization:
Not mush
>Environment:
System: NetBSD 4.99.72
Architecture: i386
Machine: i386
>Description:
Under some circumstances, installboot ignroes and fails to sanity
check the "secondary" or "stage2" argument.
>How-To-Repeat:
installboot -m i386 -t ffs /dev/rwd0a /usr/mdec/bootx_ffs1 /no/such/file
Observe that there are no error messages, even though
"/no/such/file" does not exist.
>Fix:
Apparently, the fact that the second stage boot loader is
"/boot" is hard coded in the i386 first stage boot loader.
installboot should be made aware of this fact, should verify
that the file system contains a /boot file, and should complain
if there is no /boot, or if the command line attempts to specify
a second stage boot loader other than /boot.
I assume that some machines other than i386 have similar issues.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.