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 committed 2009-08-23 15:27:07 +00:00
1 parent 5174302b55
commit e9a925da69
3 files changed
+28 -1

No files matched your search

+5
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`"