Add externs to avoid multiple definitions, and then add missing definitions.
[rrq/maintain_lilo.git] / man / liloconfig.8
1 .\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sp \" Vertical space (when we can't use .PP)
6 .if t .sp .5v
7 .if n .sp
8 ..
9 .de Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings.  \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
21 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie n \{\
27 .    ds -- \(*W-
28 .    ds PI pi
29 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
31 .    ds L" ""
32 .    ds R" ""
33 .    ds C` ""
34 .    ds C' ""
35 'br\}
36 .el\{\
37 .    ds -- \|\(em\|
38 .    ds PI \(*p
39 .    ds L" ``
40 .    ds R" ''
41 .    ds C`
42 .    ds C'
43 'br\}
44 .\"
45 .\" Escape single quotes in literal strings from groff's Unicode transform.
46 .ie \n(.g .ds Aq \(aq
47 .el       .ds Aq '
48 .\"
49 .\" If the F register is turned on, we'll generate index entries on stderr for
50 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
51 .\" entries marked with X<> in POD.  Of course, you'll have to process the
52 .\" output yourself in some meaningful fashion.
53 .\"
54 .\" Avoid warning from groff about undefined register 'F'.
55 .de IX
56 ..
57 .nr rF 0
58 .if \n(.g .if rF .nr rF 1
59 .if (\n(rF:(\n(.g==0)) \{
60 .    if \nF \{
61 .        de IX
62 .        tm Index:\\$1\t\\n%\t"\\$2"
63 ..
64 .        if !\nF==2 \{
65 .            nr % 0
66 .            nr F 2
67 .        \}
68 .    \}
69 .\}
70 .rr rF
71 .\" ========================================================================
72 .\"
73 .IX Title "LILOCONFIG 8"
74 .TH LILOCONFIG 8 "2015-11-22" "24.2" "liloconfig documentation"
75 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
76 .\" way too many mistakes in technical documents.
77 .if n .ad l
78 .nh
79 .SH "NAME"
80 liloconfig \- create new lilo.conf file (with diskid and uuid)
81 .SH "SYNOPSIS"
82 .IX Header "SYNOPSIS"
83 \&\fBliloconfig\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-f\fR] [\fB\-u\fR] [\fBlilo.conf\fR]
84 .SH "DESCRIPTION"
85 .IX Header "DESCRIPTION"
86 liloconfig is an simple program for creating a new lilo.conf file.
87 After creating the new configuration file you must execute '/sbin/lilo'.
88 .PP
89 liloconfig use the lilo.example.conf file as template. In the final
90 lilo.conf file you find many useful comments for custom changes.
91 .PP
92 Please pay attention about error messages if liloconfig cannot find
93 any images (/boot/vmlinuz*) oder image symlinks (/vmlinuz, /vmlinu.old).
94 Then you need to search for images by ourself and make some changes
95 in the '/etc/lilo.conf' file. Otherwise no bootloader can be installed
96 with '/sbin/lilo'.
97 .SH "OPTIONS"
98 .IX Header "OPTIONS"
99 .IP "\fB\-h\fR" 4
100 .IX Item "-h"
101 Print a brief help.
102 .IP "\fB\-v\fR" 4
103 .IX Item "-v"
104 Print verbose messages.
105 .IP "\fB\-f\fR" 4
106 .IX Item "-f"
107 Force overriding existing lilo.conf.
108 .IP "\fB\-u\fR" 4
109 .IX Item "-u"
110 Force overriding/update of boot line in lilo.conf.
111 .SH "EXAMPLES"
112 .IX Header "EXAMPLES"
113 Lines in the configuration file /etc/lilo.conf:
114 .PP
115 .Vb 1
116 \&  ### LILO global section ###
117 \&
118 \&  #large\-memory
119 \&  lba32
120 \&  #boot = /dev/sda
121 \&  boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
122 \&  #root = /dev/sda1
123 \&  root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
124 \&  map = /boot/map
125 \&  install = menu
126 \&  menu\-scheme = Wb:Yr:Wb:Wb
127 \&  prompt
128 \&  timeout = 100
129 \&  vga = normal
130 \&  #password = 
131 \&  #default = Linux
132 \&
133 \&  ### LILO per\-image section ###
134 \&
135 \&  image = /boot/vmlinuz\-3.17\-trunk\-686
136 \&      label = "Linux"
137 \&      #root = /dev/sda1
138 \&      #root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
139 \&      read\-only
140 \&  #   restricted
141 \&  #   alias = 1
142 \&  #   optional
143 \&      initrd = /boot/initrd.img\-3.17\-trunk\-686
144 \&
145 \&  image = /boot/vmlinuz\-3.14\-trunk\-686
146 \&      label = "Linux Old"
147 \&      #root = /dev/sda1
148 \&      #root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
149 \&      read\-only
150 \&  #   restricted
151 \&  #   alias = 2
152 \&  #   optional
153 \&      initrd = /boot/initrd.img\-3.14\-trunk\-686
154 .Ve
155 .SH "COPYRIGHT and LICENSE"
156 .IX Header "COPYRIGHT and LICENSE"
157 Copyright (C) 2011\-2015 Joachim Wiedorn
158 .PP
159 This script is free software; you can redistribute it and/or modify
160 it under the terms of the \s-1GNU\s0 General Public License as published by 
161 the Free Software Foundation; either version 2 of the License, or 
162 (at your option) any later version.
163 .SH "AUTHOR"
164 .IX Header "AUTHOR"
165 \&\fBliloconfig\fR was written by Joachim Wiedorn.
166 .PP
167 This manual page was written by Joachim Wiedorn <joodevel at joonet.de>.
168 .SH "SEE ALSO"
169 .IX Header "SEE ALSO"
170 \&\fBlilo\fR(8), \fBupdate-lilo\fR(8), \fBlilo-uuid-diskid\fR(8)