My mistake. I haven't dealt with grub quite a while and had an alternative solution in mind which involves gpt3. I overlookedI tried that. I get an error: File `efi' not found.
set root
refers to where the boot loader is situated, not system root (necessarily).Also I need my eyes checked. Seriously, it's in front, but I haven't seen it:
ls (hd1,gpt1)/efi/boot
BOOTx64.efi startup.nsh
Try setting for
chainloader
uppercase BOOTx64.efi
:
Code:
menuentry "FreeBSD" {
set root=(hd1,gpt1)
chainloader /efi/boot/BOOTx64.efi
}
You can also try this one:
Code:
menuentry "FreeBSD 12.1-RELEASE" {
insmod zfs
search --set --label zroot --hint hd1,gpt3
kfreebsd /ROOT/default/@/boot/zfsloader
}