Am 14.04.2011 14:56, schrieb James: > Florian Philipp <lists <at> binarywings.net> writes: > > > >> Your boot partition is not by any chance a logical partition and >> therefore would be (hd0,4) and not (hd0,0)? > > grub> root (hd0,4) > Error 22: No such partition > > No? > > >> You can try to use 0.90 metadata by specifying it while creating the >> RAID with mdadm. I'm using it myself because AFAIK this is the only way >> for grub to handle a single RAID containing partitions instead of >> partitions containing RAIDs. > > OK so I read about this "0.90 metadata" but could not find > details (syntax) of when and exactly how to use this information. > OK, so, I've rebooted and got the md1, md2, md3 renamed by > (whatever) to md125 md127 and md126, respectively. >
The parameter for specifying metadata versions is -e. Try mdadm --create --metadata=0.90 ... Of course it can only be specified while creating the array. The renaming is pretty ugly. You can force specific names by circumventing the kernel autodetection. Add the following kernel parameters: raid=noautodetect md=0,/dev/sda1,/dev/sdb1 ... This assembles md0 with sda1 and sdb1. You can also try to keep autodetection on and only force the numbering for your raid partition. Hope this helps, Florian Philipp
signature.asc
Description: OpenPGP digital signature