Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Debian installation program has created lilo.conf:

boot=/dev/md1
root=/dev/md1
raid-extra-boot=mbr-only

But when i configure lilo i usually put these lines

disk=/dev/md1
sectors=63
heads=255
cylinders=60801
boot=/dev/sda
root=/dev/md1
map=/boot/map

Where /dev/sda is first item of RAID1 (And also i change sda to sdb and run lilo again, to be able to boot from second item if first item will die)

QUESTION: Which way is better? Does debian installation program write boot-loading data to both of disks?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

The debian way is better, because lilo will automatically write the boot record for all disks in the raid set, excluding the raid device itself (because of the mbr-only option).

I'd even venture a guess lilo will tell you which devices it writes the boot record onto when you run it (possibly using -v). Can't check that myself, as I'm using grub on all my machines for a few years now...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.