1 |
Am 14.04.2011 14:56, schrieb James: |
2 |
> Florian Philipp <lists <at> binarywings.net> writes: |
3 |
> |
4 |
> |
5 |
> |
6 |
>> Your boot partition is not by any chance a logical partition and |
7 |
>> therefore would be (hd0,4) and not (hd0,0)? |
8 |
> |
9 |
> grub> root (hd0,4) |
10 |
> Error 22: No such partition |
11 |
> |
12 |
> No? |
13 |
> |
14 |
> |
15 |
>> You can try to use 0.90 metadata by specifying it while creating the |
16 |
>> RAID with mdadm. I'm using it myself because AFAIK this is the only way |
17 |
>> for grub to handle a single RAID containing partitions instead of |
18 |
>> partitions containing RAIDs. |
19 |
> |
20 |
> OK so I read about this "0.90 metadata" but could not find |
21 |
> details (syntax) of when and exactly how to use this information. |
22 |
> OK, so, I've rebooted and got the md1, md2, md3 renamed by |
23 |
> (whatever) to md125 md127 and md126, respectively. |
24 |
> |
25 |
|
26 |
The parameter for specifying metadata versions is -e. Try |
27 |
mdadm --create --metadata=0.90 ... |
28 |
|
29 |
Of course it can only be specified while creating the array. |
30 |
|
31 |
The renaming is pretty ugly. You can force specific names by |
32 |
circumventing the kernel autodetection. Add the following kernel parameters: |
33 |
raid=noautodetect md=0,/dev/sda1,/dev/sdb1 ... |
34 |
|
35 |
This assembles md0 with sda1 and sdb1. You can also try to keep |
36 |
autodetection on and only force the numbering for your raid partition. |
37 |
|
38 |
Hope this helps, |
39 |
Florian Philipp |