/usr/share/doc/lilo-doc/examples/lilo.old-raid.conf is in lilo-doc 1:24.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | #
# lilo.raid.conf
#
#
# A RAID installation is called for. With (version 22) of LILO
# the boot record will be installed on the RAID partition. The
# Master Boot Record will find the record on (hda2), which is marked
# as an active partition. (sdb1) is also marked active. If (hda) fails,
# it will be possible to boot by disabling the IDE controller in BIOS,
# which will cause (sdb) to become device 0x80, and boot appropriately.
boot = /dev/md1
#
# Auxiliary boot records will be installed automatically. Since
# this is a PARALLEL raid device, there will be no boot records
# other that the one written to the RAID set (sdb1, hda2).
raid-extra-boot = auto
#
# The SCSI controller BIOS assigns device codes backwards
# from what one might expect, so we make the BIOS device
# code assignment by the BIOS explict:
disk=/dev/hda
bios=0x80
disk=/dev/sda
bios=0x82
disk=/dev/sdb
bios=0x81
#
# Always prompt for a boot selection, timing out after
# 30.0 seconds
prompt
timeout=300
#
# Use the MENU interface, specifying the title and color scheme
#
#install = /boot/boot-menu.b # versions before 22.3
install = menu # syntax since 22.3 ("text", "menu", "bmp")
menu-title = " RAID boot on CARMEN "
menu-scheme = "wk:Wg:wk:Gk"
#
# Specify the kernel to boot if the use makes no selection
# withing the 'timeout=' period.
default=linux
#
# Both kernels below use the same root directory, which
# is mounted initially "read-only"
root=/dev/md1
read-only
#########################################
# end sample-raid.conf Global section #
#########################################
#
# This is the kernel we usually boot
image=/boot/vmlinuz-2.4.2-2
label=linux
append="reboot=warm"
initrd=/boot/initrd-2.4.2-2.img
#
# This is an alternate kernel
image=/boot/vmlinuz-2.2.14-5.0
label=linux.bak
append="reboot=warm"
initrd=/boot/initrd-2.2.14-5.0.img
#
# This system also will run DOS, but we have
# to fake DOS into thinking it is booting from
# drive C:
other=/dev/sdb2
label=dosB2
map-drive = 0x80 to = 0x81
map-drive = 0x81 to = 0x82
map-drive = 0x82 to = 0x80
#########################################
# end sample-raid.conf #
#########################################
|