Subject: Re: pkg/34936
To: None <jmmv@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: pkgsrc-bugs
Date: 11/25/2006 02:55:01
The following reply was made to PR pkg/34936; it has been noted by GNATS.
From: Kazushi (Jam) Marukawa <jam@pobox.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/34936
Date: Sat, 25 Nov 2006 11:54:56 +0900
Please close this PR because of following reasons. Thanks.
1. I reported xen didn't boot from grub-0.97nb6. This is
not correct. Both could boot xen (after ungzipping).
I'm still having difficulties between old machine (can
boot from XXX.gz) and new machine (cannot boot from
XXX.gz) though. This should be another story, so please
close this PR.
2. I also reported that newer NetBSD 4 kernel couldn't boot
from GRUB. It was not correct. Newer multiboot kernel
could boot by *NOT* specifying "--type=netbsd"
I specified wrong parameter since the info said to do so.
Please modify grub.info like below to help others.
Then, close this PR please. Thanks.
diff -au ./docs/grub.info.orig ./docs/grub.info
--- ./docs/grub.info.orig 2005-05-08 12:00:05.000000000 +0900
+++ ./docs/grub.info 2006-11-25 11:45:30.000000000 +0900
@@ -881,10 +881,15 @@
2. Load the kernel with `kernel' (*note kernel::). You should append
the ugly option `--type=netbsd', if you want to load an ELF
- kernel, like this:
+ kernel for NetBSD 3.X and former, like this:
grub> kernel --type=netbsd /netbsd-elf
+ Or if you want to load an multiboot kernel for NetBSD 4.X and
+ latter, like this:
+
+ grub> kernel /netbsd-multiboot
+
3. Run `boot' (*note boot::).
For now, however, GRUB doesn't allow you to pass kernel parameters,