Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Hard drives not detected in repeatable order.
Date: Wed, 05 Oct 2011 20:32:42
Message-Id: CAEH5T2NMv17TAC9re3EWmduU_aK5xjCpBEd-jp+92Wh-P1XxXw@mail.gmail.com
In Reply to: [gentoo-user] Re: Hard drives not detected in repeatable order. by walt
1 On Wed, Oct 5, 2011 at 1:54 PM, walt <w41ter@×××××.com> wrote:
2 > On 10/05/2011 06:29 AM, Michael A. Koerber wrote:
3 >
4 >> Just tried root=PARTUUID=....  failed.  Checked my genblk.c and the
5 >> changes don't appear in the 2.6.36 or 2.6.39 kernels on my system.
6 >> When did (does) the PARTUUID syntax support get released?
7 >
8 > This is very obscure and confusing if you don't already know the
9 > history of that code.
10 >
11 > You might think, as I did, that PARTUUID stands for the UUID of the
12 > partition you're searching for -- not true :(
13 >
14 > PARTUUID stands for Partition Table UUID, which is entirely different
15 > from a Partition UUID.  Clear as mud, eh?
16 >
17 > Only GUID/EFI partition tables have a UUID -- not DOS partition tables.
18 >
19 > I posted a HOWTO on the subject here:
20 >
21 > http://www.gossamer-threads.com/lists/gentoo/user/225071
22
23 There were some patches posted a few months ago in LKML, not sure if
24 they are in mainline kernel yet, but they allowed for this syntax:
25
26 root=PARTUUID=UUID/PARTNROFF=%d
27
28 where %d is the partition number offset. Basically it lets you choose
29 the Nth partition within the specified partition table UUID.