File: vmelilo.conf.5.in

package info (click to toggle)
vmelilo 1.5.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 432 kB
  • ctags: 919
  • sloc: ansic: 8,210; makefile: 157; asm: 122; perl: 18
file content (359 lines) | stat: -rw-r--r-- 11,990 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
.\" -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH vmelilo.conf 5 "__DATE__" "Version __VERSION__"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
vmelilo.conf \- configuration file for vmelilo
.SH DESCRIPTION
.sp
.B /etc/vmelilo.conf
is an ASCII file which defines the configuration for
.I vmelilo.
The file is divided into sections, a global options section and one or more
boot record sections.
.sp
The global options section extends from the start of the
file to the first boot record. While the start of each boot record
is marked with a line containing the text
.I [boot] 
and extends to the start of the next section or the end of the file, whichever
appears first.  Versions of
.B vmelilo
prior to version 1.2.0 required that the start of the global options be marked
with a line containing the text
.I [options].
This is no longer required but is
accepted for backwards compatability.
.sp
Blank lines and lines beginning with a '#' are ignored and may be used to
improve readability and add comments. A backslash at the end of a non-comment
line indicates that the next line is a continuation of the current line. All
white space characters between the last non-white character before the
backslash and the first non-white character of the following line are replaced
with single space character. A backslash at the end of a comment line is
ignored.
.sp
Each configuration parameter is specified using the following syntax:
.sp
.RS
.nf
option = value
.fi
.RE
.sp
Where 'option' is the name of the configuration parameter and 'value' is
what it is set to. Each configuration parameter must begin on a new
line. The value of each option can be one of 4 possible types:
.sp
.TP
.B 1.
Numeric values are used to specify timeouts, delays and memory sizes. By
default they are interpreted as decimal but they can be specified in binary,
octal and hexadecimal by prefixing them with 0b, 0 and 0x respectively.
Additionally by suffixing the number with a 'K' or an 'M' they are multiplied
by 1024 or 1024*1024 respectively.
.TP
.B 2.
Boolean flag values are used to turn an option on or off and are specified as
either "Yes", "No", "True", "False" or a number that is either zero (false) or
non-zero (true). A boolean option may be given without a value in which case
it is taken to be true.
.TP
.B 3.
A pathlist to a file.
.TP
.B 4.
Strings which are arbitrary sequences of characters used to
specify labels and command line parameters.
.sp
Valid global options are:
.TP
.B boot = /dev/<device>
Block special device to install the boot block on. Currently ramdisk, loopback and
non-partition SCSI disk devices can have the boot block installed on them.
.TP
.B default = label
Label or alias name of default boot record.
If `default' is omitted,
the boot section appearing first in the configuration file is used.
.TP
.B message = message-file
Specifies a file containing a message that is displayed before
the boot prompt.
.B Vmelilo
must be rerun if the message file is changed or moved.
.TP
.B debug [= flag]
Enable loader debug mode. Flag should be either
.I true
or
.I false,
if not specified 'flag' is taken to be true.
.TP
.B prompt [= flag]
Forces entering the boot prompt without expecting any prior 
key-presses. Unattended reboots are impossible if `prompt' is set
and `timeout' isn't. Flag should be either
.I true
or
.I false,
if not specified 'flag' is taken to be true.
.TP
.B delay = secs
Specifies the number of seconds the boot loader should 
wait before booting the default image.
The boot loader doesn't wait if `delay' is omitted or is set to zero.
.TP
.B timeout = secs
Sets a timeout in seconds for keyboard 
input. If no key is pressed for the specified time, the default image is 
automatically booted. Similarly, password input is aborted if the user 
is idle for too long. The default timeout is zero (infinite).
.TP
.B cmdline = args
Specifies the default kernel command line to use.
The special token
.B {}
may be embedded in the command line and will be replaced by the string
configured in the boot ROMs (see NOTES).
This option may be overridden on a per image basis.
.TP
.B append = args
Specifies the default string that should always be appended to the kernel
command line. 
The special token
.B {}
may be embedded in the command line and will be replaced by the string
configured in the boot ROMs (see NOTES).
This option may be overridden on a per image basis.
.TP
.B root = root-device
Specifies the device that should be mounted as root.
May be overridden on a per image basis.
.TP
.B read-only [= flag]
If true specifies that the root device should be mounted read only.
May be overridden on a per image basis.
.TP
.B read-write [= flag]
If true specifies that the root device should be mounted read write.
May be overridden on a per image basis.
.TP
.B console = console-device[,optione]
Specifies the device the kernel sends the console output to.
May be overridden on a per image basis.
.TP
.B password = password
Specifies a password that is required to boot all images.
May be overridden on a per image basis.
.TP
.B restricted [= flag]
Specifies that the password is only required to enter kernel command
line parameters at boot time. May be overridden on a per image basis. If a
particular boot configuration is restricted but has no password defined
.B vmelilo
will reject any kernel command line parameters entered at boot time.
Flag should be either
.I true
or
.I false,
if not specified 'flag' is taken to be true.
.TP
.B image = kernel-image
.TP
.B kernel = kernel-image
Specifies a default kernel image file to be used if none is specified in the
boot section. The image should be in ELF format and may be compressed
with
.I gzip
if required.
.TP
.B master-password = password
Specifies a password that is required to enter master mode at the boot prompt.
If this option is not specified no password is required. While in master mode
additional commands may be entered at the LILO Boot: prompt. Enter
.I su
at the boot prompt to switch to master mode. Then enter
.I exit
to leave. 
.PP
The
.B boot records
define the kernel images and configurations you can select at boot time.
Any number of boot sections can be specified. A
boot section looks like:
.sp
.RS
.nf
[boot]
option = value
    .
    .
    .
