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