NetBSD also supports GRUB multiboot specifications. Hence, it's very easy to boot the operating system up. The full specification is available here: https://www.gnu.org/software/grub/manual/grub/html_node/NetBSD.html.
These are the instructions for setting up boot sequences for GNU/Linux. They are multi-boot standard procedures.
You need to seek out your root partition via search command and set command for setting the root partition to it. You also need to load the part_bsd
module.
grub> insmod part_bsd
grub> set root=(hd0,netbsd1)
Next is to load the kernel using knetbsd command. You can load it as follows:
# Basic
grub> knetbsd /netbsd
# With kernel arguments
grub> knetbsd /netbsd -s -v
Next is to load the kernel modules using knetbsd_module_elf command:
grub> knetbsd_module_elf /stand/amd64/6.0/modules/ffs/ffs.kmod
Once done, you can proceed to execute boot sequences using the boot command and release the boot sequence to that operating system.
grub> boot
That's all about multibooting netBSD.