Node:NetBSD, Next:, Previous:FreeBSD, Up:OS-specific notes



NetBSD

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

  1. Set GRUB's root device with root (see root).
  2. Load the kernel with kernel (see 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 (see 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 Chain-loading.