On Monday February 13, [EMAIL PROTECTED] wrote:
> Hello Neil & All ,
> I'll bet I am going to get harassed over this , but ...
>
> The present form (iirc) of the lilo append statement is
>
> append="md=d0,/dev/sda,/dev/sdb"
>
> I am wondering how difficult the below would be to code ?
> This allows a (relatively) short strings to be append'd
> instead of the sometimes large listing of devices .
>
> append="md=d0,UUID=e9e0f605:9ed694c2:3e2002c9:0415c080"
>
> Ok , I got my asbestos brithes on . Have at it ;-) .
This is just the job for an initramfs. They are *really*easy* to
make, and very flexible. mdadm-2.2 and later come with a little
script which (tested on Debian) makes a simple initramfs which
will recognise a kernel parameter (as passed by lilo's 'append')
like
rootuuid=97e58306:2c85fd85:2346b91e:aaca5fee
and will assemble the appropriate array a /dev/md_d0 and will then
mount a filesystem of there as root. If it doesn't do exactly what
you want, it is fairly easy to modify.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html