loader.conf revision 332115
1# This is loader.conf - a file full of useful variables that you can
2# set to change the default load behavior of your system. You should
3# not edit this file!  Put any overrides into one of the
4# loader_conf_files instead and you will be able to update these
5# defaults later without spamming your local configuration information.
6#
7# All arguments must be in double quotes.
8#
9# $FreeBSD: stable/11/stand/defaults/loader.conf 332115 2018-04-06 16:59:58Z kevans $
10
11###  Basic configuration options  ############################
12exec="echo Loading /boot/defaults/loader.conf"
13
14kernel="kernel"		# /boot sub-directory containing kernel and modules
15bootfile="kernel"	# Kernel name (possibly absolute path)
16kernel_options=""	# Flags to be passed to the kernel
17loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"
18nextboot_conf="/boot/nextboot.conf"
19nextboot_enable="NO"
20verbose_loading="NO"		# Set to YES for verbose loader output
21
22###  Splash screen configuration  ############################
23splash_bmp_load="NO"		# Set this to YES for bmp splash screen!
24splash_pcx_load="NO"		# Set this to YES for pcx splash screen!
25splash_txt_load="NO"		# Set this to YES for TheDraw splash screen!
26vesa_load="NO"			# Set this to YES to load the vesa module
27bitmap_load="NO"		# Set this to YES if you want splash screen!
28bitmap_name="splash.bmp"	# Set this to the name of the file
29bitmap_type="splash_image_data" # and place it on the module_path
30
31###  Screen saver modules  ###################################
32# This is best done in rc.conf
33screensave_load="NO"		# Set to YES to load a screensaver module
34screensave_name="green_saver"	# Set to the name of the screensaver module
35
36###  Random number generator configuration  ##################
37# See rc.conf(5). The entropy_boot_file config variable must agree with the
38# settings below.
39entropy_cache_load="YES"		# Set this to NO to disable loading
40					# entropy at boot time
41entropy_cache_name="/boot/entropy"	# Set this to the name of the file
42entropy_cache_type="boot_entropy_cache"	# Required for the kernel to find
43					# the boot-time entropy cache. This
44					# must not change value even if the
45					# _name above does change!
46
47###  RAM Blacklist configuration  ############################
48ram_blacklist_load="NO"			# Set this to YES to load a file
49					# containing a list of addresses to
50					# exclude from the running system.
51ram_blacklist_name="/boot/blacklist.txt" # Set this to the name of the file
52ram_blacklist_type="ram_blacklist"	# Required for the kernel to find
53					# the blacklist module
54
55###  ACPI settings  ##########################################
56acpi_dsdt_load="NO"		# DSDT Overriding
57acpi_dsdt_type="acpi_dsdt"	# Don't change this
58acpi_dsdt_name="/boot/acpi_dsdt.aml"
59				# Override DSDT in BIOS by this file
60acpi_video_load="NO"		# Load the ACPI video extension driver
61
62###  Initial memory disk settings  ###########################
63#mdroot_load="YES"		# The "mdroot" prefix is arbitrary.
64#mdroot_type="md_image"		# Create md(4) disk at boot.
65#mdroot_name="/boot/root.img"	# Path to a file containing the image.
66#rootdev="ufs:/dev/md0"		# Set the root filesystem to md(4) device.
67
68###  Loader settings  ########################################
69#loader_delay="3"		# Delay in seconds before loading anything.
70				# Default is unset and disabled (no delay).
71#autoboot_delay="10"		# Delay in seconds before autobooting,
72				# -1 for no user interrupts, NO to disable
73#password=""			# Prevent changes to boot options
74#bootlock_password=""		# Prevent booting (see check-password.4th(8))
75#geom_eli_passphrase_prompt="NO" # Prompt for geli(8) passphrase to mount root
76bootenv_autolist="YES"		# Auto populate the list of ZFS Boot Environments
77#beastie_disable="NO"		# Turn the beastie boot menu on and off
78#kernels="kernel kernel.old"	# Kernels to display in the boot menu
79#loader_logo="orbbw"		# Desired logo: orbbw, orb, fbsdbw, beastiebw, beastie, none
80#comconsole_speed="9600"	# Set the current serial console speed
81#console="vidconsole"		# A comma separated list of console(s)
82#currdev="disk1s1a"		# Set the current device
83module_path="/boot/modules;/boot/dtb;/boot/overlays"	# Set the module search path
84#prompt="\\${interpret}"	# Set the command prompt
85#root_disk_unit="0"		# Force the root disk unit number
86#rootdev="disk1s1a"		# Set the root filesystem
87#dumpdev="disk1s1b"		# Set a dump device early in the boot process
88#tftp.blksize="1428"		# Set the RFC 2348 TFTP block size.
89				# If the TFTP server does not support RFC 2348,
90				# the block size is set to 512. Valid: (8,9007)
91#twiddle_divisor="1"		# >1 means slow down the progress indicator.
92
93###  Kernel settings  ########################################
94# The following boot_ variables are enabled by setting them to any value.
95# Their presence in the kernel environment (see kenv(1)) has the same
96# effect as setting the given boot flag (see boot(8)).
97#boot_askname=""	# -a: Prompt the user for the name of the root device
98#boot_cdrom=""		# -C: Attempt to mount root file system from CD-ROM
99#boot_ddb=""		# -d: Instructs the kernel to start in the DDB debugger
100#boot_dfltroot=""	# -r: Use the statically configured root file system
101#boot_gdb=""		# -g: Selects gdb-remote mode for the kernel debugger
102#boot_multicons=""	# -D: Use multiple consoles
103#boot_mute=""		# -m: Mute the console
104#boot_pause=""		# -p: Pause after each line during device probing
105#boot_serial=""		# -h: Use serial console
106#boot_single=""		# -s: Start system in single-user mode
107#boot_verbose=""	# -v: Causes extra debugging information to be printed
108#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init"
109			# Sets the list of init candidates
110#init_shell="/bin/sh"	# The shell binary used by init(8).
111#init_script=""		# Initial script to run by init(8) before chrooting.
112#init_chroot=""		# Directory for init(8) to chroot into.
113
114###  Kernel tunables  ########################################
115#hw.physmem="1G"		# Limit physical memory. See loader(8)
116#kern.dfldsiz=""		# Set the initial data size limit
117#kern.dflssiz=""		# Set the initial stack size limit
118#kern.hz="100"			# Set the kernel interval timer rate
119#kern.maxbcache=""		# Set the max buffer cache KVA storage
120#kern.maxdsiz=""		# Set the max data size
121#kern.maxfiles=""		# Set the sys. wide open files limit
122#kern.maxproc=""		# Set the maximum # of processes
123#kern.maxssiz=""		# Set the max stack size
124#kern.maxswzone=""		# Set the max swmeta KVA storage
125#kern.maxtsiz=""		# Set the max text size
126#kern.maxusers="32"		# Set size of various static tables
127#kern.msgbufsize="65536"	# Set size of kernel message buffer
128#kern.nbuf=""			# Set the number of buffer headers
129#kern.ncallout=""		# Set the maximum # of timer events
130#kern.ngroups="1023"		# Set the maximum # of supplemental groups
131#kern.sgrowsiz=""		# Set the amount to grow stack
132#kern.cam.boot_delay="10000"	# Delay (in ms) of root mount for CAM bus
133				# registration, useful for USB sticks as root
134#kern.cam.scsi_delay="2000"	# Delay (in ms) before probing SCSI
135#kern.ipc.maxsockets=""		# Set the maximum number of sockets available
136#kern.ipc.nmbclusters=""	# Set the number of mbuf clusters
137#kern.ipc.nsfbufs=""		# Set the number of sendfile(2) bufs
138#net.inet.tcp.tcbhashsize=""	# Set the value of TCBHASHSIZE
139#vfs.root.mountfrom=""		# Specify root partition
140#vm.kmem_size=""		# Sets the size of kernel memory (bytes)
141#debug.kdb.break_to_debugger="0" # Allow console to break into debugger.
142#debug.ktr.cpumask="0xf"	# Bitmask of CPUs to enable KTR on
143#debug.ktr.mask="0x1200"	# Bitmask of KTR events to enable
144#debug.ktr.verbose="1"		# Enable console dump of KTR events
145
146###  Module loading syntax example  ##########################
147#module_load="YES"		# loads module "module"
148#module_name="realname"		# uses "realname" instead of "module"
149#module_type="type"		# passes "-t type" to load
150#module_flags="flags"		# passes "flags" to the module
151#module_before="cmd"		# executes "cmd" before loading the module
152#module_after="cmd"		# executes "cmd" after loading the module
153#module_error="cmd"		# executes "cmd" if load fails
154