# # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub # ### BEGIN /usr/local/etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if loadfont unicode ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang= insmod gettext fi terminal_output gfxterm set timeout=5 ### END /usr/local/etc/grub.d/00_header ### ### BEGIN /usr/local/etc/grub.d/10_kfreebsd ### menuentry 'FreeBSD' --class freebsd --class bsd --class os $menuentry_id_option 'kfreebsd-simple-5af030d15d17915d' { tinsmod part_gpt tinsmod ufs2 tif [ x$feature_platform_search_hint = xy ]; then t search --no-floppy --fs-uuid --set=root 5af030d15d17915d telse t search --no-floppy --fs-uuid --set=root 5af030d15d17915d tfi echo 'Loading kernel of FreeBSD kernel ...' kfreebsd /boot/kernel/kernel kfreebsd_loadenv /boot/device.hints tinsmod part_gpt tinsmod ufs2 tif [ x$feature_platform_search_hint = xy ]; then t search --no-floppy --fs-uuid --set=root 5af030d15d17915d telse t search --no-floppy --fs-uuid --set=root 5af030d15d17915d tfi kfreebsd_module_elf /boot/kernel/ufs.ko set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/5af030d15d17915d set kFreeBSD.vfs.root.mountfrom.options=rw } submenu 'Advanced options for FreeBSD' $menuentry_id_option 'kfreebsd-advanced-5af030d15d17915d' { tmenuentry 'FreeBSD, with kFreeBSD kernel' --class freebsd --class bsd --class os $menuentry_id_option 'kfreebsd-kernel-advanced-5af030d15d17915d' { ttinsmod part_gpt ttinsmod ufs2 ttif [ x$feature_platform_search_hint = xy ]; then tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttelse tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttfi t echo 'Loading kernel of FreeBSD kernel ...' t kfreebsd /boot/kernel/kernel t kfreebsd_loadenv /boot/device.hints ttinsmod part_gpt ttinsmod ufs2 ttif [ x$feature_platform_search_hint = xy ]; then tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttelse tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttfi t kfreebsd_module_elf /boot/kernel/ufs.ko t set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/5af030d15d17915d t set kFreeBSD.vfs.root.mountfrom.options=rw t} tmenuentry 'FreeBSD, with kFreeBSD kernel (recovery mode)' --class freebsd --class bsd --class os $menuentry_id_option 'kfreebsd-kernel-recovery-5af030d15d17915d' { ttinsmod part_gpt ttinsmod ufs2 ttif [ x$feature_platform_search_hint = xy ]; then tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttelse tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttfi t echo 'Loading kernel of FreeBSD kernel ...' t kfreebsd /boot/kernel/kernel -s t kfreebsd_loadenv /boot/device.hints ttinsmod part_gpt ttinsmod ufs2 ttif [ x$feature_platform_search_hint = xy ]; then tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttelse tt search --no-floppy --fs-uuid --set=root 5af030d15d17915d ttfi t kfreebsd_module_elf /boot/kernel/ufs.ko t set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/5af030d15d17915d t set kFreeBSD.vfs.root.mountfrom.options=rw t} } ### END /usr/local/etc/grub.d/10_kfreebsd ### ### BEGIN /usr/local/etc/grub.d/30_os-prober ### ### END /usr/local/etc/grub.d/30_os-prober ### ### BEGIN /usr/local/etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /usr/local/etc/grub.d/40_custom ### ### BEGIN /usr/local/etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /usr/local/etc/grub.d/41_custom ###