xref: /illumos-gate/usr/src/boot/forth/loader.conf (revision ae676b12)
1199767f8SToomas Soome# This is loader.conf - a file full of useful variables that you can
2199767f8SToomas Soome# set to change the default load behavior of your system. You should
3199767f8SToomas Soome# not edit this file!  Put any overrides into one of the
4199767f8SToomas Soome# loader_conf_files instead and you will be able to update these
5199767f8SToomas Soome# defaults later without spamming your local configuration information.
6199767f8SToomas Soome#
7199767f8SToomas Soome# All arguments must be in double quotes.
8199767f8SToomas Soome#
9199767f8SToomas Soome
10199767f8SToomas Soome##############################################################
11199767f8SToomas Soome###  Basic configuration options  ############################
12199767f8SToomas Soome##############################################################
13199767f8SToomas Soome
14199767f8SToomas Soomeexec=".( Loading /boot/defaults/loader.conf ) cr"
15199767f8SToomas Soome
16199767f8SToomas Soomekernel="i86pc/kernel/${ISADIR}"	# /platform sub-directory containing kernel
17199767f8SToomas Soomebootfile="unix"		# Kernel name (possibly absolute path)
18199767f8SToomas Soome# boot-args=""		# Flags to be passed to the kernel
19199767f8SToomas Soome
20199767f8SToomas Soome# default list of explicit config files.
21199767f8SToomas Soome# the load order for config files is:
22199767f8SToomas Soome# /boot/defaults/loader.conf, files listed in loader_conf_files,
23199767f8SToomas Soome# config snippets in /boot/conf.d in lexicographical order
24199767f8SToomas Soome# last is /boot/transient.conf
25199767f8SToomas Soome# note the transient.conf is for automatic temporary options
26199767f8SToomas Soome# managed by bootadm
27199767f8SToomas Soome# /boot/conf.d is managed by bootadm and preferred directory for
28199767f8SToomas Soome# custom options.
29199767f8SToomas Soomeloader_conf_files="/boot/loader.conf /boot/loader.conf.local"
30199767f8SToomas Soome
31199767f8SToomas Soomeverbose_loading="NO"		# Set to YES for verbose loader output
32199767f8SToomas Soome
33199767f8SToomas Soome
34199767f8SToomas Soome##############################################################
35199767f8SToomas Soome###  Splash screen configuration  ############################
36199767f8SToomas Soome##############################################################
37199767f8SToomas Soome
38199767f8SToomas Soome# splash_bmp_load="NO"		# Set this to YES for bmp splash screen!
39199767f8SToomas Soome# splash_pcx_load="NO"		# Set this to YES for pcx splash screen!
40199767f8SToomas Soome# splash_txt_load="NO"		# Set this to YES for TheDraw splash screen!
41199767f8SToomas Soome# vesa_load="NO"		# Set this to YES to load the vesa module
42199767f8SToomas Soome# bitmap_load="NO"		# Set this to YES if you want splash screen!
43199767f8SToomas Soome# bitmap_name="splash.bmp"	# Set this to the name of the file
44199767f8SToomas Soome# bitmap_type="splash_image_data" # and place it on the module_path
45199767f8SToomas Soome
46199767f8SToomas Soome
47199767f8SToomas Soome##############################################################
48199767f8SToomas Soome###  Loader settings  ########################################
49199767f8SToomas Soome##############################################################
50199767f8SToomas Soome
51199767f8SToomas Soome#loader_delay="3"		# Delay in seconds before loading anything.
52199767f8SToomas Soome				# Default is unset and disabled (no delay).
53199767f8SToomas Soomeautoboot_delay="10"		# Delay in seconds before autobooting,
54199767f8SToomas Soome				# set to -1 if you don't want user to be
55199767f8SToomas Soome				# allowed to interrupt autoboot process and
56199767f8SToomas Soome				# escape to the loader prompt, set to
57199767f8SToomas Soome				# "NO" to disable autobooting
58199767f8SToomas Soomebeastie_disable="NO"		# Turn the beastie boot menu on and off
59199767f8SToomas Soomeloader_logo="illumos"		# Desired logo: orbbw, orb, fbsdbw, beastiebw, beastie, none
60199767f8SToomas Soome#loader_brand="illumos"		# brand name
619554f7e1SJohn Levonconsole="text,ttya,ttyb,ttyc,ttyd"	# A comma separated list of console(s)
62199767f8SToomas Soome#currdev="disk1s1a"		# Set the current device
63199767f8SToomas Soomemodule_path="/platform/i86pc/${ISADIR}/"	# Set the module search path
64199767f8SToomas Soome#prompt="\\${interpret}"	# Set the command prompt
65199767f8SToomas Soome#root_disk_unit="0"		# Force the root disk unit number
66199767f8SToomas Soome#rootdev="disk1s1a"		# Set the root filesystem
67199767f8SToomas Soome#tftp.blksize="1428"		# Set the RFC 2348 TFTP block size.
68199767f8SToomas Soome				# If the TFTP server does not support RFC 2348,
69199767f8SToomas Soome				# the block size is set to 512.  If the value
70199767f8SToomas Soome				# is out of range ( < 8 || > 9008 ) an error is
71199767f8SToomas Soome				# returned.
72*ae676b12SColin Percival#twiddle_divisor="16"		# >16 slows down the progress indicator;
73*ae676b12SColin Percival				# <16 speeds up the progress indicator.
74199767f8SToomas Soome
75199767f8SToomas Soome##############################################################
76199767f8SToomas Soome###  boot archive  ###########################################
77199767f8SToomas Soome##############################################################
78199767f8SToomas Soomeboot_archive_load="YES"		# illumos will not boot without rootfs
79199767f8SToomas Soomeboot_archive_type="rootfs"
80199767f8SToomas Soomeboot_archive_name="/platform/i86pc/${ISADIR}/boot_archive"
81199767f8SToomas Soome
82199767f8SToomas Soomeboot_archive.hash_load="YES"	# use hash file as it will use ISADIR
83199767f8SToomas Soomeboot_archive.hash_type="hash"
84199767f8SToomas Soomeboot_archive.hash_name="/platform/i86pc/${ISADIR}/boot_archive.hash"
85199767f8SToomas Soome
86199767f8SToomas Soome##############################################################
87199767f8SToomas Soome###  Module loading syntax example  ##########################
88199767f8SToomas Soome##############################################################
89199767f8SToomas Soome
90199767f8SToomas Soome#module_load="YES"		# loads module "module"
91199767f8SToomas Soome#module_name="realname"		# uses "realname" instead of "module"
92199767f8SToomas Soome#module_type="type"		# passes "-t type" to load
93199767f8SToomas Soome#module_flags="flags"		# passes "flags" to the module
94199767f8SToomas Soome#module_before="cmd"		# executes "cmd" before loading the module
95199767f8SToomas Soome#module_after="cmd"		# executes "cmd" after loading the module
96199767f8SToomas Soome#module_error="cmd"		# executes "cmd" if load fails
97