Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Mounting the rootfs by UUID?
Date: Fri, 21 Jan 2011 15:09:36
Message-Id: ihc7fi$jrs$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Mounting the rootfs by UUID? by Daniel Pielmeier
1 On 01/21/2011 05:04 AM, Daniel Pielmeier wrote:
2 > Nils Larsson<nisselarsson@××××.se>:
3 >> On Friday 21 January 2011 04:09:12 walt wrote:
4 >>> Has anyone managed to use that UUID feature to tell the kernel where to
5 >>> find the rootfs?
6 >>
7 >> You have to use a initramfs, see:
8 >> http://en.gentoo-wiki.com/wiki/Initramfs#UUID.2FLABEL_Root_Mounting
9 >
10 > Starting from kernel-2.6.37 [1,2] this is possible without an intramfs
11 >
12 > [1] http://kernelnewbies.org/Linux_2_6_37#head-da4cb5f727d0f3b8fac1b23c097e15c3b49ff793
13 > [2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b5af921ec02333e943efb59aca4f56b78fc0e100
14
15 Yes, that's exactly the feature I'm unable to get working correctly.
16
17 After re-reading the commit message I now see that the UUID he refers
18 to is part of a GPT, *not* part of an MSDOS partition table <sigh>.
19 (I've been trying to use the uuid that appears in /dev/disk/by-uuid,
20 which is not at all the same thing.)
21
22 Thanks for posting the link -- it did give me the answer, but one I
23 didn't want to hear :)
24
25 Now I need to find out if I can use a GPT on this machine...