Cope with Windows 7 in os-prober output
PATCH 1/1 Cope with Windows 7 in os-prober output
I recently fixed
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/393565 in os-prober svn. GRUB needs this patch to handle the new output correctly.
2009-09-14 Colin Watson <[email protected]>
* util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober output.
grub.d/30_os-prober.in +8 -3
@@ -57,11 +57,16 @@ menuentry "${LONGNAME} (on ${DEVICE})" { EOF prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/" - if [ "${LONGNAME}" != "Windows Vista (loader)" ] ; then - cat << EOF + case ${LONGNAME} in + Windows\ Vista*|Windows\ 7*) + ;; + *) + cat << EOF drivemap -s (hd0) \${root} EOF - fi + ;; + esac + cat <<EOF chainloader +1 }
Signature · 1 line
Colin Watson [[email protected]]
Quoted 3 lines · Colin Watson
I recently fixed
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/393565 in os-prober svn. GRUB needs this patch to handle the new output correctly.
Felix OKed this on #debian-boot so I went ahead and committed.
Signature · 1 line
Colin Watson [[email protected]]