On 01/21/2011 05:04 AM, Daniel Pielmeier wrote:
Nils Larsson<nisselars...@home.se>:
On Friday 21 January 2011 04:09:12 walt wrote:
Has anyone managed to use that UUID feature to tell the kernel where to
find the rootfs?

You have to use a initramfs, see:
http://en.gentoo-wiki.com/wiki/Initramfs#UUID.2FLABEL_Root_Mounting

Starting from kernel-2.6.37 [1,2] this is possible without an intramfs

[1] 
http://kernelnewbies.org/Linux_2_6_37#head-da4cb5f727d0f3b8fac1b23c097e15c3b49ff793
[2] 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b5af921ec02333e943efb59aca4f56b78fc0e100

Yes, that's exactly the feature I'm unable to get working correctly.

After re-reading the commit message I now see that the UUID he refers
to is part of a GPT, *not* part of an MSDOS partition table <sigh>.
(I've been trying to use the uuid that appears in /dev/disk/by-uuid,
which is not at all the same thing.)

Thanks for posting the link -- it did give me the answer, but one I
didn't want to hear :)

Now I need to find out if I can use a GPT on this machine...


Reply via email to