Lines 154-164
prepare_grub_to_access_device ()
Link Here
|
154 |
fi |
154 |
fi |
155 |
if fs_uuid="`"${grub_probe}" --device "${device}" --target=fs_uuid 2> /dev/null`" ; then |
155 |
if fs_uuid="`"${grub_probe}" --device "${device}" --target=fs_uuid 2> /dev/null`" ; then |
156 |
hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null`" || hints= |
156 |
hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null`" || hints= |
157 |
echo "if [ x\$feature_platform_search_hint = xy ]; then" |
157 |
echo "search --no-floppy --fs-uuid --set=root ${hints} ${fs_uuid}" |
158 |
echo " search --no-floppy --fs-uuid --set=root ${hints} ${fs_uuid}" |
|
|
159 |
echo "else" |
160 |
echo " search --no-floppy --fs-uuid --set=root ${fs_uuid}" |
161 |
echo "fi" |
162 |
fi |
158 |
fi |
163 |
} |
159 |
} |
164 |
|
160 |
|