I installed a slackware on zroot/ROOT/slackware, I want to do such thing:
Whhen I change BE to zroot/ROOT/slackware and press enter, it run chain /boot/slackware.efi
loader.efi(8) is designed to boot FreeBSD. It is not a "boot selector". What you're looking for is typically done with a boot selector like GRUB or rEFInd.
loader.efi is a PE32+ executable, you cannot write anything inside.
There is no Chain* var in /boot/loader.conf unless it's well hidden.
Looks like an AI hallucination.
loader.efi is a PE32+ executable, you cannot write anything inside.
There is no Chain* var in /boot/loader.conf unless it's well hidden.
Looks like an AI hallucination.
Adding a Chainload Entry to the Boot Menu (Legacy BIOS)
If you are using a Legacy BIOS system and want to add an entry to the FreeBSD boot menu that chainloads another disk (e.g., a disk with Windows or Linux), you can use the following variable:
chain_disk="diskX:": Adds a menu entry (usually accessible via F8) to boot from a specific disk.
why not just use an EFI loader and just boot its native loader (grub I guess)? chainloading was an ugly hack for legacy boot, but is rather pointless with EFI...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.