tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Multiboot a NetBSD kernel with Grub2: it works

On 09/13/2011 08:08 PM, Grégoire Sutre wrote:
* grub2 also has a knetbsd option to boot a NetBSD kernel, which loads
the kernel fine, but might pass wrong argument, as the
kernel does not find the rootfs and /sbin/init.

Right, I remember facing the same issue. The option -r of the knetbsd
command lets you specify the root device (e.g., -r wd0a), but, ideally,
this should not be needed.

FYI, with grub's development version (trunk), the root device should
now be passed to the kernel, without needing -r (but -r may still be
specified to override).  If you try it and have problems, please let
me know.


p.s. It also passes the bootwedge boot info, as is done by NetBSD's
boot loader, so this should also work with GPT.

Home | Main Index | Thread Index | Old Index