[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot on 'RAID 1' with 'LILO' and 'mdadm'



Arnt Karlsen said:
> ..play with this:
> #!/bin/sh
> /bin/cp -f /usr/share/grub/i386-pc/* /boot/grub
> /usr/sbin/grub --batch <<EOT > /dev/null 2> /dev/null
> # device (hd0) /dev/hda
> # device (hd1) /dev/hdc
> device (md0) /dev/md0
> root (md0,0)
> # setup (hd0) #installs onto /dev/hda
> # setup (hd2) #installs onto /dev/hdc
> setup (md0) #installs onto /dev/md0
> quit
> EOT
These is the commands to install grub on the system?
I am not too familiar with grub, I've always used lilo on my systems.
So the generalized fix for this particular situation is to use grub?

(I wrote the rootraiddoc.alioth.debian.org, and want to update it if
necessary.)


-- 
--Luke CS Sysadmin, Montana State University-Bozeman



Reply to: