boot=/dev/md1
root=/ dev/md1
raid-extra-boot=mbr-only
However, 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 the first item of RAID1 (and I also changed sda to sdb and ran lilo again to be able to boot from the second item, if the first Item will die)
Question:
Which way is better? Does the debian installer write bootload data to two disks?
I even risk guessing that lilo will tell you which devices it will write the boot record to when it is running (may use -v). Can’t check myself because I have used grub on all my machines for a few years now…
The Debian installer created lilo.conf:
boot=/dev/md1
root=/dev/md1
raid-extra-boot=mbr-only
However, when I configure lilo and I usually put these lines
disk=/dev/md1
sectors=63
heads=255
cylinders=60801< br />boot=/dev/sda
root=/dev/md1
map=/boot/map
where /dev/sda is the first item of RAID1 ( And I also changed sda to sdb and run lilo again to be able to start from the second item, if the first item will die)
Question:
Which way is better? Does the debian installer write bootload data to two disks?
The debian method 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 even risk guessing that lilo will tell you which devices it will write the boot record to when it is running (may use -v). Can’t check myself because I’m in all of my I have used grub on the machine for several years…