At 16:17 29.01.99 +0100, you wrote:
>
>assume I set up LILO to load the kernel off the first disk (where the
>/boot dir resides too)
>
>when the first disk crashes , the system won't boot anymore.
>Solution:

have a /boot1 ... /bootn on each of your disks; make each disk bootable.

You'll need one lilo config file for each bootable disk, and you'll have to
call lilo once for each disk but you can have lilo on all disks and a lilo
setup that allows you to pick a kernel image from any of the disks.

I'm using this with a root-raid1 system. The tricky part is configuring
lilo for the 2nd disk-  you've got to tell it that while the disk is, say,
hdb now it'll be the first disk when booting.

Here's the relevant part of my /etc/lilo.conf.sdb:

# Start LILO global section
boot     = /dev/sdb
disk     = /dev/sdb bios=0x80
map      = /boot1/map
install  = /boot1/boot.b
backup   = /boot1/boot.0800
message  = /boot1/boot_message.txt

after compiling a new kernel it must be copied to all the /bootn
directories and lilo hast to be rerun for all the disks:

#!/bin/bash
# start lilo for both disks
echo "Running lilo for disk 0"
/sbin/lilo -C /etc/lilo.conf.sda
echo ""
echo "Running lilo for disk 1"
/sbin/lilo -C /etc/lilo.conf.sdb


Bye, Martin
--------------------------------------------------
 Martin Bene               vox: +43-664-3251047
 simon media               fax: +43-316-813824-6
 Andreas-Hofer-Platz 9     e-mail: [EMAIL PROTECTED]
 8010 Graz, Austria        
--------------------------------------------------
finger [EMAIL PROTECTED] for PGP public key

Reply via email to