Install Debian on the software RAID (Lilo.conf configuration)

The Debian installer created lilo.conf:

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?

The debian method is better, because lilo will automatically write boot records for all disks in the raid set, The raid device itself is not included (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 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…

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1446 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.