Imported Upstream version 24.2
[rrq/maintain_lilo.git] / sample / lilo.example.conf
1 # /etc/lilo.conf  -   systemwide LILO configuration (LILO 24)
2 # details see in manpages: lilo(8) and lilo.conf(5)
3
4 # +-------------------------------------------------------------+
5 # |                        !! Reminder !!                       |
6 # |                                                             |
7 # | Don't forget to run 'lilo' after you make changes to this   |
8 # | conffile or you have installed a new kernel.                |
9 # +-------------------------------------------------------------+
10
11
12 # #################### LILO global section ######################
13
14 # With all newer systems (until year 2004) you can use the RAM
15 # above 15 MB. This option allows the use of this range of RAM.
16 #large-memory
17
18 # With all newer systems you can boot from any partition on disks 
19 # with more than 1024 cylinders. This option allows the use of 
20 # partitions above 1024 cylinders.
21 lba32
22
23 # Defines the boot device.  This is where Lilo installs its boot
24 # block.  It can be either a partition, or the raw device, in which
25 # case it installs in the MBR, and will overwrite the current MBR.
26 # With newer kernel you should use the ID of the boot device, which
27 # can be found here: /dev/disks/by-id/ata*.
28 boot = /dev/sda
29
30 # Defines the partition which is the root partition. This partition
31 # will be mounted at first from the kernel. With newer kernel you
32 # should use the UUID (UUID="...") of the root device, which can be
33 # found here: /dev/disks/by-uuid/*.
34 root = /dev/sda1
35
36 # This option may be needed for some software RAID installs.
37 #raid-extra-boot = mbr-only
38
39 # Enable map compaction.  This tries to merge read requests for 
40 # adjacent sectors into a single read request. This drastically 
41 # reduces load time and keeps the map smaller.  Using 'compact' 
42 # is especially recommended when booting from a floppy disk.  
43 # It is disabled here by default because it doesn't always work.
44 #compact
45
46 # Set the verbose level for bootloader installation. Value range:
47 # 0 to 5. Default value is 0.
48 #verbose = 1
49
50 # Specifies the location of the map file. Lilo creates the (sector) 
51 # map file of direct sector addresses which are independent of any
52 # filesystem.
53 map = /boot/map
54
55 # ---------------------------------------------------------------
56
57 # Specifies the menu interface. You have the choice between:
58 #   text: simple text menu with black background and white text
59 #   menu: configurable text menu with background and text colors.
60 #   bmp:  graphical menu with 640x480 bitmap background.
61 install = menu
62
63 # A) Customized boot message for choice 'text'.
64 # For the simple text menu you can set an extra message in the 
65 # created file. Its text will be displayed before boot prompt.
66 #message = /boot/message.txt
67
68 # B) Configuration of the scheme for choice 'menu'.
69 # Use following coding: <text>:<highlight>:<border>:<title>
70 # The first character of each part sets the text frontcolor, 
71 # the second character of earch part sets the text backcolor,
72 # an upper-case character sets bold face text (frontcolor).
73 #
74 # E.g. 'menu-scheme=wm:rw:wm:Wm'. Possible colors: 
75 # k=black, b=blue, g=green, c=cyan, r=red, m=magenta, y=yellow, w=white.
76 menu-scheme = Wb:Yr:Wb:Wb
77 #menu-title = " DESDEMONA Boot-Manager "
78
79 # C) Configuration of the image for choice 'bmp'.
80 # For the graphical menu you need a bitmap file, which needs a special
81 # menu configuration in the file header (see: lilo -E). Ideally you 
82 # use one of the delivered images of the lilo package.
83 #   with 16 colors:    onlyblue, tuxlogo, inside
84 #   with 256 colors:   coffee
85 #   for Debian:        debianlilo, debian, debian-de
86 #bitmap = /boot/tuxlogo.bmp
87
88 # ---------------------------------------------------------------
89
90 # Specifies the number of deciseconds (0.1 seconds) how long LILO 
91 # should wait before booting the first image.  LILO doesn't wait if
92 # 'delay' is omitted or set to zero. You do not see the defined menu.
93 #delay = 20
94
95 # Prompt to start one certain kernel from the displayed menu.
96 # It is very recommeded to also set 'timeout'. Without timeout boot 
97 # will not take place unless you hit return. Timeout is the number
98 # of deciseconds (0.1 seconds) after there the default image will 
99 # be started. With 'single-key' alias numbers for each menu line can
100 # be used.
101 prompt
102 timeout = 100
103 #single-key
104
105 # ---------------------------------------------------------------
106
107 # Specifying the VGA text mode that should be selected when booting.
108 # The following values are recognized (case is ignored):
109 #   vga=normal    80x25 text mode (default)
110 #   vga=extended  80x50 text mode (abbreviated to 'ext')
111 #   vga=ask       stop and ask for user input: choice of text mode
112 #   vga=<mode>    use the corresponding text mode number. A list of  
113 #                   available modes can be obtained by booting with  
114 #                   'vga=ask' and then pressing [Enter].
115 #
116 # Another way is the use of frame buffer mode. Then the kernel 
117 # will switch from the normal vga text mode (80x25) to the frame
118 # buffer <mode> (if frame buffer support is in the kernel):
119 #                   16bit:    32bit:
120 #     640x480 :     0x311     0x312
121 #     800x600 :     0x314     0x315
122 #    1024x768 :     0x317     0x318
123 #    1280x960 :     0x365     0x366
124 #    1280x1024:     0x31A     0x31B
125 #    1400x1050:     0x345     0x346
126 #    1600x1200:     0x333     0x334
127 #    1680x1050:     0x3D2     0x3D4
128 #    1920x1440:     0x337     0x338
129 #vga = ask
130 vga = normal
131 #vga = 0x317
132
133 # ---------------------------------------------------------------
134
135 # Set a password here and uncomment the 'restricted' lines in
136 # the image definitions below. Then a password must be typed
137 # to boot anything but a default configuration. If a command
138 # line is given, other than one specified by an 'append'
139 # statement in this lilo.conf, the password is required, but
140 # a standard default boot will not require one.
141 #
142 # If anyone have access to the console, with this password and
143 # the 'restricted' option you prevent booting with something
144 # like 'Linux init=/bin/sh' and thus becoming `root' without
145 # proper authorization.
146 #password = count4this
147
148 # Kernel command line options that apply to all installed images go
149 # here.  See 'kernel-parameters.txt' in the Linux kernel 'Documentation'
150 # directory. I.g. for start into 'init 5' write:  append="5"
151 #append = ""
152  
153 # If you used a serial console to install Debian, this option should be
154 # enabled by default.
155 #serial = 0,9600
156
157 # Set the image which should be started after delay or timeout.
158 # If not set, the first defined image will be started.
159 #default = Linux
160
161
162 # ################### LILO per-image section ####################
163
164 # Each image is configured with the linux kernel (=image) and
165 # usually with the initrd file. Configure all GNU/Linux systems
166 # on other partitions, too.
167
168 # Warning: labels must be less than 16 characters long.
169
170 # first example (default)
171 image = /boot/vmlinuz-3.12-1-generic
172         label = "Linux"
173 #       root = /dev/sda2
174         read-only
175 #       restricted
176 #       alias = 1
177 #       optional
178         initrd = /boot/initrd.img-3.12-1-generic
179
180 # second example
181 image = /boot/vmlinuz-2.6.32-1-generic
182         label = "Linux OLD"
183 #       root = /dev/sdb1
184         read-only
185 #       restricted
186 #       alias = 2
187         optional
188         initrd = /boot/initrd.img-2.6.32-1-generic
189
190 # third example
191 image = /mnt/testsystem/boot/vmlinuz-2.6.26-1-custom
192         label = "Testsystem"
193 #       root = /dev/sda3
194         read-only
195 #       restricted
196 #       alias = 3
197         optional
198         initrd = /mnt/testsystem/boot/initrd.img-2.6.26-1-custom
199
200 # other examples
201 # Booting other OS on this machine must set with 'other'. Changing 
202 # the device name on the `other' line to the partition of your other 
203 # system.
204
205 other = /dev/sda1
206         label = "MS-Windows"
207 #       restricted
208 #       alias = 4
209
210 other = /dev/sdb2
211         label = "GNU/Hurd"
212 #       restricted
213 #       alias = 5
214
215 other = /dev/sdb3
216         label = "FreeBSD"
217 #       restricted
218 #       alias = 6
219         boot-as = 0x80