File: lilo.8

package info (click to toggle)
lilo 21-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 812 kB
  • ctags: 895
  • sloc: ansic: 3,420; asm: 2,546; sh: 767; perl: 607; makefile: 193; cpp: 3
file content (179 lines) | stat: -rw-r--r-- 5,056 bytes parent folder | download
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
'\" t
.\" @(#)lilo.8 1.0 950728 aeb
.\" This page is based on the lilo docs, which carry the following
.\" COPYING condition:
.\"
.\" LILO program code, documentation and auxiliary programs are
.\" Copyright 1992-1994 Werner Almesberger.
.\" All rights reserved.
.\" 
.\" Redistribution and use in source and binary forms of parts of or the
.\" whole original or derived work are permitted provided that the
.\" original work is properly attributed to the author. The name of the
.\" author may not be used to endorse or promote products derived from
.\" this software without specific prior written permission. This work
.\" is provided "as is" and without any express or implied warranties.
.\"
.\" Original version, Andries Brouwer (aeb@cwi.nl), 950728
.\" Added t directive, as Daniel Quinlan asked, 950824
.\"
.TH LILO 8 "28 July 1995"
.SH NAME
lilo \- install boot loader
.SH SYNOPSIS
Main function:
.LP
.B " /sbin/lilo"
\- install boot loader
.LP
Auxiliary uses:
.LP
.B " /sbin/lilo -q"
\- query map
.br
.B " /sbin/lilo -R"
\- set default command line for next reboot
.br
.B " /sbin/lilo -I"
.I label
\- inquire path name for given boot image
.br
.B " /sbin/lilo {-u|-U}"
\- uninstall lilo
.SH DESCRIPTION
.LP
.B lilo
installs a boot loader that will be activated next time you boot.
It has lots of options.
.LP
.TP
.B \-\^v
Increase verbosity. Giving one or more \fB-v\fP options
will make lilo more verbose.
.TP
.B \-\^q
List the currently mapped files.
.B lilo
maintains a file, by default
.IR "/boot/map" ,
containing the name and location of the kernel(s) to boot.
This option will list the names therein.
.TP
.BI "\-\^m " map-file
Use specified map file instead of the default.
.TP
.BI "\-\^C " config-file
.B lilo
reads its instructions about what files to map from its
config file, by default
.IR "/etc/lilo.conf" .
This option can be used to specify a non-default config file.
.TP
.BI "\-\^d " delay
If you have specified several kernels, and press Shift at boot-time,
the boot loader will present you with a choice of which system
to boot. After a timeout period the first kernel in the list
is booted. This option specifies the timeout delay in deciseconds.
.TP
.BI "\-\^D " label
Use the kernel with the given label, instead of the first one
in the list, as the default kernel to boot.
.TP
.BI "\-\^r " root-directory
Before doing anything else, do a \fIchroot\fP to the indicated
directory. Used for repairing a setup from a boot floppy.
.TP
.BI "\-\^t "
Test only. Do not really write a new boot sector or map file.
Use together with \fB-v\fP to find out what
.B lilo
is about to do.
.TP
.B "\-\^c"
Enable map compaction. This will merge read requests from adjacent
sectors. Speeds up the booting (especially from floppy).
.TP
.BI "\-\^f " disk-tab
Specify disk geometry parameter file. (The default is
.IR /etc/disktab .)
.TP
.BI "\-\^i " boot-sector
Specify a file to be used as the new boot sector. (The default is
.IR /boot/boot.b .)
.TP
.BI "\-\^l"
Generate linear sector addresses instead of sector/head/cylinder
addresses.
.TP
.BI "\-\^P " "{fix|ignore}"
Fix (or ignore) `corrupt' partition tables, i.e., partition tables
with linear and sector/head/cylinder addresses that do not correspond.
.TP
.BI "\-\^s " save-file
When
.B lilo
overwrites the boot sector, it preserves the old contents in
a file, by default
.I /boot/boot.NNNN
where NNNN depends on the device. This option specifies an
alternate save file for the boot sector. (Or, together with the
\fB-u\fP option, specifies from where to restore the boot sector.)
.TP
.BI "\-\^S " save-file
Normally,
.B lilo
will not overwrite an existing save file. This options says
that overwriting is allowed.
.TP
.BI "\-\^u " device-name
Uninstall
.BR lilo ,
by copying the saved boot sector back. A time-stamp is checked.
.TP
.BI "\-\^U " device-name
Idem, but do not check the time-stamp.
.TP
.BI "\-\^R " "command line"
This option sets the default command for the boot loader the next
time it executes. The boot loader will then erase this line: this
is a once-only command. It is typically used in reboot scripts,
just before calling `shutdown -r'.
.TP
.BI "\-\^I " "label"
The label of the running kernel can be found in the environment
variable BOOT_IMAGE after startup. This command will print the
corresponding path name on stdout. Note that this environment
variable is set for the init(8) scripts and is not, in general,
made available to user shells.
.TP
.B "\-\^V"
Print version number.

.LP
The above command line options correspond to the key words
in the config file indicated below.
.IP
.TS
l l.
-b bootdev	boot=bootdev
-c	compact
-d dsec	delay=dsec
-D label	default=label
-i bootsector	install=bootsector
-f file	disktab=file
-l	linear
-m mapfile	map=mapfile
-P fix	fix-table
-P ignore	ignore-table
-s file	backup=file
-S file	force-backup=file
-v	verbose=level
.TE
.SH "SEE ALSO"
lilo.conf(5).
.br
.B lilo 
comes with very extensive documentation; this can be found
in /usr/doc/lilo on Debian systems.
.SH "AUTHOR"
Werner Almesberger (almesber@bernina.ethz.ch).