1 |
On 2013-07-01, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
2 |
> On 01/07/2013 23:52, Grant Edwards wrote: |
3 |
>> I've just recently run into a problem where sometimes when a machine |
4 |
>> boots, the kernel can't find init. This appears to be because my grub |
5 |
>> configuration line says "root=/dev/sda5" and _sometimes_ the drive |
6 |
>> that contains my root partition is sdb instead of sda. AFAICT, for the |
7 |
>> past 30 years the linux kernel was 100% consistent in the order that |
8 |
>> hard drives were labelled -- but recently that has seems to have |
9 |
>> changed. |
10 |
>> |
11 |
>> I use partition labels in my fstab, so that's not a problem, but after |
12 |
>> all these years, the kernel still doesn't know how to grok parition |
13 |
>> labels. |
14 |
>> |
15 |
>> Are we really expected now to set up an initrd just so that the kernel |
16 |
>> can find the root partition?? |
17 |
> |
18 |
> Where have you been for the past 6 months? |
19 |
> |
20 |
> Did you miss the entire clusterfuck debate about latest udev tricks? |
21 |
|
22 |
No. |
23 |
|
24 |
> Those names depend only on the order in which devices are discovered, |
25 |
> and that process has always been indeterminate. |
26 |
|
27 |
Really? I've been running Linux on a lot of machines for 30 years -- |
28 |
often on machines with a half-dozen hard drives -- and I never saw |
29 |
drive order change from one reboot to the next until today. That's |
30 |
quite a lucky streak. |
31 |
|
32 |
> udev used to get in the middle and rename things in an arbitrary but |
33 |
> defined order, it no longer does this. |
34 |
|
35 |
How did udev get in the middle? It somehow ran before the kernel |
36 |
mounted root and started 'init'? |
37 |
|
38 |
> We discussed this whole subject *to death* over the last many months |
39 |
|
40 |
I remember that discussion, but I don't see how it's relelvent to |
41 |
events that occur before init starts. |
42 |
|
43 |
-- |
44 |
Grant |