3bc6724034064eeba38d2eac1026fc77e832aadc
[rrq/maintain_lilo.git] / sample / lilo.example.conf
1 # /etc/lilo.conf  -   systemwide LILO configuration (LILO 23)
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 # i.g. 'menu-scheme=wm:rw:wm:Wm'. Possible colors: 
74 # k=black, b=blue, g=green, c=cyan, r=red, m=magenta, y=yellow, w=white.
75 menu-scheme = Wb:Yr:Wb:Wb
76 #menu-title = " DESDEMONA Boot-Manager "
77
78 # C) Configuration of the image for choice 'bmp'.
79 # For the graphical menu you need a bitmap file, which needs a special
80 # menu configuration in the file header (see: lilo -E). Ideally you 
81 # use one of the delivered images of the lilo package.
82 #   with 16 colors:    onlyblue, tuxlogo, inside
83 #   with 256 colors:   coffee
84 #   for Debian:        debianlilo, debian, debian-de
85 #bitmap = /boot/tuxlogo.bmp
86
87 # ---------------------------------------------------------------
88
89 # Specifies the number of deciseconds (0.1 seconds) how long LILO 
90 # should wait before booting the first image.  LILO doesn't wait if
91 # 'delay' is omitted or set to zero. You do not see the defined menu.
92 #delay = 20
93
94 # Prompt to start one certain kernel from the displayed menu.
95 # It is very recommeded to also set 'timeout'. Without timeout boot 
96 # will not take place unless you hit return. Timeout is the number
97 # of deciseconds (0.1 seconds) after there the default image will 
98 # be started. With 'single-key' alias numbers for each menu line can
99 # be used.
100 prompt
101 timeout = 100
102 #single-key
103
104 # ---------------------------------------------------------------
105
106 # Specifying the VGA text mode that should be selected when booting.
107 # The following values are recognized (case is ignored):
108 #   vga=normal    80x25 text mode (default)
109 #   vga=extended  80x50 text mode (abbreviated to 'ext')
110 #   vga=ask       stop and ask for user input: choice of text mode
111 #   vga=<mode>    use the corresponding text mode number. A list of  
112 #                   available modes can be obtained by booting with  
113 #                   vga=ask'  and then pressing [Enter].
114 # Another way is the use of frame buffer mode. Then the kernel 
115 # will switch from the normal vga text mode (80x25) to the frame
116 # buffer mode (if frame buffer support is in the kernel):
117 #   vga=0x314      800x600 @ 16 bit
118 #   vga=0x317     1024x768 @ 16 bit
119 #   vga=0x318     1024x768 @ 24 bit
120 #vga = ask
121 vga = normal
122 #vga = 0x317
123
124 # ---------------------------------------------------------------
125
126 # Kernel command line options that apply to all installed images go
127 # here.  See 'kernel-parameters.txt' in the Linux kernel 'Documentation'
128 # directory. I.g. for start into 'init 5' write:  append="5"
129 #append = ""
130  
131 # If you used a serial console to install Debian, this option should be
132 # enabled by default.
133 #serial = 0,9600
134
135 # Set the image which should be started after delay or timeout.
136 # If not set, the first defined image will be started.
137 #default = Linux
138
139
140 # ################### LILO per-image section ####################
141
142 # Each image is configured with the linux kernel (=image) and
143 # usually with the initrd file. Configure all GNU/Linux systems
144 # on other partitions, too.
145
146 # first example (default)
147 image = /boot/vmlinuz-3.12-1-generic
148         label = "Linux"
149 #       root = /dev/sda2
150         read-only
151 #       restricted
152 #       alias = 1
153 #       optional
154         initrd = /boot/initrd.img-3.12-1-generic
155
156 # second example
157 image = /boot/vmlinuz-2.6.32-1-generic
158         label = "Linux OLD"
159 #       root = /dev/sdb1
160         read-only
161 #       restricted
162 #       alias = 2
163         optional
164         initrd = /boot/initrd.img-2.6.32-1-generic
165
166 # third example
167 image = /mnt/testsystem/boot/vmlinuz-2.6.26-1-custom
168         label = "Testsystem"
169 #       root = /dev/sda3
170         read-only
171 #       restricted
172 #       alias = 3
173         optional
174         initrd = /mnt/testsystem/boot/initrd.img-2.6.26-1-custom
175
176 # other examples
177 # Booting other OS on this machine must set with 'other'. Changing 
178 # the device name on the `other' line to the partition of your other 
179 # system.
180
181 other = /dev/sda1
182         label = "MS-Windows"
183 #       restricted
184 #       alias = 4
185
186 other = /dev/sdb2
187         label = "GNU/Hurd"
188 #       restricted
189 #       alias = 5
190
191 other = /dev/sdb3
192         label = "FreeBSD"
193 #       restricted
194 #       alias = 6
195         boot-as = 0x80