1b6955dfdSWarner Losh.\" Copyright (c) 1999 Daniel C. Sobral 2b6955dfdSWarner Losh.\" All rights reserved. 3b6955dfdSWarner Losh.\" 4b6955dfdSWarner Losh.\" Redistribution and use in source and binary forms, with or without 5b6955dfdSWarner Losh.\" modification, are permitted provided that the following conditions 6b6955dfdSWarner Losh.\" are met: 7b6955dfdSWarner Losh.\" 1. Redistributions of source code must retain the above copyright 8b6955dfdSWarner Losh.\" notice, this list of conditions and the following disclaimer. 9b6955dfdSWarner Losh.\" 2. Redistributions in binary form must reproduce the above copyright 10b6955dfdSWarner Losh.\" notice, this list of conditions and the following disclaimer in the 11b6955dfdSWarner Losh.\" documentation and/or other materials provided with the distribution. 12b6955dfdSWarner Losh.\" 13b6955dfdSWarner Losh.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14b6955dfdSWarner Losh.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15b6955dfdSWarner Losh.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16b6955dfdSWarner Losh.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17b6955dfdSWarner Losh.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18b6955dfdSWarner Losh.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19b6955dfdSWarner Losh.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20b6955dfdSWarner Losh.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21b6955dfdSWarner Losh.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22b6955dfdSWarner Losh.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23b6955dfdSWarner Losh.\" SUCH DAMAGE. 24*c343eedcSStéphane Rochoy.Dd February 2, 2024 25b6955dfdSWarner Losh.Dt LOADER.CONF 5 26b6955dfdSWarner Losh.Os 27b6955dfdSWarner Losh.Sh NAME 28b6955dfdSWarner Losh.Nm loader.conf 29b6955dfdSWarner Losh.Nd "system bootstrap configuration information" 30b6955dfdSWarner Losh.Sh DESCRIPTION 31b6955dfdSWarner LoshThe file 32b6955dfdSWarner Losh.Nm 33b6955dfdSWarner Loshcontains descriptive information on bootstrapping the system. 34b6955dfdSWarner LoshThrough 35b6955dfdSWarner Loshit you can specify the kernel to be booted, parameters to be passed to 36b6955dfdSWarner Loshit, and additional modules to be loaded; and generally set all variables 37b6955dfdSWarner Loshdescribed in 38b6955dfdSWarner Losh.Xr loader 8 . 39b6955dfdSWarner Losh.Sh SYNTAX 40b6955dfdSWarner LoshThough 41b6955dfdSWarner Losh.Nm Ns 's 42b6955dfdSWarner Loshformat was defined explicitly to resemble 43b6955dfdSWarner Losh.Xr rc.conf 5 , 44b6955dfdSWarner Loshand can be sourced by 45b6955dfdSWarner Losh.Xr sh 1 , 46b6955dfdSWarner Loshsome settings are treated in a special fashion. 47b6955dfdSWarner LoshAlso, the 48b6955dfdSWarner Loshbehavior of some settings is defined by the setting's suffix; 49b6955dfdSWarner Loshthe prefix identifies which module the setting controls. 50b6955dfdSWarner Losh.Pp 51b6955dfdSWarner LoshThe general parsing rules are: 52b6955dfdSWarner Losh.Bl -bullet 53b6955dfdSWarner Losh.It 54b6955dfdSWarner LoshSpaces and empty lines are ignored. 55b6955dfdSWarner Losh.It 56b6955dfdSWarner LoshA # sign will mark the remainder of the line as a comment. 57b6955dfdSWarner Losh.It 58b6955dfdSWarner LoshOnly one setting can be present on each line. 59b6955dfdSWarner Losh.El 60b6955dfdSWarner Losh.Pp 61b6955dfdSWarner LoshAll settings have the following format: 62b6955dfdSWarner Losh.Pp 63b6955dfdSWarner Losh.Dl variable="value" 64b6955dfdSWarner Losh.Pp 65b6955dfdSWarner LoshUnless it belongs to one of the classes of settings that receive special 66b6955dfdSWarner Loshtreatment, a setting will set the value of a 67b6955dfdSWarner Losh.Xr loader 8 68b6955dfdSWarner Loshenvironment variable. 69b6955dfdSWarner LoshThe settings that receive special 70b6955dfdSWarner Loshtreatment are listed below. 71b6955dfdSWarner LoshSettings beginning with 72b6955dfdSWarner Losh.Qq * 73b6955dfdSWarner Loshbelow define the modules to be loaded and 74b6955dfdSWarner Loshmay have any prefix; the prefix identifies a module. 75b6955dfdSWarner LoshAll such settings sharing a common 76b6955dfdSWarner Loshprefix refer to the same module. 77b6955dfdSWarner Losh.Bl -tag -width Ar 7871f6aea4SDaniel Gerzo.It Ar autoboot_delay 7971f6aea4SDaniel GerzoDelay in seconds before automatically booting. 8071f6aea4SDaniel GerzoA user with console access will be able to interrupt the 8171f6aea4SDaniel Gerzo.Ic autoboot 8271f6aea4SDaniel Gerzoprocess and escape into the interactive mode by pressing a key on 8371f6aea4SDaniel Gerzothe console during this delay. 8471f6aea4SDaniel Gerzo.Pp 8571f6aea4SDaniel GerzoIf set to 8671f6aea4SDaniel Gerzo.Dq Li NO , 8771f6aea4SDaniel Gerzono 8871f6aea4SDaniel Gerzo.Ic autoboot 8971f6aea4SDaniel Gerzois automatically attempted after processing 9071f6aea4SDaniel Gerzo.Pa /boot/loader.rc , 9171f6aea4SDaniel Gerzothough explicit 9271f6aea4SDaniel Gerzo.Ic autoboot Ns 's 9371f6aea4SDaniel Gerzoare processed normally, using a 10 second delay. 9471f6aea4SDaniel Gerzo.Pp 9571f6aea4SDaniel GerzoIf set to 9671f6aea4SDaniel Gerzo.Dq Li 0 , 9771f6aea4SDaniel Gerzono delay is inserted, but any keys pressed while the kernel and modules are 9871f6aea4SDaniel Gerzoloaded will enter interactive mode. 9971f6aea4SDaniel Gerzo.Pp 10071f6aea4SDaniel GerzoIf set to 10171f6aea4SDaniel Gerzo.Dq Li -1 , 10271f6aea4SDaniel Gerzono delay will be inserted and 10371f6aea4SDaniel Gerzo.Nm 10471f6aea4SDaniel Gerzostarts interactive mode only if 10571f6aea4SDaniel Gerzo.Ic autoboot 10671f6aea4SDaniel Gerzohas failed. 10771f6aea4SDaniel GerzoIn combination with the 10871f6aea4SDaniel Gerzo.Va beastie_disable 10971f6aea4SDaniel Gerzooption, this option prevents users with console access from being able 11071f6aea4SDaniel Gerzoto interrupt the 11171f6aea4SDaniel Gerzo.Ic autoboot 11271f6aea4SDaniel Gerzoprocess and escape to the loader prompt. 11371f6aea4SDaniel GerzoTo use the 11471f6aea4SDaniel Gerzo.Va autoboot_delay 11571f6aea4SDaniel Gerzooption in this manner, 11671f6aea4SDaniel Gerzo.Va beastie_disable 11771f6aea4SDaniel Gerzomust be set to 11871f6aea4SDaniel Gerzo.Dq Li YES . 119b6955dfdSWarner Losh.It Ar exec 120b6955dfdSWarner LoshImmediately executes a 121b6955dfdSWarner Losh.Xr loader 8 122b6955dfdSWarner Loshcommand. 123b6955dfdSWarner LoshThis type of setting cannot be processed by programs other 124b6955dfdSWarner Loshthan 125b6955dfdSWarner Losh.Xr loader 8 , 126b6955dfdSWarner Loshso its use should be avoided. 127b6955dfdSWarner LoshMultiple instances of it will be processed 128b6955dfdSWarner Loshindependently. 12972cf7db3SKyle Evans.It Ar loader_conf_dirs 13072cf7db3SKyle EvansSpace separated list of directories to process for configuration files. 13172cf7db3SKyle EvansThe lua-based loader will process files with a 13272cf7db3SKyle Evans.Dq .conf 13372cf7db3SKyle Evanssuffix that are placed in these directories. 134b6955dfdSWarner Losh.It Ar loader_conf_files 135b6955dfdSWarner LoshDefines additional configuration files to be processed right after the 136b6955dfdSWarner Loshpresent file. 13780a623bfSKyle Evans.Ar loader_conf_files 13880a623bfSKyle Evansshould be treated as write-only. 13980a623bfSKyle EvansOne cannot depend on any value remaining in the loader environment or carried 14080a623bfSKyle Evansover into the kernel environment. 141*c343eedcSStéphane Rochoy.It Ar product_vars 142*c343eedcSStéphane RochoyWhen set, must be a space separated list of environment variable names to walk 143*c343eedcSStéphane Rochoythrough to guess product information. 144*c343eedcSStéphane RochoyThe order matters as reading a config file override the previously defined 145*c343eedcSStéphane Rochoyvalues. 146*c343eedcSStéphane RochoyUndefined variables are silently ignored. 147*c343eedcSStéphane Rochoy.Pp 148*c343eedcSStéphane RochoyWhen product information can be guessed, for each product information found, 149*c343eedcSStéphane Rochoyappend 150*c343eedcSStéphane Rochoy.Pa /boot/loader.conf.d/PRODUCT 151*c343eedcSStéphane Rochoyto 152*c343eedcSStéphane Rochoy.Ar loader_conf_dirs . 153*c343eedcSStéphane RochoyIt can be typically used as follow: 154*c343eedcSStéphane Rochoy.Bd -literal 155*c343eedcSStéphane Rochoysmbios.system.planar.maker="PLANAR_MAKER" 156*c343eedcSStéphane Rochoysmbios.system.planar.product="PLANAR_PRODUCT" 157*c343eedcSStéphane Rochoysmbios.system.product="PRODUCT" 158*c343eedcSStéphane Rochoyuboot.m_product="M_PRODUCT" 159*c343eedcSStéphane Rochoyproduct_vars="smbios.system.planar.maker smbios.system.planar.product smbios.system.product uboot.m_product" 160*c343eedcSStéphane Rochoy.Ed 161*c343eedcSStéphane Rochoy.Pp 162*c343eedcSStéphane Rochoyto read files found in the following directories, in that order: 163*c343eedcSStéphane Rochoy.Bl -bullet -compact 164*c343eedcSStéphane Rochoy.It 165*c343eedcSStéphane Rochoy.Pa /boot/loader.conf.d/PLANAR_MAKER 166*c343eedcSStéphane Rochoy.It 167*c343eedcSStéphane Rochoy.Pa /boot/loader.conf.d/PLANAR_PRODUCT 168*c343eedcSStéphane Rochoy.It 169*c343eedcSStéphane Rochoy.Pa /boot/loader.conf.d/PRODUCT 170*c343eedcSStéphane Rochoy.It 171*c343eedcSStéphane Rochoy.Pa /boot/loader.conf.d/M_PRODUCT 172*c343eedcSStéphane Rochoy.El 173b6955dfdSWarner Losh.It Ar kernel 174b6955dfdSWarner LoshName of the kernel to be loaded. 175b6955dfdSWarner LoshIf no kernel name is set, no additional 176b6955dfdSWarner Loshmodules will be loaded. 177b6955dfdSWarner LoshThe name must be a subdirectory of 178b6955dfdSWarner Losh.Pa /boot 179b6955dfdSWarner Loshthat contains a kernel. 180b6955dfdSWarner Losh.It Ar kernel_options 181b6955dfdSWarner LoshFlags to be passed to the kernel. 182b6955dfdSWarner Losh.It Ar vfs.root.mountfrom 183b6955dfdSWarner LoshSpecify the root partition to mount. 184b6955dfdSWarner LoshFor example: 185b6955dfdSWarner Losh.Pp 186b6955dfdSWarner Losh.Dl vfs.root.mountfrom="ufs:/dev/da0s1a" 187b6955dfdSWarner Losh.Pp 188b6955dfdSWarner Losh.Xr loader 8 189b6955dfdSWarner Loshautomatically calculates the value of this tunable from 190b6955dfdSWarner Losh.Pa /etc/fstab 191b6955dfdSWarner Loshfrom the partition the kernel was loaded from. 192b6955dfdSWarner LoshThe calculated value might be calculated incorrectly when 193b6955dfdSWarner Losh.Pa /etc/fstab 194b6955dfdSWarner Loshis not available during 195b6955dfdSWarner Losh.Xr loader 8 196b6955dfdSWarner Loshstartup (as during diskless booting from NFS), or if a different 197b6955dfdSWarner Loshdevice is desired by the user. 198b6955dfdSWarner LoshThe preferred value can be set in 199b6955dfdSWarner Losh.Pa /loader.conf . 200b6955dfdSWarner Losh.Pp 201b6955dfdSWarner LoshThe value can also be overridden from the 202b6955dfdSWarner Losh.Xr loader 8 203b6955dfdSWarner Loshcommand line. 204b6955dfdSWarner LoshThis is useful for system recovery when 205b6955dfdSWarner Losh.Pa /etc/fstab 206b6955dfdSWarner Loshis damaged, lost, or read from the wrong partition. 207b6955dfdSWarner Losh.It Ar password 208b6955dfdSWarner LoshProtect boot menu with a password without interrupting 209b6955dfdSWarner Losh.Ic autoboot 210b6955dfdSWarner Loshprocess. 211b6955dfdSWarner LoshThe password should be in clear text format. 212b6955dfdSWarner LoshIf a password is set, boot menu will not appear until any key is pressed during 213b6955dfdSWarner Loshcountdown period specified by 214b6955dfdSWarner Losh.Va autoboot_delay 215b6955dfdSWarner Loshvariable or 216b6955dfdSWarner Losh.Ic autoboot 217b6955dfdSWarner Loshprocess fails. 218b6955dfdSWarner LoshIn both cases user should provide specified password to be able to access boot 219b6955dfdSWarner Loshmenu. 220b6955dfdSWarner Losh.It Ar bootlock_password 221b6955dfdSWarner LoshProvides a password to be required by check-password before execution is 222b6955dfdSWarner Loshallowed to continue. 223b6955dfdSWarner LoshThe password should be in clear text format. 224b6955dfdSWarner LoshIf a password is set, the user must provide specified password to boot. 225b6955dfdSWarner Losh.It Ar verbose_loading 226b6955dfdSWarner LoshIf set to 227b6955dfdSWarner Losh.Dq YES , 228b6955dfdSWarner Loshmodule names will be displayed as they are loaded. 229532dc172SKyle Evans.It Ar module_blacklist 230532dc172SKyle EvansBlacklist of modules. 231532dc172SKyle EvansModules specified in the blacklist may not be loaded automatically with a 232532dc172SKyle Evans.Ar *_load 233532dc172SKyle Evansdirective, but they may be loaded directly at the 234532dc172SKyle Evans.Xr loader 8 235532dc172SKyle Evansprompt. 236532dc172SKyle EvansBlacklisted modules may still be loaded indirectly as dependencies of other 237dbffe0f1SGlen Barbermodules. 238b6955dfdSWarner Losh.It Ar *_load 239b6955dfdSWarner LoshIf set to 240b6955dfdSWarner Losh.Dq YES , 241b6955dfdSWarner Loshthat module will be loaded. 242b6955dfdSWarner LoshIf no name is defined (see below), the 243b6955dfdSWarner Loshmodule's name is taken to be the same as the prefix. 244b6955dfdSWarner Losh.It Ar *_name 245b6955dfdSWarner LoshDefines the name of the module. 246b6955dfdSWarner Losh.It Ar *_type 247b6955dfdSWarner LoshDefines the module's type. 248b6955dfdSWarner LoshIf none is given, it defaults to a kld module. 249b6955dfdSWarner Losh.It Ar *_flags 250b6955dfdSWarner LoshFlags and parameters to be passed to the module. 251b6955dfdSWarner Losh.It Ar *_before 252b6955dfdSWarner LoshCommands to be executed before the module is loaded. 253b6955dfdSWarner LoshUse of this setting 254b6955dfdSWarner Loshshould be avoided. 255b6955dfdSWarner Losh.It Ar *_after 256b6955dfdSWarner LoshCommands to be executed after the module is loaded. 257b6955dfdSWarner LoshUse of this setting 258b6955dfdSWarner Loshshould be avoided. 259b6955dfdSWarner Losh.It Ar *_error 260b6955dfdSWarner LoshCommands to be executed if the loading of a module fails. 261b6955dfdSWarner LoshExcept for the 262b6955dfdSWarner Loshspecial value 263b6955dfdSWarner Losh.Dq abort , 264b6955dfdSWarner Loshwhich aborts the bootstrap process, use of this setting should be avoided. 265b6955dfdSWarner Losh.El 266b6955dfdSWarner Losh.Pp 267b6955dfdSWarner Losh.Em WARNING : 268b6955dfdSWarner Loshdevelopers should never use these suffixes for any kernel environment 269b6955dfdSWarner Loshvariables (tunables) or conflicts will result. 270b6955dfdSWarner Losh.Sh DEFAULT SETTINGS 271b6955dfdSWarner LoshMost of 272b6955dfdSWarner Losh.Nm Ns 's 273b6955dfdSWarner Loshdefault settings can be ignored. 274b6955dfdSWarner LoshThe few of them which are important 275b6955dfdSWarner Loshor useful are: 276b6955dfdSWarner Losh.Bl -tag -width bootfile -offset indent 277b6955dfdSWarner Losh.It Va bitmap_load 278b6955dfdSWarner Losh.Pq Dq NO 279b6955dfdSWarner LoshIf set to 280b6955dfdSWarner Losh.Dq YES , 281b6955dfdSWarner Losha bitmap will be loaded to be displayed on screen while booting. 282b6955dfdSWarner Losh.It Va bitmap_name 283b6955dfdSWarner Losh.Pq Dq Pa /boot/splash.bmp 284b6955dfdSWarner LoshName of the bitmap to be loaded. 285b6955dfdSWarner LoshAny other name can be used. 286b6955dfdSWarner Losh.It Va comconsole_speed 2874722ceb7SEd Maste.Dq ( 115200 288b6955dfdSWarner Loshor the value of the 289b6955dfdSWarner Losh.Va BOOT_COMCONSOLE_SPEED 290b6955dfdSWarner Loshvariable when 291b6955dfdSWarner Losh.Xr loader 8 292b6955dfdSWarner Loshwas compiled). 293b6955dfdSWarner LoshSets the speed of the serial console. 294b6955dfdSWarner LoshIf the previous boot loader stage specified that a serial console 295b6955dfdSWarner Loshis in use then the default speed is determined from the current 296b6955dfdSWarner Loshserial port speed setting. 297b6955dfdSWarner Losh.It Va console 298b6955dfdSWarner Losh.Pq Dq vidconsole 299b6955dfdSWarner Losh.Dq comconsole 300b6955dfdSWarner Loshselects serial console, 301b6955dfdSWarner Losh.Dq vidconsole 302b6955dfdSWarner Loshselects the video console, 303de0c7fbeSLi-Wen Hsu.Dq efi 304de0c7fbeSLi-Wen Hsuselects the EFI console, 305b6955dfdSWarner Losh.Dq nullconsole 306b6955dfdSWarner Loshselects a mute console 307b6955dfdSWarner Losh(useful for systems with neither a video console nor a serial port), and 308b6955dfdSWarner Losh.Dq spinconsole 309b6955dfdSWarner Loshselects the video console which prevents any input and hides all output 310b6955dfdSWarner Loshreplacing it with 311b6955dfdSWarner Losh.Dq spinning 312b6955dfdSWarner Loshcharacter (useful for embedded products and such). 313babda095SToomas Soome.It Va screen.font 314babda095SToomas SoomeSet font size for framebuffer mode. 315babda095SToomas SoomeDefault font size is selected based on screen resolution, to achieve 316babda095SToomas Soometerminal dimensions 80x24. 317babda095SToomas Soome.It Va screen.textmode 3183efe9b3eSMateusz PiotrowskiValue 3193efe9b3eSMateusz Piotrowski.Dq 0 3203efe9b3eSMateusz Piotrowskiwill trigger BIOS loader to switch to use VESA BIOS Extension (VBE) 321babda095SToomas Soomeframe buffer mode for console. 322babda095SToomas SoomeThe same effect can be achieved by setting 323babda095SToomas Soome.Va vbe_max_resolution . 324babda095SToomas Soome.Pp 3253efe9b3eSMateusz PiotrowskiValue 3263efe9b3eSMateusz Piotrowski.Dq 1 3273efe9b3eSMateusz Piotrowskiwill force BIOS loader to use VGA text mode. 328babda095SToomas Soome.Pp 329babda095SToomas SoomeIf 330babda095SToomas Soome.Va vbe_max_resolution 331babda095SToomas Soomeis not set, the loader will try to set screen resolution based on EDID 332babda095SToomas Soomeinformation. 333babda095SToomas SoomeIf EDID is not available, the default resolution is 800x600 (if available). 334babda095SToomas Soome.It Va screen.height 335babda095SToomas Soome.It Va screen.width 336babda095SToomas Soome.It Va screen.depth 337babda095SToomas Soome.Va screen.height , 338babda095SToomas Soome.Va screen.width , 339babda095SToomas Soome.Va screen.depth 340babda095SToomas Soomeare set by loader when loader is using framebuffer mode to draw the screen. 3419ee31ef2SKyle Evans.It Va efi_max_resolution 3423630506bSToomas Soome.It Va vbe_max_resolution 343babda095SToomas SoomeSpecify the maximum desired resolution for the EFI or VBE framebuffer console. 344bd868d67SKyle EvansThe following values are accepted: 345bd868d67SKyle Evans.Bl -column "WidthxHeight" 346bd868d67SKyle Evans.It Sy Value Ta Sy Resolution 347bd868d67SKyle Evans.It 480p Ta 640x480 348bd868d67SKyle Evans.It 720p Ta 1280x720 349bd868d67SKyle Evans.It 1080p Ta 1920x1080 3507edbf69bSDag-Erling Smørgrav.It 1440p Ta 2560x1440 351bd868d67SKyle Evans.It 2160p Ta 3840x2160 352bd868d67SKyle Evans.It 4k Ta 3840x2160 353bd868d67SKyle Evans.It 5k Ta 5120x2880 354bd868d67SKyle Evans.It Va Width Ns x Ns Va Height Ta Va Width Ns x Ns Va Height 355bd868d67SKyle Evans.El 356b6955dfdSWarner Losh.It Va kernel 357b6955dfdSWarner Losh.Pq Dq kernel 358b6955dfdSWarner Losh.It Va kernels 359b6955dfdSWarner Losh.Pq Dq kernel kernel.old 360b6955dfdSWarner LoshSpace or comma separated list of kernels to present in the boot menu. 361b6955dfdSWarner Losh.It Va loader_conf_files 362b6955dfdSWarner Losh.Pq Dq Pa /boot/loader.conf /boot/loader.conf.local 36372cf7db3SKyle Evans.It Va loader_conf_dirs 36472cf7db3SKyle Evans.Pq Dq Pa /boot/loader.conf.d 365b6955dfdSWarner Losh.It Va splash_bmp_load 366b6955dfdSWarner Losh.Pq Dq NO 367b6955dfdSWarner LoshIf set to 368b6955dfdSWarner Losh.Dq YES , 369b6955dfdSWarner Loshwill load the splash screen module, making it possible to display a bmp image 370b6955dfdSWarner Loshon the screen while booting. 371b6955dfdSWarner Losh.It Va splash_pcx_load 372b6955dfdSWarner Losh.Pq Dq NO 373b6955dfdSWarner LoshIf set to 374b6955dfdSWarner Losh.Dq YES , 375b6955dfdSWarner Loshwill load the splash screen module, making it possible to display a pcx image 376b6955dfdSWarner Loshon the screen while booting. 377b6955dfdSWarner Losh.It Va vesa_load 378b6955dfdSWarner Losh.Pq Dq NO 379b6955dfdSWarner LoshIf set to 380b6955dfdSWarner Losh.Dq YES , 381b6955dfdSWarner Loshthe vesa module will be loaded, enabling bitmaps above VGA resolution to 382b6955dfdSWarner Loshbe displayed. 383b6955dfdSWarner Losh.It Va beastie_disable 384b6955dfdSWarner LoshIf set to 385b6955dfdSWarner Losh.Dq YES , 386b6955dfdSWarner Loshthe beastie boot menu will be skipped. 387b6955dfdSWarner Losh.It Va loader_logo Pq Dq Li orbbw 388b6955dfdSWarner LoshSelects a desired logo in the beastie boot menu. 389b6955dfdSWarner LoshPossible values are: 390b6955dfdSWarner Losh.Dq Li orbbw , 391b6955dfdSWarner Losh.Dq Li orb , 392b6955dfdSWarner Losh.Dq Li fbsdbw , 393b6955dfdSWarner Losh.Dq Li beastiebw , 394b6955dfdSWarner Losh.Dq Li beastie , 395b6955dfdSWarner Loshand 396b6955dfdSWarner Losh.Dq Li none . 397b6955dfdSWarner Losh.It Va loader_color 398b6955dfdSWarner LoshIf set to 399b6955dfdSWarner Losh.Dq NO , 400b6955dfdSWarner Loshthe beastie boot menu will be displayed without ANSI coloring. 401b6955dfdSWarner Losh.It Va entropy_cache_load 402b6955dfdSWarner Losh.Pq Dq YES 403b6955dfdSWarner LoshIf set to 404b6955dfdSWarner Losh.Dq NO , 405b6955dfdSWarner Loshthe very early 406b6955dfdSWarner Loshboot-time entropy file 407b6955dfdSWarner Loshwill not be loaded. 408b6955dfdSWarner LoshSee the entropy entries in 409b6955dfdSWarner Losh.Xr rc.conf 5 . 410b6955dfdSWarner Losh.It Va entropy_cache_name 411b6955dfdSWarner Losh.Pq Dq /boot/entropy 412b6955dfdSWarner LoshThe name of the very early 413b6955dfdSWarner Loshboot-time entropy cache file. 414f6a0fd44SMark Johnston.It Va cpu_microcode_load 415f6a0fd44SMark Johnston.Pq Dq NO 416f6a0fd44SMark JohnstonIf set to 417f6a0fd44SMark Johnston.Dq YES , 418f6a0fd44SMark Johnstonthe microcode update file specified by 419f6a0fd44SMark Johnston.Va cpu_microcode_name 420f6a0fd44SMark Johnstonwill be loaded and applied very early during boot. 421f6a0fd44SMark JohnstonThis provides functionality similar to 422f6a0fd44SMark Johnston.Xr cpucontrol 8 423f6a0fd44SMark Johnstonbut ensures that CPU features enabled by microcode updates can be 424f6a0fd44SMark Johnstonused by the kernel. 425f6a0fd44SMark JohnstonThe update will be re-applied automatically when resuming from an 426f6a0fd44SMark JohnstonACPI sleep state. 427f6a0fd44SMark JohnstonIf the update file contains updates for multiple processor models, 428f6a0fd44SMark Johnstonthe kernel will search for and extract a matching update. 429f6a0fd44SMark JohnstonCurrently this setting is supported only on Intel 430f6a0fd44SMark Johnston.Dv i386 431f6a0fd44SMark Johnstonand 432f6a0fd44SMark Johnston.Dv amd64 433f6a0fd44SMark Johnstonprocessors. 434f6a0fd44SMark JohnstonIt has no effect on other processor types. 435f6a0fd44SMark Johnston.It Va cpu_microcode_name 436f6a0fd44SMark JohnstonA path to a microcode update file. 437b6955dfdSWarner Losh.El 438dec08e67SKyle Evans.Sh OTHER SETTINGS 439dec08e67SKyle EvansOther settings that may be used in 440dec08e67SKyle Evans.Nm 441dec08e67SKyle Evansthat have no default value: 442dec08e67SKyle Evans.Bl -tag -width bootfile -offset indent 443dec08e67SKyle Evans.It Va fdt_overlays 444dec08e67SKyle EvansSpecifies a comma-delimited list of FDT overlays to apply. 4452c58a193SKyle Evans.Pa /boot/dtb/overlays 446dec08e67SKyle Evansis created by default for overlays to be placed in. 447dec08e67SKyle Evans.It Va kernels_autodetect 448dec08e67SKyle EvansIf set to 449dec08e67SKyle Evans.Dq YES , 450dec08e67SKyle Evansattempt to auto-detect kernels installed in 451dec08e67SKyle Evans.Pa /boot . 452dec08e67SKyle EvansThis is an option specific to the Lua-based loader. 453dec08e67SKyle EvansIt is not available in the default Forth-based loader. 454dec08e67SKyle Evans.El 455b6955dfdSWarner Losh.Sh FILES 456b6955dfdSWarner Losh.Bl -tag -width /boot/defaults/loader.conf -compact 457b6955dfdSWarner Losh.It Pa /boot/defaults/loader.conf 4585fdf01dbSWarner Loshdefault settings \(em do not change this file. 459b6955dfdSWarner Losh.It Pa /boot/loader.conf 4605fdf01dbSWarner Loshuser defined settings. 4613cb2f5f3SKyle Evans.It Pa /boot/loader.conf.lua 4625fdf01dbSWarner Loshuser defined settings written in lua. 463b6955dfdSWarner Losh.It Pa /boot/loader.conf.local 4645fdf01dbSWarner Loshmachine-specific settings for sites with a common loader.conf. 465b6955dfdSWarner Losh.El 466b6955dfdSWarner Losh.Sh SEE ALSO 46764db9a0fSWarner Losh.Xr kenv 1 , 4683cb2f5f3SKyle Evans.Xr loader.conf.lua 5 , 469b6955dfdSWarner Losh.Xr rc.conf 5 , 470b6955dfdSWarner Losh.Xr boot 8 , 471f6a0fd44SMark Johnston.Xr cpucontrol 8 , 472b6955dfdSWarner Losh.Xr loader 8 , 473b6955dfdSWarner Losh.Xr loader.4th 8 474b6955dfdSWarner Losh.Sh HISTORY 475b6955dfdSWarner LoshThe file 476b6955dfdSWarner Losh.Nm 477b6955dfdSWarner Loshfirst appeared in 478b6955dfdSWarner Losh.Fx 3.2 . 479b6955dfdSWarner Losh.Sh AUTHORS 480b6955dfdSWarner LoshThis manual page was written by 481b6955dfdSWarner Losh.An Daniel C. Sobral Aq dcs@FreeBSD.org . 482b6955dfdSWarner Losh.Sh BUGS 483b6955dfdSWarner LoshThe 484b6955dfdSWarner Losh.Xr loader 8 485b6955dfdSWarner Loshstops reading 486b6955dfdSWarner Losh.Nm 487b6955dfdSWarner Loshwhen it encounters a syntax error, so any options which are vital for 4883efe9b3eSMateusz Piotrowskibooting a particular system (i.e., 489b6955dfdSWarner Losh.Dq Va hw.ata.ata_dma Ns "=0" ) 490b6955dfdSWarner Loshshould precede any experimental additions to 491b6955dfdSWarner Losh.Nm . 492