]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-07-21 Felix Zielcke <fzielcke@z-51.de>
authorfzielcke <fzielcke@localhost>
Tue, 21 Jul 2009 13:37:43 +0000 (13:37 +0000)
committerfzielcke <fzielcke@localhost>
Tue, 21 Jul 2009 13:37:43 +0000 (13:37 +0000)
* util/grub.d/30_os-prober.in: Remove unused CHAINROOT.  Don't
add drivemap for Vista.  It breaks Windows 7.

ChangeLog
util/grub.d/30_os-prober.in

index 02d5af1323fbf6aae8cef13e0a4aa2da03b9ce86..c7502a323e652a5723af73d2cbd79fbb5f5f8962 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-21  Felix Zielcke  <fzielcke@z-51.de>
+
+       * util/grub.d/30_os-prober.in: Remove unused CHAINROOT.  Don't
+       add drivemap for Vista.  It breaks Windows 7.
+
 2009-07-21  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by
index 552ad8e28b8289d231bb220d5a17064e07d2b08f..b36c2a3660fe1378d8fcb374a71f63ec58ed8ae0 100644 (file)
@@ -47,15 +47,18 @@ for OS in ${OSPROBED} ; do
 
   case ${BOOT} in
     chain)
-      CHAINROOT="`grub-probe --target=drive --device ${DEVICE} 2> /dev/null`"
 
       cat << EOF
 menuentry "${LONGNAME} (on ${DEVICE})" {
 EOF
       prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
 
-      cat << EOF
+      if [ "${LONGNAME}" != "Windows Vista (loader)" ] ; then
+        cat << EOF
        drivemap -s (hd0) \${root}
+EOF
+      fi
+      cat <<EOF
        chainloader +1
 }
 EOF