2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>

* commands/search.c (search_fs): Try searching without autoload first.
	* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
	filesystem module explicitly for faster booting.
This commit is contained in:
phcoder 2009-08-23 15:27:07 +00:00
parent 5174302b55
commit e9a925da69
3 changed files with 28 additions and 1 deletions

View file

@ -140,6 +140,11 @@ prepare_grub_to_access_device ()
echo "insmod ${module}"
done
fs="`${grub_probe} --device ${device} --target=fs`"
for module in ${fs} ; do
echo "insmod ${module}"
done
# If there's a filesystem UUID that GRUB is capable of identifying, use it;
# otherwise set root as per value in device.map.
echo "set root=`${grub_probe} --device ${device} --target=drive`"