1 |
On Mon, Feb 12, 2018 at 6:16 PM, Magnus Johansson <gentoo@×××.se> wrote: |
2 |
|
3 |
|
4 |
>> [ I assume that "46488b259685a3b9c52b7449d592dc80" is the UUID that's |
5 |
>> displayed as "UUID" or "Array UUID" when you use "mdadm -D ..." or |
6 |
>> "mdadm -E ..." respectively ] |
7 |
> |
8 |
> Almost, mdadm says 46488b25:9685a3b9:c52b7449:d592dc80 |
9 |
|
10 |
OK; grub's mduuid has the separators removed (I assume that it makes |
11 |
its life simpler). |
12 |
|
13 |
|
14 |
>> Does "set" in the grub shell display |
15 |
>> "prefix=(mduuid/46488b259685a3b9c52b7449d592dc80)/grub" and |
16 |
>> "root=(mduuid/46488b259685a3b9c52b7449d592dc80)"? |
17 |
> |
18 |
> Yes, I messed up the prefix=-line when retyping it. |
19 |
|
20 |
:) |
21 |
|
22 |
|
23 |
>> Does "grub-probe -t drive -d /dev/md0" output "(mduuid/...)" or |
24 |
>> "(md/0)" or "(md0)"? |
25 |
> |
26 |
> It ouputs "(mduuid/46488b259685a3b9c52b7449d592dc80)" |
27 |
|
28 |
I was hoping that it wouldn't and that we could then point to a |
29 |
problem or a bug. |
30 |
|
31 |
I'm stumped. It's been a while since I've had to troubleshoot grub |
32 |
but, AFAIR, the fact that you are at the grub shell rather than the |
33 |
grub rescue shell means that core.img is loaded and "prefix" and |
34 |
"root" are set and recognized. So it's pretty weird that you have to |
35 |
set "root=(md/0)" in order to boot (although, if you run "ls", |
36 |
"(md/0)" will be listed so it's not an alien value). You could check |
37 |
what modules are loaded with "lsmod" (if you need to page through the |
38 |
list, run "set pager=1" first). I can't see how "mdraid1x" (and other |
39 |
disk-related modules like "biosdisk" and "diskfilter") wouldn't be |
40 |
listed given your "grub-install ... | grep ..." output and you're |
41 |
being at the grub shell. |
42 |
|
43 |
I don't know whether your "grub.cfg" is read before you reach the grub |
44 |
shell but you could try to edit it, delete the "search ... --set=root |
45 |
..." lines, and change the "set |
46 |
root=(mduuid/46488b259685a3b9c52b7449d592dc80)" to "set root=(md/0)", |
47 |
both in the 00_header section. It would go against the general move to |
48 |
using UUIDs but... |