If Windows Vista, Seven and Server 2008 do not need drivemap, then later versions using bootmgr should not need it either.
This patch checks Windows versions up to 19 because distinguishing 20 from 2000 requires more complex logic. Hopefully Windows will drop legacy BIOS boot support before version 20. Signed-off-by: Pascal Hambourg <pas...@plouf.fr.eu.org> --- v2: - Harden the version check to exclude Windows 1.* (even though os-prober does not detect it) 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..043e5dfea 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\ [78]*|Windows\ 1[0-9]*|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