1999-03-09 14:06:55 +00:00
|
|
|
# This is loader.conf - a file full of useful variables that you can
|
|
|
|
# set to change the default load behavior of your system. You should
|
|
|
|
# not edit this file! Put any overrides into one of the
|
|
|
|
# loader_conf_files instead and you will be able to update these
|
|
|
|
# defaults later without spamming your local configuration information.
|
|
|
|
#
|
|
|
|
# All arguments must be in double quotes.
|
|
|
|
#
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
### Basic configuration options ############################
|
2015-03-31 21:46:44 +00:00
|
|
|
exec="echo Loading /boot/defaults/loader.conf"
|
1999-03-09 14:06:55 +00:00
|
|
|
|
2000-09-12 20:21:11 +00:00
|
|
|
kernel="kernel" # /boot sub-directory containing kernel and modules
|
|
|
|
bootfile="kernel" # Kernel name (possibly absolute path)
|
2004-09-30 20:02:07 +00:00
|
|
|
kernel_options="" # Flags to be passed to the kernel
|
2002-05-24 02:28:58 +00:00
|
|
|
loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"
|
2020-07-10 01:50:15 +00:00
|
|
|
loader_conf_dirs="/boot/loader.conf.d"
|
2002-05-24 02:28:58 +00:00
|
|
|
nextboot_conf="/boot/nextboot.conf"
|
1999-03-09 14:06:55 +00:00
|
|
|
verbose_loading="NO" # Set to YES for verbose loader output
|
|
|
|
|
|
|
|
### Splash screen configuration ############################
|
1999-05-14 10:03:58 +00:00
|
|
|
splash_bmp_load="NO" # Set this to YES for bmp splash screen!
|
|
|
|
splash_pcx_load="NO" # Set this to YES for pcx splash screen!
|
2012-01-14 17:34:32 +00:00
|
|
|
splash_txt_load="NO" # Set this to YES for TheDraw splash screen!
|
1999-03-09 14:06:55 +00:00
|
|
|
vesa_load="NO" # Set this to YES to load the vesa module
|
|
|
|
bitmap_load="NO" # Set this to YES if you want splash screen!
|
2012-01-14 17:34:32 +00:00
|
|
|
bitmap_name="splash.bmp" # Set this to the name of the file
|
2000-09-16 19:56:23 +00:00
|
|
|
bitmap_type="splash_image_data" # and place it on the module_path
|
1999-03-09 14:06:55 +00:00
|
|
|
|
2018-02-26 03:16:53 +00:00
|
|
|
### Screen saver modules ###################################
|
|
|
|
# This is best done in rc.conf
|
|
|
|
screensave_load="NO" # Set to YES to load a screensaver module
|
|
|
|
screensave_name="green_saver" # Set to the name of the screensaver module
|
1999-03-09 14:06:55 +00:00
|
|
|
|
2020-04-16 00:54:06 +00:00
|
|
|
### Early hostid configuration ############################
|
|
|
|
hostuuid_load="YES"
|
|
|
|
hostuuid_name="/etc/hostid"
|
|
|
|
hostuuid_type="hostuuid"
|
|
|
|
|
2015-07-25 20:17:19 +00:00
|
|
|
### Random number generator configuration ##################
|
2015-06-30 17:09:41 +00:00
|
|
|
# See rc.conf(5). The entropy_boot_file config variable must agree with the
|
|
|
|
# settings below.
|
|
|
|
entropy_cache_load="YES" # Set this to NO to disable loading
|
|
|
|
# entropy at boot time
|
2013-10-06 22:45:02 +00:00
|
|
|
entropy_cache_name="/boot/entropy" # Set this to the name of the file
|
2017-04-16 09:11:02 +00:00
|
|
|
entropy_cache_type="boot_entropy_cache" # Required for the kernel to find
|
2015-06-30 17:09:41 +00:00
|
|
|
# the boot-time entropy cache. This
|
|
|
|
# must not change value even if the
|
|
|
|
# _name above does change!
|
2013-10-06 22:45:02 +00:00
|
|
|
|
2020-07-10 00:24:06 +00:00
|
|
|
### RAM Blacklist configuration ############################
|
|
|
|
ram_blacklist_load="NO" # Set this to YES to load a file
|
2015-04-29 15:57:14 +00:00
|
|
|
# containing a list of addresses to
|
|
|
|
# exclude from the running system.
|
2020-07-10 00:24:06 +00:00
|
|
|
ram_blacklist_name="/boot/blacklist.txt" # Set this to the name of the file
|
|
|
|
ram_blacklist_type="ram_blacklist" # Required for the kernel to find
|
2015-04-29 15:57:14 +00:00
|
|
|
# the blacklist module
|
2013-10-06 22:45:02 +00:00
|
|
|
|
2018-08-13 17:14:06 +00:00
|
|
|
### Microcode loading configuration ########################
|
|
|
|
cpu_microcode_load="NO" # Set this to YES to load and apply a
|
|
|
|
# microcode update file during boot.
|
|
|
|
cpu_microcode_name="/boot/firmware/ucode.bin" # Set this to the microcode
|
|
|
|
# update file path.
|
|
|
|
cpu_microcode_type="cpu_microcode" # Required for the kernel to find
|
|
|
|
# the microcode update file.
|
|
|
|
|
2018-02-26 03:16:53 +00:00
|
|
|
### ACPI settings ##########################################
|
|
|
|
acpi_dsdt_load="NO" # DSDT Overriding
|
|
|
|
acpi_dsdt_type="acpi_dsdt" # Don't change this
|
|
|
|
acpi_dsdt_name="/boot/acpi_dsdt.aml"
|
|
|
|
# Override DSDT in BIOS by this file
|
|
|
|
acpi_video_load="NO" # Load the ACPI video extension driver
|
2015-07-25 16:20:04 +00:00
|
|
|
|
2018-09-03 14:26:43 +00:00
|
|
|
### Audit settings #########################################
|
|
|
|
audit_event_load="NO" # Preload audit_event config
|
|
|
|
audit_event_name="/etc/security/audit_event"
|
|
|
|
audit_event_type="etc_security_audit_event"
|
|
|
|
|
2015-07-25 20:15:29 +00:00
|
|
|
### Initial memory disk settings ###########################
|
2017-06-10 19:05:45 +00:00
|
|
|
#mdroot_load="YES" # The "mdroot" prefix is arbitrary.
|
|
|
|
#mdroot_type="md_image" # Create md(4) disk at boot.
|
|
|
|
#mdroot_name="/boot/root.img" # Path to a file containing the image.
|
2015-07-25 20:15:29 +00:00
|
|
|
#rootdev="ufs:/dev/md0" # Set the root filesystem to md(4) device.
|
|
|
|
|
1999-03-09 14:06:55 +00:00
|
|
|
### Loader settings ########################################
|
2013-11-07 21:52:04 +00:00
|
|
|
#loader_delay="3" # Delay in seconds before loading anything.
|
|
|
|
# Default is unset and disabled (no delay).
|
2005-05-19 23:03:02 +00:00
|
|
|
#autoboot_delay="10" # Delay in seconds before autobooting,
|
2018-02-26 18:50:39 +00:00
|
|
|
# -1 for no user interrupts, NO to disable
|
2015-03-23 17:31:22 +00:00
|
|
|
#password="" # Prevent changes to boot options
|
|
|
|
#bootlock_password="" # Prevent booting (see check-password.4th(8))
|
2015-04-16 20:53:15 +00:00
|
|
|
#geom_eli_passphrase_prompt="NO" # Prompt for geli(8) passphrase to mount root
|
2015-12-31 20:00:53 +00:00
|
|
|
bootenv_autolist="YES" # Auto populate the list of ZFS Boot Environments
|
2003-07-01 01:03:32 +00:00
|
|
|
#beastie_disable="NO" # Turn the beastie boot menu on and off
|
2018-04-03 02:41:32 +00:00
|
|
|
efi_max_resolution="1x1" # Set the max resolution for EFI loader to use:
|
2018-03-23 21:02:46 +00:00
|
|
|
# 480p, 720p, 1080p, 2160p/4k, 5k, or specify
|
|
|
|
# WidthxHeight (e.g. 1920x1080)
|
2013-11-04 20:28:10 +00:00
|
|
|
#kernels="kernel kernel.old" # Kernels to display in the boot menu
|
2018-10-11 17:17:54 +00:00
|
|
|
kernels_autodetect="YES" # Auto-detect kernel directories in /boot
|
2011-11-19 14:44:29 +00:00
|
|
|
#loader_logo="orbbw" # Desired logo: orbbw, orb, fbsdbw, beastiebw, beastie, none
|
2005-08-18 01:39:43 +00:00
|
|
|
#comconsole_speed="9600" # Set the current serial console speed
|
2005-07-29 12:41:37 +00:00
|
|
|
#console="vidconsole" # A comma separated list of console(s)
|
1999-12-07 04:24:05 +00:00
|
|
|
#currdev="disk1s1a" # Set the current device
|
2018-03-19 16:16:12 +00:00
|
|
|
module_path="/boot/modules;/boot/dtb;/boot/dtb/overlays" # Set the module search path
|
2018-10-07 01:53:43 +00:00
|
|
|
module_blacklist="drm drm2 radeonkms i915kms amdgpu" # Loader module blacklist
|
1999-11-01 08:07:04 +00:00
|
|
|
#prompt="\\${interpret}" # Set the command prompt
|
1999-12-07 04:24:05 +00:00
|
|
|
#root_disk_unit="0" # Force the root disk unit number
|
|
|
|
#rootdev="disk1s1a" # Set the root filesystem
|
2016-12-22 15:48:54 +00:00
|
|
|
#dumpdev="disk1s1b" # Set a dump device early in the boot process
|
2011-07-25 21:52:17 +00:00
|
|
|
#tftp.blksize="1428" # Set the RFC 2348 TFTP block size.
|
|
|
|
# If the TFTP server does not support RFC 2348,
|
2018-02-26 03:16:53 +00:00
|
|
|
# the block size is set to 512. Valid: (8,9007)
|
2014-12-22 22:07:22 +00:00
|
|
|
#twiddle_divisor="1" # >1 means slow down the progress indicator.
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
### Kernel settings ########################################
|
2005-07-29 12:41:37 +00:00
|
|
|
# The following boot_ variables are enabled by setting them to any value.
|
|
|
|
# Their presence in the kernel environment (see kenv(1)) has the same
|
|
|
|
# effect as setting the given boot flag (see boot(8)).
|
|
|
|
#boot_askname="" # -a: Prompt the user for the name of the root device
|
|
|
|
#boot_cdrom="" # -C: Attempt to mount root file system from CD-ROM
|
|
|
|
#boot_ddb="" # -d: Instructs the kernel to start in the DDB debugger
|
2005-09-22 15:06:58 +00:00
|
|
|
#boot_dfltroot="" # -r: Use the statically configured root file system
|
2005-07-29 12:41:37 +00:00
|
|
|
#boot_gdb="" # -g: Selects gdb-remote mode for the kernel debugger
|
|
|
|
#boot_multicons="" # -D: Use multiple consoles
|
2005-09-22 15:06:58 +00:00
|
|
|
#boot_mute="" # -m: Mute the console
|
|
|
|
#boot_pause="" # -p: Pause after each line during device probing
|
2005-07-29 12:41:37 +00:00
|
|
|
#boot_serial="" # -h: Use serial console
|
|
|
|
#boot_single="" # -s: Start system in single-user mode
|
|
|
|
#boot_verbose="" # -v: Causes extra debugging information to be printed
|
2011-10-27 10:25:11 +00:00
|
|
|
#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init"
|
1999-12-07 18:35:58 +00:00
|
|
|
# Sets the list of init candidates
|
2007-02-04 06:35:10 +00:00
|
|
|
#init_shell="/bin/sh" # The shell binary used by init(8).
|
|
|
|
#init_script="" # Initial script to run by init(8) before chrooting.
|
|
|
|
#init_chroot="" # Directory for init(8) to chroot into.
|
1999-03-09 14:06:55 +00:00
|
|
|
|
|
|
|
### Kernel tunables ########################################
|
2004-07-29 20:08:40 +00:00
|
|
|
#hw.physmem="1G" # Limit physical memory. See loader(8)
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.dfldsiz="" # Set the initial data size limit
|
|
|
|
#kern.dflssiz="" # Set the initial stack size limit
|
|
|
|
#kern.hz="100" # Set the kernel interval timer rate
|
|
|
|
#kern.maxbcache="" # Set the max buffer cache KVA storage
|
|
|
|
#kern.maxdsiz="" # Set the max data size
|
|
|
|
#kern.maxfiles="" # Set the sys. wide open files limit
|
|
|
|
#kern.maxproc="" # Set the maximum # of processes
|
|
|
|
#kern.maxssiz="" # Set the max stack size
|
|
|
|
#kern.maxswzone="" # Set the max swmeta KVA storage
|
|
|
|
#kern.maxtsiz="" # Set the max text size
|
2001-11-26 03:49:59 +00:00
|
|
|
#kern.maxusers="32" # Set size of various static tables
|
2011-01-21 12:15:21 +00:00
|
|
|
#kern.msgbufsize="65536" # Set size of kernel message buffer
|
2005-08-07 09:41:53 +00:00
|
|
|
#kern.nbuf="" # Set the number of buffer headers
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.ncallout="" # Set the maximum # of timer events
|
2010-01-12 07:49:34 +00:00
|
|
|
#kern.ngroups="1023" # Set the maximum # of supplemental groups
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.sgrowsiz="" # Set the amount to grow stack
|
2011-08-23 20:25:11 +00:00
|
|
|
#kern.cam.boot_delay="10000" # Delay (in ms) of root mount for CAM bus
|
|
|
|
# registration, useful for USB sticks as root
|
2002-09-02 20:10:19 +00:00
|
|
|
#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI
|
2016-04-30 02:47:41 +00:00
|
|
|
#kern.ipc.maxsockets="" # Set the maximum number of sockets available
|
1999-03-09 14:06:55 +00:00
|
|
|
#kern.ipc.nmbclusters="" # Set the number of mbuf clusters
|
2002-07-03 06:42:43 +00:00
|
|
|
#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs
|
1999-03-09 14:06:55 +00:00
|
|
|
#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE
|
2018-02-26 03:16:53 +00:00
|
|
|
#vfs.root.mountfrom="" # Specify root partition
|
2004-01-27 15:59:38 +00:00
|
|
|
#vm.kmem_size="" # Sets the size of kernel memory (bytes)
|
2014-07-04 14:49:40 +00:00
|
|
|
#debug.kdb.break_to_debugger="0" # Allow console to break into debugger.
|
2001-01-06 06:52:49 +00:00
|
|
|
#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on
|
|
|
|
#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable
|
|
|
|
#debug.ktr.verbose="1" # Enable console dump of KTR events
|
2001-03-13 16:16:35 +00:00
|
|
|
|
1999-03-09 14:06:55 +00:00
|
|
|
### Module loading syntax example ##########################
|
|
|
|
#module_load="YES" # loads module "module"
|
|
|
|
#module_name="realname" # uses "realname" instead of "module"
|
|
|
|
#module_type="type" # passes "-t type" to load
|
|
|
|
#module_flags="flags" # passes "flags" to the module
|
|
|
|
#module_before="cmd" # executes "cmd" before loading the module
|
|
|
|
#module_after="cmd" # executes "cmd" after loading the module
|
|
|
|
#module_error="cmd" # executes "cmd" if load fails
|