i've installed freebsd 12 at 2nd partition of usb disk

after installation and reboot, bullseye's grub appears, bullseye is installed at 1st partition

i suppose freebsd installer has found existing boot loader, it decide to let grub or me to take care of booting bsd

but i'm inexperienced, i've run update-grub, it doesn't add bsd to grub menu.

how to add bsd entry to grub menu? below is menu for bullseye:

menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1a99c626-2623-438f-b730-797dc4db34d5' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 1a99c626-2623-438f-b730-797dc4db34d5
    else
      search --no-floppy --fs-uuid --set=root 1a99c626-2623-438f-b730-797dc4db34d5
    fi
    echo    'Loading Linux 5.10.0-20-686-pae ...'
    linux    /boot/vmlinuz-5.10.0-20-686-pae root=UUID=1a99c626-2623-438f-b730-797dc4db34d5 ro  quiet
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-5.10.0-20-686-pae
}

Reply via email to