lunar-install & raid-1

samuel samuel.verstraete at gmail.com
Mon Jan 21 15:47:13 CET 2008


new version of the patch... this one was actually tested... it's fugly
but it handles raid-1 on /boot fine... I actually don't think we
should support anything else ;)

i must say i was hoping for easier code than this unreadable pos i
have created... maybe you can find something simpler Auke...

anyway the end result is that:
if /boot is on a raid array, it will search which partitions are in
that raid definitions and will append a line to lilo.conf so the MBR
of the disks of those partitions of the raid array will each get lilo
installed...

http://wiki.lunar-linux.org/index.php/Installation:Software_Raid

explanation at bottom


On Jan 21, 2008 10:01 AM, samuel <samuel.verstraete at gmail.com> wrote:
> Attached patch that fixes 2 issues:
>
> first
> the part with the weird substition of ${$ARRAYNAME/md/}
> I have basically no idea why it's written like that but it doesn't
> work here (tried 2 installs on separate machines)
> after making it ${ARRAYNAME/md/} it worked everytime
>
> second
> Should add an extra line in the lilo.conf file in case $BOOT is on a
> raid array... You might wanna read this code carefully cause i
> honestly didn't test it...
> I described this on the install to raid on the wiki
>
> mvg
> Samuel
>


More information about the Lunar-dev mailing list