--- grub-mkconfig_lib.orig 2012-01-29 23:47:30.538824545 +0400 +++ grub-mkconfig_lib 2012-01-29 23:47:36.885329818 +0400 @@ -148,7 +148,7 @@ # otherwise set root as per value in device.map. echo "set root='`"${grub_probe}" --device "${device}" --target=compatibility_hint`'" if fs_uuid="`"${grub_probe}" --device "${device}" --target=fs_uuid 2> /dev/null`" ; then - hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null`" + hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null || true`" echo "if [ x\$feature_platform_search_hint = xy ]; then" echo " search --no-floppy --fs-uuid --set=root ${hints} ${fs_uuid}" echo "else"