System Partition (as of os-prober 1.58).
+2013-05-31 Andrey Borzenkov <arvidjaar@gmail.com>
+
+ * util/grub.d/30_os-prober.in: Add support for probing EFI
+ System Partition (as of os-prober 1.58).
+
2013-05-31 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Add yet another path to unifont. For parabola.
cat <<EOF
chainloader +1
}
+EOF
+ ;;
+ efi)
+
+ EFIPATH=${DEVICE#*@}
+ DEVICE=${DEVICE%@*}
+ onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
+ cat << EOF
+menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' --class windows --class os \$menuentry_id_option 'osprober-efi-$(grub_get_device_id "${DEVICE}")' {
+EOF
+ save_default_entry | sed -e "s/^/\t/"
+ prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
+
+ cat <<EOF
+ chainloader ${EFIPATH}
+}
EOF
;;
linux)