f2c4aad063db584b3cba9b02d5f47434c5ea26d6
[rrq/maintain_lilo.git] / sample / lilo.old-raid.conf
1 #
2 #   lilo.raid.conf
3 #
4 #
5 # A RAID installation is called for.  With (version 22) of LILO
6 # the boot record will be installed on the RAID partition.  The
7 # Master Boot Record will find the record on (hda2), which is marked
8 # as an active partition.  (sdb1) is also marked active.  If (hda) fails,
9 # it will be possible to boot by disabling the IDE controller in BIOS,
10 # which will cause (sdb) to become device 0x80, and boot appropriately.
11
12 boot = /dev/md1
13
14 #
15 # Auxiliary boot records will be installed automatically.  Since
16 # this is a PARALLEL raid device, there will be no boot records
17 # other that the one written to the RAID set  (sdb1, hda2).
18
19 raid-extra-boot = auto
20
21 #
22 # The SCSI controller BIOS assigns device codes backwards
23 # from what one might expect, so we make the BIOS device
24 # code assignment by the BIOS explict:
25
26 disk=/dev/hda
27    bios=0x80
28 disk=/dev/sda
29    bios=0x82
30 disk=/dev/sdb
31    bios=0x81
32
33 #
34 # Always prompt for a boot selection, timing out after
35 # 30.0 seconds
36
37 prompt
38   timeout=300
39
40 #
41 # Use the MENU interface, specifying the title and color scheme
42 #
43 #install = /boot/boot-menu.b    # versions before 22.3
44
45 install = menu                  # syntax since 22.3 ("text", "menu", "bmp")
46 menu-title = " RAID boot on CARMEN "
47 menu-scheme = "wk:Wg:wk:Gk"
48
49 #
50 #  Specify the kernel to boot if the use makes no selection
51 #  withing the 'timeout=' period.
52
53 default=linux
54
55
56 #  Both kernels below use the same root directory, which
57 #  is mounted initially "read-only"
58
59 root=/dev/md1
60   read-only
61
62
63 #########################################
64 # end sample-raid.conf Global section   #
65 #########################################
66
67 #
68 #  This is the kernel we usually boot
69
70 image=/boot/vmlinuz-2.4.2-2
71         label=linux 
72         append="reboot=warm"
73         initrd=/boot/initrd-2.4.2-2.img
74
75 #
76 #  This is an alternate kernel
77
78 image=/boot/vmlinuz-2.2.14-5.0
79         label=linux.bak
80         append="reboot=warm"
81         initrd=/boot/initrd-2.2.14-5.0.img
82
83 #
84 #  This system also will run DOS, but we have
85 #  to fake DOS into thinking it is booting from
86 #  drive C:
87
88 other=/dev/sdb2
89         label=dosB2
90         map-drive = 0x80  to = 0x81
91         map-drive = 0x81  to = 0x82
92         map-drive = 0x82  to = 0x80
93
94 #
95 #  We can boot OS/2 from a secondary partition.  The 'table='
96 #  specification tells OS/2 that the secondary (boot) parition
97 #  mounts as drive E:.  Versions of LILO prior to version 22 will 
98 #  require a special boot loader, but as of version 22, all
99 #  chain loader functions have been combined into the default
100 #  chain loader, '/boot/chain.b'.
101
102 other=/dev/sda5
103 #       loader=/boot/os2_d.b
104         label=os2
105         table=E:
106         change
107           partition=/dev/hda1
108             set=DOS16_big_hidden
109           partition=/dev/hda2
110             set=NTFS_hidden
111
112 #  Partition change rules are required to force drive E: to 
113 #  be assinged properly.  MS & IBM partitions may be NORMAL
114 #  or HIDDEN.
115
116 #########################################
117 # end sample-raid.conf                  #
118 #########################################
119
120