NetBSD Problem Report #39736

From  Sun Oct 12 16:14:58 2008
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 0E0C863B88A
	for <>; Sun, 12 Oct 2008 16:14:58 +0000 (UTC)
Message-Id: <>
Date: Sun, 12 Oct 2008 16:10:18 +0000 (UTC)
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
Not mush
System: NetBSD 4.99.72
Architecture: i386
Machine: i386
    Under some circumstances, installboot ignroes and fails to sanity
    check the "secondary" or "stage2" argument.

    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.

    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.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.