NetBSD Problem Report #30834
From www@netbsd.org Mon Jul 25 20:24:15 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 6E5F463B117; Mon, 25 Jul 2005 20:24:15 +0000 (UTC)
Message-Id: <20050725202415.6E5F463B117@narn.netbsd.org>
Date: Mon, 25 Jul 2005 20:24:15 +0000 (UTC)
From: aniou@smutek.pl
Reply-To: aniou@smutek.pl
To: gnats-bugs@netbsd.org
Subject: netbsd-specific bootflags for GRUB
X-Send-Pr-Version: www-1.0
>Number: 30834
>Category: pkg
>Synopsis: netbsd-specific bootflags for GRUB
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: jmmv
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 25 20:25:00 +0000 2005
>Closed-Date: Sun Aug 21 15:10:35 +0000 2005
>Last-Modified: Sun Aug 21 15:20:14 +0000 2005
>Originator: Piotr Meyer
>Release: NetBSD-3.0_BETA
>Organization:
>Environment:
NetBSD czyzyk 3.0_BETA NetBSD 3.0_BETA (CZYZYK) #0: Sun Jun 19 20:50:47 CEST 2005 root@czyzyk:/usr/src/sys/arch/i386/compile/CZYZYK i386
>Description:
GRUB (package sysutils/grub) doesn't support all of NetBSD-specific bootflags. In details, GRUB supports only FreeBSD flags (fortunatelly, most of them has same values in Net and Free). At this time is impossible to pass flags 'z', 'x' or 'q' when booting netbsd kernel from GRUB.
>How-To-Repeat:
Try something like (in GRUB) and see no difference from normal boot.
kernel --type=netbsd /netbsd -z
>Fix:
Apply my quick patch, located at http://smutek.pl/~aniou/grub-patch-ak
>Release-Note:
>Audit-Trail:
From: "Julio M. Merino Vidal" <jmmv@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30384 CVS commit: pkgsrc/sysutils/grub
Date: Sun, 21 Aug 2005 15:08:46 +0000 (UTC)
Module Name: pkgsrc
Committed By: jmmv
Date: Sun Aug 21 15:08:46 UTC 2005
Modified Files:
pkgsrc/sysutils/grub: Makefile distinfo
Added Files:
pkgsrc/sysutils/grub/patches: patch-ac patch-ad patch-ae
Log Message:
Apply patches to recognize boot options passed to NetBSD kernels.
Bump PKGREVISION to 1. From Piotr Meyer in PR pkg/30384.
As GRUB 0.x is in maintenance-only status now, I assume there is no
chance to get them incorporated mainstream. We'll keep them here
though, as they seem useful (could have really helped me in some
situations when needing to boot single user).
To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 pkgsrc/sysutils/grub/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/sysutils/grub/distinfo
cvs rdiff -r0 -r1.3 pkgsrc/sysutils/grub/patches/patch-ac \
pkgsrc/sysutils/grub/patches/patch-ad \
pkgsrc/sysutils/grub/patches/patch-ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->jmmv
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 25 Jul 2005 20:29:56 +0000
Responsible-Changed-Why:
Over to maintainer.
State-Changed-From-To: open->closed
State-Changed-By: jmmv@netbsd.org
State-Changed-When: Sun, 21 Aug 2005 15:10:35 +0000
State-Changed-Why:
Patches applied; thanks!
>Unformatted:
Manually added commit message that got incorrectly attached to
PR 30348 due to a typo in the number.
(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.