.fi
.RE
.sp
Valid boot section options are:
.TP
.B label = name
Specifies the name by which the boot loader identifies the boot
configuration. A label option must be specified for each boot section.
.TP
.B alias = name
An alternative name by which the boot loader can identify the boot section.
.TP
.B optional [= flag]
If true specifies that the configuration defined in this section can be ignored
if any of the required files are missing (i.e. kernel, ramdisk or symbols).
.TP
.B password = password
Specifies a password that is required to boot this configuration.
This password overrides the default password specified in the global options
section.
An empty password can be specified to remove the effect of a default password.
.TP
.B restricted [= flag]
Specifies that the password is only required to enter kernel command line
parameters at boot time. Overrides the restricted option specified in
the global options section.
Flag should be either
.I true
or
.I false,
if not specified 'flag' is taken to be true.
.TP
.B cmdline = args
Specifies the kernel command line.
The special token
.B {}
may be embedded in the command line and will be replaced by the string
configured in the boot ROMs (see NOTES).
Overrides the default kernel command line
specified in the global options section. If command line parameters are entered at boot
time they are appended after the parameters specified here.
.TP
.B append = args
Specifies extra kernel command line parameters that should always be appended to the
kernels command line.
The special token
.B {}
may be embedded in the command line and will be replaced by the string
configured in the boot ROMs (see NOTES).
Overrides the default value specified in the global options section.
.TP
.B root = root-device
Specifies the device that should be mounted as root. The root-device name can
be prefixed with /dev/ to indicate a device name or can be specified as a hexadecimal
number indicating the devices major/minor numbers.
Overrides the default value specified in the global options section.
.TP
.B read-only [= flag]
If true specifies that the root device should be mounted read only.
Overrides the default value specified in the global options section.
.TP
.B read-write [= flag]
If true specifies that the root device should be mounted read write.
Overrides the default value specified in the global options section.
.TP
.B console = console-device[,optione]
Specifies the device the kernel sends the console output to. Normally this would
be, ttyS0, the first serial port. If booting a 2.0.xx kernel this option is ignored
as the kernel is hard coded to use ttyS0 regardless.
Overrides the default value specified in the global options section.
.TP
.B memsize = size
Specifies the amount of system RAM in bytes that the kernel can use. If not specified
the boot loader will scan for and detect the amount of available memory.
.TP
.B ramdisk = ramdisk-file
Specifies the name of a file containing an initrd ramdisk image that is to
be loaded at boot time.
.TP
.B symbols = symbol-file
Specifies the name of a file containing symbol information to be loaded
into the BVMBug symbol table. The format of the symbol file is that
of the System.map file created when a kernel is compiled. Note: an unedited
System.map file will probably contain too many symbols to be loaded into the symbol
table at once.
.TP
.B image = kernel-image
.TP
.B kernel = kernel-image
Specifies the kernel image file to be used. If not specified the default
image specified in the global options section is used. The image should be
in ELF format and may be compressed with
.I gzip
if required.
.TP
.B callmonitor [= flag]
.TP
.B calldbg [= flag]
Causes the boot loader to call the resident ROM debug
monitor immediately prior to executing the loaded kernel.
Flag should be either
.I true
or
.I false,
if not specified 'flag' is taken to be true.
.sp
WARNING: Do
.B NOT
use this option if your boot ROMs are configured to use the
bottom 64K of memory for local storage. The Linux kernel is loaded over this
memory region and will probably cause the ROM code to crash when it
is called.
.SH NOTES
The
.B {}
token that can be placed in the
.I cmdline
and
.I append
configuration parameters is substituted with a string that can be set using
one of the boot ROM configuration commands.
.P
In the case of the BVME6000 this is the
.B rc
command and is set under the heading 'Boot arguments'. This option
is only available on revision F or later BVME6000s with revision G or later
boot ROMs. On earlier revision hardware the
.B {}
token will be replaced with an empty string.
.P
On Motorola hardware the argument string configuration depends on the firmware
revision you have. It may be configured using the
.B ENV
command under the heading 'Auto Boot Default String' alternatively it may be
an option of the
.B AB
command. Additionally, when booting manually using the
.B BO
command the
.B {}
substitution string can be passed as the last parameter after the controller
and device LUNs.
.SH FILES
.TP
.B /etc/vmelilo.conf
.SH SEE ALSO
.br
vmelilo(8)
.br
gzip(1)
.br
/usr/share/doc/vmelilo/examples/vmelilo.conf
.SH BUGS
The option to load symbols is ignored by the MVME boot loader.