Re: Re: Lilo + RAID1 @ root partition
On Sa, 5.03.2005, 16:46, Nmap@city.fi sagte:
> Hi
>
> Correct! the boot= should be md2 not md10 in my case, thanks =)
>
> but... mm.. err how do I write correct MBR to sda & sbd now when the
> situation is that I have bootet system on HDA because booting failed
> in sda or sba after power went off (damm syster!!)
>
> Could that be somehow like mount /dev/md10 as /foo (real root partion is
> sda3 or sdb3) and copy /foo/etc/lilo.conf to /etc/lilo.conf and then run
> lilo whit some special schwitches to get right thihgs to those sda & sdb
> disks to get system running?
>
> I have working OS on md10 but I can't boot for it now :(
Mount md10 somewhere, make a chroot into it, type lilo.
To update both mbr's so that you could boot with any
combinations i.e. exchange both disks, or switch off
the first or the second one use
boot=/dev/md10
raid-extra-boot="/dev/sda, /dev/sdb"
as mentioned before. md10 as only to reside on all disks you want
to update the mbr, not more. Only all disks have to be online
in /dev/md10.
Christian
Reply to: