set default=0 set timeout=5 serial --speed=115200 terminal_input serial console terminal_output serial console search --file --set /boot/trantor insmod part_msdos insmod part_gpt insmod chain insmod fat insmod bsd insmod zfs load_env menuentry "mfsBSD 11.2-RELEASE (slightly customized)" { loopback loop /boot/mfsbsd-11.2-RELEASE-amd64.iso kfreebsd -D (loop)/boot/kernel/kernel.gz kfreebsd_loadenv (loop)/boot/device.hints kfreebsd_module (loop)/boot/kernel/ahci.ko kfreebsd_module (loop)/mfsroot.gz type=mfs_root set kFreeBSD.console="comconsole,vidconsole" set kFreeBSD.comconsole_speed="115200" set kFreeBSD.vfs.root.mountfrom="ufs:/dev/md0" set kFreeBSD.mfsbsd.autodhcp="YES" } menuentry "FreeDOS" { # http://www.syslinux.org/wiki/index.php/MEMDISK # linux16 /boot/memdisk [floppy | harddisk | iso] [raw] linux16 /boot/memdisk harddisk initrd16 /boot/freedos.gz } menuentry "FreeBSD 12" { search -s -l fbsd12 kfreebsd -D /ROOT/default/@/boot/zfsloader set default="${chosen}" save_env default } menuentry "FreeBSD 10" { search -s -l fbsd10 kfreebsd -D /ROOT/default/@/boot/zfsloader set default="${chosen}" save_env default } menuentry "FreeBSD head" { search -s -l head kfreebsd -D /ROOT/default/@/boot/zfsloader set default="${chosen}" save_env default }