GNU Info

Info Node: (grub.info)NetBSD

(grub.info)NetBSD


Next: OpenBSD Prev: FreeBSD Up: OS-specific notes
Enter node , (file) or (file)node

NetBSD
------

   GRUB can load NetBSD a.out and ELF directly, follow these steps:

  1. Set GRUB's root device with `root' (Note: root).

  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:

          grub> kernel --type=netbsd /netbsd-elf

  3. Run `boot' (Note: boot).

   For now, however, GRUB doesn't allow you to pass kernel parameters,
so it may be better to chain-load it instead, for more information
please see Note: Chain-loading.


automatically generated by info2www version 1.2.2.9