Adjust the boot code to boot from either a root with a /boot, or directly
[dragonfly.git] / sys / boot / forth / 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: src/sys/boot/forth/loader.conf,v 1.72 2003/07/01 01:03:32 brueffer Exp $
10 # $DragonFly: src/sys/boot/forth/loader.conf,v 1.34 2008/09/02 17:21:15 dillon Exp $
11
12 ##############################################################
13 ###  Basic configuration options  ############################
14 ##############################################################
15
16 exec=".( Loading /boot/defaults/loader.conf ) cr"
17
18 kernel="kernel"
19 bootfile="kernel"       # Kernel name (possibly absolute path)
20 kernel_options=""
21
22 userconfig_script_load="NO"
23 userconfig_script_name="/boot/kernel.conf"
24 userconfig_script_type="userconfig_script"
25
26 # Must be accessible if either / or /boot is the boot directory.
27 #
28 loader_conf_files="loader.conf loader.conf.local"
29 nextboot_conf="nextboot.conf"
30 nextboot_enable="NO"
31
32 verbose_loading="NO"            # Set to YES for verbose loader output
33
34
35 ##############################################################
36 ###  Splash screen configuration  ############################
37 ##############################################################
38
39 splash_bmp_load="NO"            # Set this to YES for bmp splash screen!
40 splash_pcx_load="NO"            # Set this to YES for pcx splash screen!
41 vesa_load="NO"                  # Set this to YES to load the vesa module
42 bitmap_load="NO"                # Set this to YES if you want splash screen!
43 bitmap_name="splash.bmp"        # Set this to the name of the bmp or pcx file
44 bitmap_type="splash_image_data" # and place it on the module_path
45
46
47 ##############################################################
48 ###  Loader settings  ########################################
49 ##############################################################
50
51 #autoboot_delay="10"            # Delay in seconds before autobooting
52 #fred_disable="NO"              # Turn Fred's boot menu on and off
53 #loader_color="NO"              # Set to YES for a color version of Fred
54 #console="vidconsole"           # Set the current console
55 #currdev="disk1s1a"             # Set the current device
56 module_path="/boot;/boot/modules;/;/modules"    # Set the module search path
57 #prompt="\\${interpret}"        # Set the command prompt
58 #root_disk_unit="0"             # Force the root disk unit number
59 #rootdev="disk1s1a"             # Set the root filesystem
60
61
62 ##############################################################
63 ###  Kernel settings  ########################################
64 ##############################################################
65
66                         # The following boot_ variables are enabled
67                         # by setting them to any value.
68 #boot_askname=""        # Prompt the user for the name of the root device
69 #boot_ddb=""            # Instructs the kernel to start in the DDB debugger
70 #boot_gdb=""            # Selects gdb-remote mode for the kernel debugger
71 #boot_single=""         # Start system in single-user mode
72 #boot_userconfig=""     # Run kernel's interactive device configuration program
73 #boot_verbose=""        # Causes extra debugging information to be printed
74 #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak"
75                         # Sets the list of init candidates
76 #dumpdev="ad0s1b"       # Set device for crash dumps
77
78
79 ##############################################################
80 ###  Kernel tunables  ########################################
81 ##############################################################
82
83 #hw.physmem="1G"                # Limit physical memory. See loader(8)
84 #kern.dfldsiz=""                # Set the initial data size limit
85 #kern.dflssiz=""                # Set the initial stack size limit
86 #kern.hz="100"                  # Set the kernel interval timer rate
87 #kern.maxbcache=""              # Set the max buffer cache KVA storage
88 #kern.maxdsiz=""                # Set the max data size
89 #kern.maxfiles=""               # Set the sys. wide open files limit
90 #kern.maxproc=""                # Set the maximum # of processes
91 #kern.maxssiz=""                # Set the max stack size
92 #kern.maxswzone=""              # Set the max swmeta KVA storage
93 #kern.maxtsiz=""                # Set the max text size
94 #kern.maxusers="32"             # Set size of various static tables
95 #kern.nbuf=""                   # Set the number of buffer headers 
96 #kern.ncallout=""               # Set the maximum # of timer events
97 #kern.sgrowsiz=""               # Set the amount to grow stack
98 #kern.cam.scsi_delay="2000"     # Delay (in ms) before probing SCSI
99 #kern.ipc.maxsockets=""         # Set the maximum number of sockets avaliable
100 #kern.ipc.nmbclusters=""        # Set the number of mbuf clusters
101 #kern.ipc.nmbufs=""             # Set the maximum number of mbufs
102 #kern.ipc.nsfbufs=""            # Set the number of sendfile(2) bufs
103 #kern.vm.kmem.size=""           # Sets the size of kernel memory (bytes)
104 #net.inet.tcp.tcbhashsize=""    # Set the value of TCBHASHSIZE
105 #vfs.root.mountfrom=""          # Specify root partition in a way the
106                                 # kernel understands
107 #debug.ktr.verbose="1"          # Enable console dump of KTR events
108 #net.graph.maxalloc="128"       # Maximum number of queue items to allocate
109 #net.graph.ngqfreemax="64"      # Maximum number of free queue items to cache
110
111
112 ##############################################################
113 ###  Filesystem and related modules  #########################
114 ##############################################################
115
116 # Filesystems
117
118 cd9660_load="NO"                # ISO 9660 filesystem
119 ext2fs_load="NO"                # ext2 filesystem
120 fdesc_load="NO"                 # Filedescriptors filesystem
121 mfs_load="NO"                   # Memory filesystem
122 msdos_load="NO"                 # FAT-12/16/32
123 nfs_load="NO"                   # NFS
124 ntfs_load="NO"                  # NTFS
125 null_load="NO"                  # Null filesystem
126 nwfs_load="NO"                  # NetWare volume
127 portal_load="NO"                # Portal filesystem
128 procfs_load="NO"                # Process filesystem
129 smbfs_load="NO"                 # SMB/CIFS
130 udf_load="NO"                   # UDF filesystem
131
132 # Related stuff
133
134 ccd_load="NO"                   # Concatenated disk driver
135 vinum_load="NO"                 # Concatenated/mirror/raid driver
136 md_load="NO"                    # Memory disk driver (vnode/swap/malloc)
137
138
139 ##############################################################
140 ###  Screen saver modules  ###################################
141 ##############################################################
142
143 # This is best done in rc.conf
144
145 screensave_load="NO"            # Set to YES to load a screensaver module
146 screensave_name="green_saver"   # Set to the name of the screensaver module
147
148
149 ##############################################################
150 ###  Emulation modules  ######################################
151 ##############################################################
152
153 linux_load="NO"                 # Linux emulation
154
155
156 ##############################################################
157 ###  Networking modules  #####################################
158 ##############################################################
159
160 if_disc_load="NO"               # Discard device
161 if_ef_load="NO"                 # pseudo-device providing support for multiple ethernet frame types
162 if_faith_load="NO"              # IPv6-to-IPv4 TCP relay capturing interface
163 if_gif_load="NO"                # generic tunnel interface
164 if_gre_load="NO"                # encapsulating network device
165 if_ppp_load="NO"                # Kernel ppp
166 if_sl_load="NO"                 # SLIP
167 if_stf_load="NO"                # 6to4 tunnel interface
168 if_tap_load="NO"                # Ethernet tunnel software network interface
169 if_tun_load="NO"                # Tunnel driver (user process ppp)
170 if_vlan_load="NO"               # IEEE 802.1Q VLAN network interface
171 ipfw_load="NO"                  # Firewall
172 pf_load="NO"                    # OpenBSD's packet filter
173
174
175 ##############################################################
176 ###  Networking drivers  #####################################
177 ##############################################################
178
179 miibus_load="NO"                # miibus support, needed for some drivers
180 if_acx_load="NO"                # TI ACX100/ACX111 802.11 wireless NICs
181 if_an_load="NO"                 # Aironet 4500/4800 802.11 wireless NICs
182 if_ar_load="NO"                 # Digi SYNC/570i
183 if_ath_load="NO"                # Atheros 802.11 wireless NICs
184 if_bce_load="NO"                # Broadcom BCM5706/BCM5708 gigabit ethernet
185 if_bfe_load="NO"                # Broadcom BCM4401 PCI ethernet
186 if_bge_load="NO"                # Broadcom BCM570x PCI gigabit ethernet
187 if_bwi_load="NO"                # Broadcom BCM430x/4318 IEEE 802.11b/g wireless
188 if_dc_load="NO"                 # DEC/Intel 21143 and various workalikes
189 if_ed_load="NO"                 # National Semiconductor DS8390/WD83C690 ethernet
190 if_em_load="NO"                 # Intel(R) PRO/1000 gigabit ethernet
191 if_ep_load="NO"                 # 3Com Etherlink III (3c5x9)
192 if_et_load="NO"                 # Agere ET1310 10/100/Gigabit ethernet
193 if_fwe_load="NO"                # Ethernet emulation driver for FireWire
194 if_fxp_load="NO"                # Intel EtherExpress PRO/100B (82557, 82558)
195 if_iwi_load="NO"                # Intel(R) PRO/Wireless 2200BG/2915ABG MiniPCI
196 if_iwl_load="NO"                # Intel(R) PRO/Wireless 2100 MiniPCI
197 if_lge_load="NO"                # Level 1 LXT1001 NetCellerator PCI gigabit ethernet
198 if_lnc_load="NO"                # AMD Lance/PCnet Ethernet
199 if_msk_load="NO"                # Marvell/SysKonnect Yukon II Gigabit Ethernet
200 if_my_load="NO"                 # Myson PCI fast ethernet
201 #if_ndis_load="NO"              # NDIS miniport driver wrapper
202 if_nfe_load="NO"                # NVIDIA nForce MCP 10/100/Gigabit ethernet
203 if_nge_load="NO"                # National Semiconductor PCI gigabit ethernet
204 if_pcn_load="NO"                # AMD PCnet PCI
205 if_ral_load="NO"                # Ralink Technology 802.11 wireless NICs
206 if_re_load="NO"                 # RealTek 8139C+/8169/816xS/811xS/8101E
207 if_rl_load="NO"                 # RealTek 8129/8139
208 if_rtw_load="NO"                # Realtek RTL8180L IEEE 802.11b wireless NICs
209 if_sbni_load="NO"               # Granch SBNI12 leased line adapters
210 if_sbsh_load="NO"               # Granch SBNI16 SHDSL modem
211 if_sf_load="NO"                 # Adaptec Duralink PCI (AIC-6915 "starfire")
212 if_sis_load="NO"                # Silicon Integrated Systems SiS 900/7016
213 if_sk_load="NO"                 # SysKonnect SK-984x series PCI gigabit ethernet
214 if_sr_load="NO"                 # synchronous RISCom/N2 / WANic 400/405
215 if_ste_load="NO"                # Sundance Technologies ST201 fast ethernet
216 if_stge_load="NO"               # Sundance/Tamarack TC9021 gigabit ethernet
217 if_ti_load="NO"                 # Alteon Networks Tigon 1 and Tigon 2
218 if_tl_load="NO"                 # Texas Instruments TNETE100 ("ThunderLAN")
219 if_tx_load="NO"                 # SMC 83c17x fast ethernet
220 if_txp_load="NO"                # 3Com 3XP Typhoon/Sidewinder (3CR990)
221 if_vge_load="NO"                # VIA VT6122 PCI gigabit ethernet
222 if_vr_load="NO"                 # VIA Rhine I and Rhine II
223 if_vx_load="NO"                 # 3Com 3C590 family
224 if_wb_load="NO"                 # Winbond W89C840F
225 if_wi_load="NO"                 # WaveLAN/IEEE 802.11 wireless NICs
226 if_xe_load="NO"                 # Xircom CreditCard PCMCIA
227 if_xl_load="NO"                 # 3Com Etherlink XL (3c900, 3c905, 3c905B)
228
229
230 ##############################################################
231 ###  Netgraph modules  #######################################
232 ##############################################################
233
234 ng_UI_load="NO"                 # UI netgraph node type
235 ng_async_load="NO"              # asynchronous framing netgraph node type
236 ng_bpf_load="NO"                # Berkeley packet filter netgraph node type
237 ng_bridge_load="NO"             # Ethernet bridging netgraph node type
238 ng_cisco_load="NO"              # Cisco HDLC protocol netgraph node type
239 ng_echo_load="NO"               # Netgraph echo node type
240 ng_ether_load="NO"              # Ethernet netgraph node type
241 ng_frame_relay_load="NO"        # frame relay netgraph node type
242 ng_hole_load="NO"               # Netgraph discard node type
243 ng_iface_load="NO"              # interface Netgraph node type
244 ng_ksocket_load="NO"            # kernel socket netgraph node type
245 ng_lmi_load="NO"                # frame relay LMI protocol netgraph node type
246 ng_mppc_load="NO"               # Microsoft MPPC/MPPE compression and encryption netgraph node type
247 ng_one2many_load="NO"           # packet multiplexing netgraph node type
248 ng_ppp_load="NO"                # PPP protocol netgraph node type
249 ng_pppoe_load="NO"              # RFC 2516 PPPOE protocol netgraph node type
250 ng_pptpgre_load="NO"            # PPTP GRE protocol netgraph node type
251 ng_rfc1490_load="NO"            # RFC 1490 netgraph node type
252 ng_socket_load="NO"             # Netgraph socket node type
253 ng_tee_load="NO"                # Netgraph ``tee'' node type
254 ng_tty_load="NO"                # Netgraph node type that is also a line discipline
255 ng_vjc_load="NO"                # Van Jacobsen compression netgraph node type
256
257
258 ##############################################################
259 ###  Sound modules  ##########################################
260 ##############################################################
261
262 sound_load="NO"                 # Digital sound subsystem
263 snd_ad1816_load="NO"            # ad1816
264 snd_als4000_load="NO"           # als4000
265 snd_atiixp_load="NO"            # atiixp
266 snd_cmi_load="NO"               # cmi
267 snd_csa_load="NO"               # csa
268 snd_cs4281_load="NO"            # cs4281
269 snd_ds1_load="NO"               # ds1
270 snd_emu10k1_load="NO"           # Creative Sound Blaster Live
271 snd_ess_load="NO"               # ess
272 snd_es137x_load="NO"            # es137x
273 snd_fm801_load="NO"             # fm801
274 snd_hda_load="NO"               # hda
275 snd_ich_load="NO"               # Intel ICH
276 snd_maestro_load="NO"           # Maestro
277 snd_maestro3_load="NO"          # Maestro3
278 snd_mss_load="NO"               # Mss
279 snd_neomagic_load="NO"          # Neomagic
280 snd_sbc_load="NO"               # Sbc
281 snd_sb8_load="NO"               # Sound Blaster Pro
282 snd_sb16_load="NO"              # Sound Blaster 16
283 snd_solo_load="NO"              # Solo
284 snd_t4dwave_load="NO"           # t4dwave
285 snd_via8233_load="NO"           # via8233
286 snd_via82c686_load="NO"         # via82c686
287 snd_driver_load="NO"            # All sound drivers
288
289
290 ##############################################################
291 ###  USB modules  ############################################
292 ##############################################################
293
294 usb_load="NO"                   # USB subsystem
295 ugen_load="NO"                  # USB generic device, if all else fails ...
296 ufm_load="NO"                   # Fm Radio
297 uhid_load="NO"                  # Human Interface Devices
298 ukbd_load="NO"                  # Keyboard
299 ulpt_load="NO"                  # Printer
300 ums_load="NO"                   # Mouse
301 umass_load="NO"                 # Mass Storage Devices
302 umodem_load="NO"                # Modems
303 uscanner_load="NO"              # Scanners
304 if_aue_load="NO"                # ADMtek USB ethernet
305 if_axe_load="NO"                # ASIX Electronics AX88172 USB ethernet
306 if_cue_load="NO"                # CATC USB ethernet
307 if_kue_load="NO"                # Kawasaki LSI USB ethernet
308 if_rue_load="NO"                # RealTek RTL8150 USB fast ethernet
309 if_rum_load="NO"                # Ralink RT2501USB/RT2601USB 802.11 wireless NICs
310 if_ural_load="NO"               # Ralink RT2500USB 802.11 wireless NICs
311 snd_uaudio_load="NO"            # USB audio
312
313
314 ##############################################################
315 ###  Other modules  ##########################################
316 ##############################################################
317
318 bktr_load="NO"                  # Brooktree Bt848/Bt878 TV/Video Capture Card
319 ispfw_load="NO"                 # Qlogic ISP Firmware
320 agp_load="NO"                   # agp module
321 accf_data_load="NO"             # Wait for data accept filter
322 accf_http_load="NO"             # Wait for full HTTP request accept filter
323 random_load="NO"                # Random device
324 atspeaker_load="NO"             # AT speaker module
325
326
327 ##############################################################
328 ###  ACPI settings  ##########################################
329 ##############################################################
330
331 acpi_dsdt_load="NO"             # DSDT Overriding
332 acpi_dsdt_type="acpi_dsdt"      # Don't change this
333 acpi_dsdt_name="/boot/acpi_dsdt.aml"
334                                 # Override DSDT in BIOS by this file
335
336
337 ##############################################################
338 ###  Module loading syntax example  ##########################
339 ##############################################################
340
341 #module_load="YES"              # loads module "module"
342 #module_name="realname"         # uses "realname" instead of "module"
343 #module_type="type"             # passes "-t type" to load
344 #module_flags="flags"           # passes "flags" to the module
345 #module_before="cmd"            # executes "cmd" before loading the module
346 #module_after="cmd"             # executes "cmd" after loading the module
347 #module_error="cmd"             # executes "cmd" if load fails