IT lexicon › Infra & Ops › loader (FreeBSD)

loader (FreeBSD)

Infra & Ops På svenska → Updated: 2026-11-09

The final stage of FreeBSD's boot, which loads the kernel and its modules and for many years was programmed in Forth.

Booting happens in stages: firmware, a small first-stage bootloader, and finally /boot/loader, a small program that understands filesystems, reads /boot/loader.conf and loads the kernel along with any modules that need to be present from the start. It arrived in the late 1990s and made it possible to swap kernels or set variables interactively without rebuilding anything.

Menus and logic were written in FICL, an embedded Forth interpreter, which ensured that few people dared touch the Beastie boot menu. Since FreeBSD 12.0 in 2018 Lua has been the default instead. The loader also understands ZFS, so you can pick a boot environment before the system has even started.

← Back to the lexicon