Re: Lilo append= , A suggestion .

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

 



On Monday February 13, babydr@xxxxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux