Re: Please add generic support for root=UUID= at kernel parametercommand line (LABEL, BYID maybe also)

From: Eric Valette
Date: Thu Aug 26 2010 - 11:34:16 EST


On 08/23/2010 11:56 PM, Phil Turmel wrote:
(Adding cut CC... sorry about the duplicate)

Hi Eric,

Hi Phil

I found a solution myself using the grub embedded "search --fs-uuid". I do it once the linux boot partition and also on one partition of the external disk. If the search on the external disk report an error, I know root=/dev/sda1 else root=/dev/sdb1. But I really think this should be linux job!

I also converted my /etc/fstab to LABEL=foo /foo syntax.

Now I'm really puzzled grub2 as a "search by fs uuid" command that linux is unable to deliver for the root device!

I have seen read hat patch for supporting this feature ext2 as early as in 1999!

-- eric


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/