1 |
Am 05.10.2011 15:29, schrieb Michael A. Koerber: |
2 |
>> > > I have found that use of LABEL=FOO in /etc/fstab doesn't always solve |
3 |
>> > > the problem of disks being reassigned during boot. |
4 |
>> > |
5 |
>> > That's because fstab isn't used during boot. What "root=" setting is |
6 |
>> > passed to your kernel by your bootloader? Is that using /dev/sda1 or |
7 |
>> > a label? In order to use a label, I _think_ you need some special magic |
8 |
>> > in an initrd (at least that used to be the case according to what I've |
9 |
>> > googled). |
10 |
>> > |
11 |
>> > |
12 |
>> > That's my doubt. Last time I've read about, you needed some script to |
13 |
>> > "load" the labels. |
14 |
>> > |
15 |
>> > Claudio Roberto França Pereira (a.k.a. Spidey) |
16 |
>> |
17 |
>> You cannot use labels with the root= parameters. That was provided as |
18 |
>> some kind of hack a few years ago but has been removed since. You either |
19 |
>> need to use an initramfs for labels or resort to UUIDs. See |
20 |
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b5af921ec02333e943efb59aca4f56b78fc0e100 |
21 |
> Just tried root=PARTUUID=.... failed. Checked my genblk.c and the |
22 |
> changes don't appear in the 2.6.36 or 2.6.39 kernels on my system. When |
23 |
> did (does) the PARTUUID syntax support get released? |
24 |
> |
25 |
> tnx, |
26 |
> |
27 |
> Mike |
28 |
|
29 |
2.6.37: http://kernelnewbies.org/Linux_2_6_37#line-106 |
30 |
I definitely see the changes in gentoo-sources-2.6.39-r3. |
31 |
|
32 |
Regards, |
33 |
Florian Philipp |