[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] util/grub.d/30_os-prober.in: Skip drivemap for Windows 8 to 19,
From: |
Pascal Hambourg |
Subject: |
[PATCH] util/grub.d/30_os-prober.in: Skip drivemap for Windows 8 to 19, Server 2012 and later |
Date: |
Sat, 6 Jan 2024 16:35:57 +0100 |
User-agent: |
Mozilla Thunderbird |
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 <pascal@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
- [PATCH] util/grub.d/30_os-prober.in: Skip drivemap for Windows 8 to 19, Server 2012 and later,
Pascal Hambourg <=