f8e8dfcdbd
installed Fedora's
14 lines
780 B
Diff
14 lines
780 B
Diff
diff -up os-prober-1.53/linux-boot-probes/mounted/common/40grub2.fedorafix os-prober-1.53/linux-boot-probes/mounted/common/40grub2
|
|
--- os-prober-1.53/linux-boot-probes/mounted/common/40grub2.fedorafix 2012-05-25 12:52:25.067271268 +0430
|
|
+++ os-prober-1.53/linux-boot-probes/mounted/common/40grub2 2012-05-25 12:53:41.552315071 +0430
|
|
@@ -94,6 +94,9 @@ if [ -e "$mpoint/boot/grub/grub.cfg" ] &
|
|
[ "$mpoint/boot/grub/grub.cfg" -nt "$mpoint/boot/grub/menu.lst" ]); then
|
|
debug "parsing grub.cfg"
|
|
parse_grub_menu "$mpoint" "$partition" "$bootpart" < "$mpoint/boot/grub/grub.cfg"
|
|
+elif [ -e "$mpoint/boot/grub2/grub.cfg" ]; then
|
|
+ debug "parsing grub.cfg"
|
|
+ parse_grub_menu "$mpoint" "$partition" "$bootpart" < "$mpoint/boot/grub2/grub.cfg"
|
|
fi
|
|
|
|
if [ "$found_item" = 0 ]; then
|