FreeBSD dual boot with linux on legacy bios computer

FreeBSD dual boot with linux on legacy bios computer

1. Install FreeBSD using UFS filesystem

2. Install linux or altenatively install linux´s grub to mbr (master boot record)

3. Edit /etc/grub.d/40_custom file

sudo nano /etc/grub.d/40_custom

…. add entry (if FreeBSD is sda1)

menuentry "FreeBSD boot loader "{
set root="hd0,1"
kfreebsd /boot/loader
}

4. Update grub

sudo update-grub