If Windows Vista, Seven and Server 2008 do not need drivemap,
then later versions using bootmgr too should not need it either.

Note:
This patch checks Windows versions up to 19 because distinguishing 20
from 2000 requires more complex logic. Hopefully Windows will drop
BIOS/legacy boot support before version 20.

Signed-off-by: Pascal Hambourg <pas...@plouf.fr.eu.org>
---
 util/grub.d/30_os-prober.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
index 656301eaf..8e5cbb50e 100644
--- a/util/grub.d/30_os-prober.in
+++ b/util/grub.d/30_os-prober.in
@@ -167,7 +167,7 @@ EOF
       fi

       case ${LONGNAME} in
-       Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)
+       Windows\ Vista*|Windows\ [781]*|Windows\ Server\ 2008*|Windows\ Server\ 
20[1-9]*)
        ;;
        *)
          cat << EOF
--
2.30.2

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to