help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't get UUID for root device


From: Dave Badia
Subject: Can't get UUID for root device
Date: Fri, 19 Aug 2011 21:06:53 -0400

I can't get grub 1.99_rc1 to generate a UUID for the root entry in my
grub.cfg file.  It will reference the boot drive by UUID (or at least
try to), but root keeps using /dev/sdx.  For example:

menuentry "Gentoo GNU/Linux, with Linux 2.6.37.2" --class gentoo --class gnu-lin
ux --class gnu --class os {
        savedefault
        set gfxpayload=keep
        insmod part_msdos
        insmod ext2
        set root='(hd5,msdos1)'
        search --no-floppy --fs-uuid --set=root 0f194bb0....
        echo    Loading Linux 2.6.37.2 ...
        linux   /kernel-2.6.37.2 root=/dev/sdf2 ro
}

I'm running on gentoo and have verified that GRUB_DISABLE_LINUX_UUID
is commented out in /etc/default/grub.  I also tried uncommenting it
and setting it to false, but the result was the same.

Thanks
Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]