[svlug] booting from software raid?

Marc MERLIN marc at merlins.org
Tue May 30 18:32:55 PDT 2000


On mar, mai 30, 2000 at 11:18:18 -0700, Arthur Thomas wrote:
> has anyone here ever set up a linux server so that it booted from a software
> raid partition?

You apply
http://www.elliott-turbo.com/lilo/lilo.raid1.also
to the latest lilo code

stan:~# cat /etc/lilo.conf 
append=""
boot=/dev/md0
root=/dev/md0
install=/boot/boot.b
map=/boot/map
vga=6
prompt
timeout=50
image=/vmlinuz
        label=linux
        read-only
image=/vmlinuz.old
        label=linuxold
        read-only

The boot=/dev/md0 isn't obvious:
What it really does is:
tan:~# lilo
boot = /dev/sda, map = /boot/map.0801
Added linux *
Added linuxold
boot = /dev/sdb, map = /boot/map.0811
Added linux
Added linuxold

Marc
-- 
Microsoft is to software what McDonalds is to gourmet cooking
 
Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f at merlins.org for PGP key and other contact information






More information about the svlug mailing list