summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man8/liloconfig.8
blob: e080bccdf17d1b629b005a93152f1a730e9cab97 (plain)
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
.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
.    if \nF \{
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "LILOCONFIG 8"
.TH LILOCONFIG 8 "2015-11-22" "24.2" "liloconfig documentation"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
liloconfig \- create new lilo.conf file (with diskid and uuid)
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
\&\fBliloconfig\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-f\fR] [\fB\-u\fR] [\fBlilo.conf\fR]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
liloconfig is an simple program for creating a new lilo.conf file.
After creating the new configuration file you must execute '/sbin/lilo'.
.PP
liloconfig use the lilo.example.conf file as template. In the final
lilo.conf file you find many useful comments for custom changes.
.PP
Please pay attention about error messages if liloconfig cannot find
any images (/boot/vmlinuz*) oder image symlinks (/vmlinuz, /vmlinu.old).
Then you need to search for images by ourself and make some changes
in the '/etc/lilo.conf' file. Otherwise no bootloader can be installed
with '/sbin/lilo'.
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-h\fR" 4
.IX Item "-h"
Print a brief help.
.IP "\fB\-v\fR" 4
.IX Item "-v"
Print verbose messages.
.IP "\fB\-f\fR" 4
.IX Item "-f"
Force overriding existing lilo.conf.
.IP "\fB\-u\fR" 4
.IX Item "-u"
Force overriding/update of boot line in lilo.conf.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
Lines in the configuration file /etc/lilo.conf:
.PP
.Vb 1
\&  ### LILO global section ###
\&
\&  #large\-memory
\&  lba32
\&  #boot = /dev/sda
\&  boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
\&  #root = /dev/sda1
\&  root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
\&  map = /boot/map
\&  install = menu
\&  menu\-scheme = Wb:Yr:Wb:Wb
\&  prompt
\&  timeout = 100
\&  vga = normal
\&  #password = 
\&  #default = Linux
\&
\&  ### LILO per\-image section ###
\&
\&  image = /boot/vmlinuz\-3.17\-trunk\-686
\&      label = "Linux"
\&      #root = /dev/sda1
\&      #root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
\&      read\-only
\&  #   restricted
\&  #   alias = 1
\&  #   optional
\&      initrd = /boot/initrd.img\-3.17\-trunk\-686
\&
\&  image = /boot/vmlinuz\-3.14\-trunk\-686
\&      label = "Linux Old"
\&      #root = /dev/sda1
\&      #root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
\&      read\-only
\&  #   restricted
\&  #   alias = 2
\&  #   optional
\&      initrd = /boot/initrd.img\-3.14\-trunk\-686
.Ve
.SH "COPYRIGHT and LICENSE"
.IX Header "COPYRIGHT and LICENSE"
Copyright (C) 2011\-2015 Joachim Wiedorn
.PP
This script is free software; you can redistribute it and/or modify
it under the terms of the \s-1GNU\s0 General Public License as published by 
the Free Software Foundation; either version 2 of the License, or 
(at your option) any later version.
.SH "AUTHOR"
.IX Header "AUTHOR"
\&\fBliloconfig\fR was written by Joachim Wiedorn.
.PP
This manual page was written by Joachim Wiedorn <joodevel at joonet.de>.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fBlilo\fR(8), \fBupdate-lilo\fR(8), \fBlilo-uuid-diskid\fR(8)