[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: booting NetBSD-1.5.[12] kernel
From: |
Jeff Sheinberg |
Subject: |
Re: booting NetBSD-1.5.[12] kernel |
Date: |
Thu, 29 Nov 2001 19:30:58 -0500 |
Jeff Sheinberg writes:
> Hi,
>
> I noticed a problem with grub when directly booting a NetBSD
> kernel,
>
> # Entry 4: NetBSD 1.5.1 production [sd1s4]
> title NetBSD 1.5.1 production [sd1a]
> hide (hd0,3)
> hide (hd0,7)
> hide (hd2,1)
> unhide (hd2,3)
> root (hd2,3,a) 1
> kernel --type=netbsd /netbsd
>
> basically, using the above stanza, NetBSD comes up to the usual
> "login:" prompt, and then hangs solid. I had to use "reset" to
> get out of this hang.
>
> When I chainload NetBSD, like this,
>
> # Entry 4: NetBSD 1.5.1 production [sd1s4]
> title NetBSD 1.5.1 production [sd1a]
> hide (hd0,3)
> hide (hd0,7)
> hide (hd2,1)
> unhide (hd2,3)
> root (hd2,3)
> chainloader +1
>
> then it boots up just fine, without any problems.
>
Just for the record, I tried a few more experiments with
chainloading NetBSD 1.5.2 using grub, and I can now confirm that
the problem I reported is a NetBSD problem, _not_ a grub problem.
The problem is that when NetBSD is trying to process the "-a" (ask
for root device) option, it hangs later on at the "login:" prompt.
However, the question still remains that when grub is used to boot
the NetBSD kernel directly, why does NetBSD not receive the
correct boot device? Note that I am not saying that grub does not
pass the correct boot device to NetBSD kernel, this may or may not
be the case, I just don't know.
--
Jeff Sheinberg <address@hidden>