grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix grub.d/10_windows for Cygwin 1.7


From: Christian Franke
Subject: Re: [PATCH] Fix grub.d/10_windows for Cygwin 1.7
Date: Sun, 09 May 2010 16:37:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4

Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Christian Franke wrote:
This change is already included in Cygwin package grub-1.98-2.

-
+  test -z "$needmap" || cat<<EOF
+       drivemap -s (hd0) \$root
+EOF
You can't be sure on script runtime that C: is on hd0. Ironically especially 
when drivemap is used.
But drivemap -s (hd0) (hd0) is a nop, so no harm done.
On the other hand Vista and 7 are incompatible with drivemap so you have to 
skip drivemap on those systems. Look at 30_os-prober.in:
       case ${LONGNAME} in
         Windows\ Vista*|Windows\ 7*)
         ;;
         *)
           cat<<  EOF
         drivemap -s (hd0) \${root}
EOF
         ;;
       esac

This is already considered in the script: $needmap is set if ntldr is found but not if bootmgr is found.


--
Regards,
Christian Franke





reply via email to

[Prev in Thread] Current Thread [Next in Thread]