Configure loader in /boot

Alain De Vos

Daemon

Reaction score: 608
Messages: 2,056

Is it possible to configure my /boot directory in order for the /boot/loader to present me with different options, ie different kernels , different root partions, different partitions to chainload ?
If so which files do I have to edit ?
Currently I have a root partition and kernel configured in loader.conf but this is all without options except boot in singe or multi-user mode.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,962
Messages: 38,420

The "beasty" menu you see when you boot a standard FreeBSD is being run by loader(8). Up until a few years ago it was written in Forth, nowadays it's LUA. The loader(8) on a modern FreeBSD 13.0 installation already allows you to select the kernel and a boot environment.
 
Top