# This is loader.conf - a file full of useful variables that you can1# set to change the default load behavior of your system. You should2# not edit this file! Put any overrides into one of the3# loader_conf_files instead and you will be able to update these4# defaults later without spamming your local configuration information.5#6# All arguments must be in double quotes.7#89### Basic configuration options ############################10exec="echo Loading /boot/defaults/loader.conf"1112kernel="kernel" # /boot sub-directory containing kernel and modules13bootfile="kernel" # Kernel name (possibly absolute path)14kernel_options="" # Flags to be passed to the kernel15loader_conf_files="/boot/device.hints /boot/loader.conf"16loader_conf_dirs="/boot/loader.conf.d"17local_loader_conf_files="/boot/loader.conf.local"18nextboot_conf="/boot/nextboot.conf"19verbose_loading="NO" # Set to YES for verbose loader output2021### Splash screen configuration ############################22splash_bmp_load="NO" # Set this to YES for bmp splash screen!23splash_pcx_load="NO" # Set this to YES for pcx splash screen!24splash_txt_load="NO" # Set this to YES for TheDraw splash screen!25vesa_load="NO" # Set this to YES to load the vesa module26bitmap_load="NO" # Set this to YES if you want splash screen!27bitmap_name="splash.bmp" # Set this to the name of the file28bitmap_type="splash_image_data" # and place it on the module_path29splash="/boot/images/freebsd-logo-rev.png" # Set boot_mute=YES to load it3031### Screen saver modules ###################################32# This is best done in rc.conf33screensave_load="NO" # Set to YES to load a screensaver module34screensave_name="green_saver" # Set to the name of the screensaver module3536### Early hostid configuration ############################37hostuuid_load="YES"38hostuuid_name="/etc/hostid"39hostuuid_type="hostuuid"4041### Random number generator configuration ##################42# See rc.conf(5). The entropy_boot_file config variable must agree with the43# settings below.44entropy_cache_load="YES" # Set this to NO to disable loading45# cached entropy at boot time46entropy_cache_name="/boot/entropy" # Set this to the name of the file47entropy_cache_type="boot_entropy_cache" # Required for the kernel to find48# the boot-time entropy cache. This49# must not change value even if the50# _name above does change!51entropy_efi_seed="YES" # Set this to NO to disable loading52# entropy from the UEFI hardware53# random number generator API54entropy_efi_seed_size="2048" # Set this to a different value to55# change the amount of entropy56# requested from EFI5758### RAM Blacklist configuration ############################59ram_blacklist_load="NO" # Set this to YES to load a file60# containing a list of addresses to61# exclude from the running system.62ram_blacklist_name="/boot/blacklist.txt" # Set this to the name of the file63ram_blacklist_type="ram_blacklist" # Required for the kernel to find64# the blacklist module6566### Microcode loading configuration ########################67cpu_microcode_load="NO" # Set this to YES to load and apply a68# microcode update file during boot.69cpu_microcode_name="/boot/firmware/ucode.bin" # Set this to the microcode70# update file path.71cpu_microcode_type="cpu_microcode" # Required for the kernel to find72# the microcode update file.7374### ACPI settings ##########################################75acpi_dsdt_load="NO" # DSDT Overriding76acpi_dsdt_type="acpi_dsdt" # Don't change this77acpi_dsdt_name="/boot/acpi_dsdt.aml"78# Override DSDT in BIOS by this file79acpi_video_load="NO" # Load the ACPI video extension driver8081### Audit settings #########################################82audit_event_load="NO" # Preload audit_event config83audit_event_name="/etc/security/audit_event"84audit_event_type="etc_security_audit_event"8586### Initial memory disk settings ###########################87#mdroot_load="YES" # The "mdroot" prefix is arbitrary.88#mdroot_type="md_image" # Create md(4) disk at boot.89#mdroot_name="/boot/root.img" # Path to a file containing the image.90#rootdev="ufs:/dev/md0" # Set the root filesystem to md(4) device.9192### Loader settings ########################################93#loader_delay="3" # Delay in seconds before loading anything.94# Default is unset and disabled (no delay).95#autoboot_delay="10" # Delay in seconds before autobooting,96# -1 for no user interrupts, NO to disable97#print_delay="1000000" # Slow printing of loader messages, useful for98# debugging. Given in microseconds.99#password="" # Prevent changes to boot options100#bootlock_password="" # Prevent booting (see check-password.4th(8))101#geom_eli_passphrase_prompt="NO" # Prompt for geli(8) passphrase to mount root102bootenv_autolist="YES" # Auto populate the list of ZFS Boot Environments103#beastie_disable="NO" # Turn the beastie boot menu on and off104efi_max_resolution="1x1" # Set the max resolution for EFI loader to use:105# 480p, 720p, 1080p, 1440p, 2160p/4k, 5k, or106# WidthxHeight (e.g. 1920x1080)107#kernels="kernel kernel.old" # Kernels to display in the boot menu108kernels_autodetect="YES" # Auto-detect kernel directories in /boot109#loader_gfx="YES" # Use graphical images when available110#loader_logo="orbbw" # Desired logo: orbbw, orb, fbsdbw, beastiebw, beastie, none111#comconsole_speed="115200" # Set the current serial console speed112#console="vidconsole" # A comma separated list of console(s)113#currdev="disk1s1a" # Set the current device114module_path="/boot/modules;/boot/firmware;/boot/dtb;/boot/dtb/overlays" # Set the module search path115module_blacklist="drm drm2 radeonkms i915kms amdgpu if_iwlwifi if_rtw88 if_rtw89" # Loader module blacklist116module_blacklist="${module_blacklist} nvidia nvidia-drm nvidia-modeset"117#prompt="\\${interpret}" # Set the command prompt118#root_disk_unit="0" # Force the root disk unit number119#rootdev="disk1s1a" # Set the root filesystem120#dumpdev="disk1s1b" # Set a dump device early in the boot process121#tftp.blksize="1428" # Set the RFC 2348 TFTP block size.122# If the TFTP server does not support RFC 2348,123# the block size is set to 512. Valid: (8,9007)124#twiddle_divisor="16" # >16 slows down the progress indicator;125# <16 speeds up the progress indicator.126127### Kernel settings ########################################128# The following boot_ variables are enabled by setting them to any value.129# Their presence in the kernel environment (see kenv(1)) has the same130# effect as setting the given boot flag (see boot(8)).131#boot_askname="" # -a: Prompt the user for the name of the root device132#boot_cdrom="" # -C: Attempt to mount root file system from CD-ROM133#boot_ddb="" # -d: Instructs the kernel to start in the DDB debugger134#boot_dfltroot="" # -r: Use the statically configured root file system135#boot_gdb="" # -g: Selects gdb-remote mode for the kernel debugger136#boot_multicons="" # -D: Use multiple consoles137#boot_mute="" # -m: Mute the console138#boot_pause="" # -p: Pause after each line during device probing139#boot_serial="" # -h: Use serial console140#boot_single="" # -s: Start system in single-user mode141#boot_verbose="" # -v: Causes extra debugging information to be printed142#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init"143# Sets the list of init candidates144#init_shell="/bin/sh" # The shell binary used by init(8).145#init_script="" # Initial script to run by init(8) before chrooting.146#init_chroot="" # Directory for init(8) to chroot into.147148### Kernel tunables ########################################149#hw.physmem="1G" # Limit physical memory. See loader(8)150#kern.dfldsiz="" # Set the initial data size limit151#kern.dflssiz="" # Set the initial stack size limit152#kern.hz="100" # Set the kernel interval timer rate153#kern.maxbcache="" # Set the max buffer cache KVA storage154#kern.maxdsiz="" # Set the max data size155#kern.maxfiles="" # Set the sys. wide open files limit156#kern.maxproc="" # Set the maximum # of processes157#kern.maxssiz="" # Set the max stack size158#kern.maxswzone="" # Set the max swmeta KVA storage159#kern.maxtsiz="" # Set the max text size160#kern.maxusers="32" # Set size of various static tables161#kern.msgbufsize="65536" # Set size of kernel message buffer162#kern.nbuf="" # Set the number of buffer headers163#kern.ncallout="" # Set the maximum # of timer events164#kern.ngroups="1023" # Set the maximum # of supplemental groups165#kern.sgrowsiz="" # Set the amount to grow stack166#kern.cam.boot_delay="10000" # Delay (in ms) of root mount for CAM bus167# registration, useful for USB sticks as root168#kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI169#kern.ipc.maxsockets="" # Set the maximum number of sockets available170#kern.ipc.nmbclusters="" # Set the number of mbuf clusters171#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs172#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE173#vfs.root.mountfrom="" # Specify root partition174#vm.kmem_size="" # Sets the size of kernel memory (bytes)175#debug.kdb.break_to_debugger="0" # Allow console to break into debugger.176#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on177#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable178#debug.ktr.verbose="1" # Enable console dump of KTR events179180### Module loading syntax example ##########################181#module_load="YES" # loads module "module"182#module_name="realname" # uses "realname" instead of "module"183#module_type="type" # passes "-t type" to load184#module_flags="flags" # passes "flags" to the module185#module_before="cmd" # executes "cmd" before loading the module186#module_after="cmd" # executes "cmd" after loading the module187#module_error="cmd" # executes "cmd" if load fails188189### Firmware names mapping list190iwm3160fw_type="firmware"191iwm7260fw_type="firmware"192iwm7265fw_type="firmware"193iwm8265fw_type="firmware"194iwm9260fw_type="firmware"195iwm3168fw_type="firmware"196iwm7265Dfw_type="firmware"197iwm8000C_type="firmware"198iwm9000fw_type="firmware"199200201