Le 14/05/2023 à 23:02, hl a écrit :
Thank didier gaumet! os-prober seems to be installed by default. it
thinks my freebsd is unknown linux distro. if it's windows, i bet it can
detect it correctly. freebsd is close cousin of linux they say, it is
treated shabbily
- As far as I know, Linux being its cousin does not make FreeBSD more
able to multiboot it:
https://wiki.freebsd.org/Multiboot
- os-prober has its limitations, that's why it is not automatically
enabled in recent or future releases of Debian
- that does not prevent multibooting from Grub, but one has then to set
up that manually (see the link I gave you before, there is a FreeBSD
example).
There are other FreeBSD Grub setup examples here:
https://forums.freebsd.org/threads/install-freebsd-13-0-alongside-with-other-oss-on-uefi-system-via-grub2-multiboot.74818/
https://forums.freebsd.org/threads/detect-freebsd-from-grub-on-efi.68395/
https://unix.stackexchange.com/questions/109272/add-freebsd-to-grub2-boot-menu
- I don't remember, I think the FreeBSD root partition can be either
UFS2/FFS2 or ZFS: in case of the latter you will have to adapt the setup
accordingly.
As a funny sidenote, it seems the first Grub version was a modified
FreeBSD bootloader. The author then decided that the best way was to
rewrite Grub from scratch... ;-)