4 # This example has been updated to version 22.5.5 and beyond
6 # The boot record is installed on the second primary partition
7 # Which will have to be marked active to get to it.
12 # The map file is placed in the default location, but
13 # we change the name to '.map', since it is a critical system file.
14 # DON'T use "System.map" -- you'll overwrite the kernel loader map.
15 # lilo CREATES the (sector) map file of direct sector addresses which
16 # are independent of any filesystem.
21 # LBA32 is needed to address all sectors of the 27Gb disks
27 # We ask for the MENU interface (works on VGA, EGA, and MDA video cards)
28 # by installing this boot loader:
30 install = menu # syntax since version 22.3 (see the man pages)
31 #install = /boot/boot-menu.b # outdated syntax, but selection is based on
32 # the substring "menu", so it still works
35 # and specify the color scheme and menu title
36 # for the computer named DESDEMONA
38 menu-scheme=wm:rw:wm:Wm
39 menu-title=" DESDEMONA (2.4.2) boot "
42 # We always want to see the prompt with a 15 second timeout
48 # If a LOCKed command line, or pre-stored command line is present
49 # delay 3 seconds to allow cancellation with the Shift key (or Alt, or Ctrl)
54 # All filesystems will initially be mounted 'read-only'
59 # Booting may be performed from the serial interface
64 # All other= sections use this chain loader (version 22)
66 #loader=/boot/chain.b # outdated; there is now only one chain
67 # loader, so this line is not really needed
69 # This system is complicated -- leave no doubt about how the
70 # BIOS has assigned the device codes:
72 disk=/dev/hda bios=0x80
73 disk=/dev/hdb bios=0x81
74 disk=/dev/hdc bios=0x82
75 disk=/dev/sda bios=0x83
76 disk=/dev/sdb inaccessible # has no device code, so mark it
78 disk=/dev/fd0 bios=0x00 # got a 2.88Mb floppy, so specify all
79 sectors=36 heads=2 cylinders=80
81 # Version 22.5.6 and later will likely get the drive assignment correct, so
82 # the above really applies to earlier LILO versions.
84 #################################################
85 # end of sample-lilo.conf Global section #
86 #################################################
89 # The first image is the default image
91 image=/dd/boot/vmlinuz-2.4.2
97 # Yes, we run Windoze, too
102 # master-boot # not really needed, since this drive is
103 # already 0x80, but "master-boot" is a good
104 # idea to put on any "other=" that must
105 # boot from the "C:" drive.
109 # This is the backup kernel from RedHat
111 image=/dd/boot/vmlinuz-2.2.14-5.0
113 initrd=/dd/boot/initrd-2.2.14-5.0.img
118 # The D: drive has a Win98 installation
119 # Fake booting from drive C: with the map-drive options
123 # map-drive=0x80 to=0x81 # obsolete, but still allowed
124 # map-drive=0x81 to=0x80 #
125 boot-as = 0x80 # 22.5.5 syntax
128 # This is an experimental, small kernel
130 image=/dd/boot/zImage-2.2.14
135 # And a route back to the Master Boot Record, if wanted
137 other=/dev/hda # route back to the master LILO boot menu
138 label=MBR # on the Master Boot Record
139 master-boot # guarantee that it boots as 0x80
142 # Allow us to boot the floppy drive from the main LILO boot menu
144 other=/dev/fd0 # no "label=", so it appears as "fd0"
145 master-boot # it boots as the master floppy (0x00)
146 unsafe # and it may not be inserted, so do not
147 # try to read the boot sector during LILO
150 #################################################
151 # end of sample-lilo.conf #
152 #################################################