I have just installed grub-pc version  1.96+20080621-1.

  My /etc/default/grub contains:

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter
to Linux
GRUB_DISABLE_LINUX_UUID=true

'search --fs-uuid' lines should not be generated by update-grub, as I have the "GRUB_DISABLE_LINUX_UUID" option set.

  I propose the following change to update-grub_lib:

 # If there's a filesystem UUID that GRUB is capable of identifiing,
use it;
 # otherwise set root as per value in device.map.
 echo "set root=`${grub_probe} --device ${device} --target=drive`"
s/
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2/dev/null`" ; then
/
if [ "x${GRUB_DISABLE_LINUX_UUID}" != "xtrue" ] && fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2/dev/null`" ; then
/

   echo "search --fs-uuid --set ${fs_uuid}"
 fi
}









--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to