b82bcf7a10dbaecb4e37cd48244692330e1b2546
[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 # Specifies 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 # This option may be needed for some software RAID installs.
31 #raid-extra-boot = mbr-only
32
33 # Enable map compaction.  This tries to merge read requests for 
34 # adjacent sectors into a single read request. This drastically 
35 # reduces load time and keeps the map smaller.  Using 'compact' 
36 # is especially recommended when booting from a floppy disk.  
37 # It is disabled here by default because it doesn't always work.
38 #compact
39
40 # Set the verbose level for bootloader installation. Value range:
41 # 0 to 5. Default value is 0.
42 #verbose = 1
43
44 # Specifies the location of the map file. Lilo creates the (sector) 
45 # map file of direct sector addresses which are independent of any
46 # filesystem.
47 map = /boot/map
48
49 # ---------------------------------------------------------------
50
51 # Specifies the menu interface. You have the choice between:
52 #   text: simple text menu with black background and white text
53 #   menu: configurable text menu with background and text colors.
54 #   bmp:  graphical menu with 640x480 bitmap background.
55 install = menu
56
57 # A) Customized boot message for choice 'text'.
58 # For the simple text menu you can set an extra message in the 
59 # created file. Its text will be displayed before boot prompt.
60 #message = /boot/message.txt
61
62 # B) Configuration of the scheme for choice 'menu'.
63 # Use following coding: <text>:<highlight>:<border>:<title>
64 # The first character of each part sets the text frontcolor, 
65 # the second character of earch part sets the text backcolor,
66 # an upper-case character sets bold face text (frontcolor).
67 # i.g. 'menu-scheme=wm:rw:wm:Wm'. Possible colors: 
68 # k=black, b=blue, g=green, c=cyan, r=red, m=magenta, y=yellow, w=white.
69 menu-scheme = Wb:Yr:Wb:Wb
70 #menu-title = " DESDEMONA Boot-Manager "
71
72 # C) Configuration of the image for choice 'bmp'.
73 # For the graphical menu you need a bitmap file, which needs a special
74 # menu configuration in the file header (see: lilo -E). Ideally you 
75 # use one of the delivered images of the lilo package.
76 #   with 16 colors:    onlyblue, tuxlogo, inside
77 #   with 256 colors:   coffee
78 #   for Debian:        debianlilo, debian, debian-de
79 #bitmap = /boot/tuxlogo.bmp
80
81 # ---------------------------------------------------------------
82
83 # Specifies the number of deciseconds (0.1 seconds) how long LILO 
84 # should wait before booting the first image.  LILO doesn't wait if
85 # 'delay' is omitted or set to zero. You do not see the defined menu.
86 #delay = 20
87
88 # Prompt to start one certain kernel from the displayed menu.
89 # It is very recommeded to also set 'timeout'. Without timeout boot 
90 # will not take place unless you hit return. Timeout is the number
91 # of deciseconds (0.1 seconds) after there the default image will 
92 # be started. With 'single-key' alias numbers for each menu line can
93 # be used.
94 prompt
95 timeout = 100
96 #single-key
97
98 # ---------------------------------------------------------------
99
100 # Specifying the VGA text mode that should be selected when booting.
101 # The following values are recognized (case is ignored):
102 #   vga=normal    80x25 text mode (default)
103 #   vga=extended  80x50 text mode (abbreviated to 'ext')
104 #   vga=ask       stop and ask for user input: choice of text mode
105 #   vga=<mode>    use the corresponding text mode number. A list of  
106 #                   available modes can be obtained by booting with  
107 #                   vga=ask'  and then pressing [Enter].
108 # Another way is the use of frame buffer mode. Then the kernel 
109 # will switch from the normal vga text mode (80x25) to the frame
110 # buffer mode (if frame buffer support is in the kernel):
111 #   vga=0x314      800x600 @ 16 bit
112 #   vga=0x317     1024x768 @ 16 bit
113 #   vga=0x318     1024x768 @ 24 bit
114 #vga = ask
115 vga = normal
116 #vga = 0x317
117
118 # ---------------------------------------------------------------
119
120 # Kernel command line options that apply to all installed images go
121 # here.  See 'kernel-parameters.txt' in the Linux kernel 'Documentation'
122 # directory. I.g. for start into 'init 5' write:  append="5"
123 #append = ""
124  
125 # If you used a serial console to install Debian, this option should be
126 # enabled by default.
127 #serial = 0,9600
128
129 # Set the image which should be started after delay or timeout.
130 # If not set, the first defined image will be started.
131 #default = Linux
132
133
134 # ################### LILO per-image section ####################
135
136 # Each image is configured with the linux kernel (=image) and
137 # usually with the initrd file. Configure all GNU/Linux systems
138 # on other partitions, too.
139
140 # first example (default)
141 image = /boot/vmlinuz-2.6.32-2-generic
142         label = "Linux"
143         root = /dev/sda2
144         read-only
145 #       restricted
146 #       alias = 1
147 #       optional
148         initrd = /boot/initrd.img-2.6.32-2-generic
149
150 # second example
151 image = /boot/vmlinuz-2.6.32-1-generic
152         label = "LinuxOLD"
153         root = /dev/sdb1
154         read-only
155 #       restricted
156 #       alias = 2
157         optional
158         initrd = /boot/initrd.img-2.6.32-1-generic
159
160 # third example
161 image = /mnt/testsystem/boot/vmlinuz-2.6.26-1-custom
162         label = "Testsystem"
163         root = /dev/sda3
164         read-only
165 #       restricted
166 #       alias = 3
167         optional
168         initrd = /mnt/testsystem/boot/initrd.img-2.6.26-1-custom
169
170 # other examples
171 # Booting other OS on this machine must set with 'other'. Changing 
172 # the device name on the `other' line to the partition of your other 
173 # system.
174
175 other = /dev/sda1
176         label = "Windows XP"
177 #       restricted
178 #       alias = 4
179
180 other = /dev/sdb2
181         label = "GNU/Hurd"
182 #       restricted
183 #       alias = 5
184
185 other = /dev/sdb3
186         label = "Windows 2003"
187 #       restricted
188 #       alias = 6
189         boot-as = 0x80