GRUB can load NetBSD a.out and ELF directly, follow these steps:
- Set GRUB's root device with root (see root).
- 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
- 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