On 17/01/2024 à 04:17, Vladimir 'phcoder' Serbinenko wrote:
On Sat, Jan 6, 2024 at 6:38 PM Pascal Hambourg <pas...@plouf.fr.eu.org> wrote:

If Windows Vista, Seven and Server 2008 do not need drivemap,
then later versions using bootmgr too should not need it either.
(...)
         case ${LONGNAME} in
-       Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)
+       Windows\ Vista*|Windows\ [781]*|Windows\ Server\ 2008*|Windows\ Server\ 
20[1-9]*)

What happens to Windows 1.01 ? Or is it detected as MS-DOS?

The condition can be split in two for 7..8 and 10..19 :

Windows\ [78]*|Windows\ 1[0-9]*

But os-prober returns only the following names for pre-bootmgr versions:

Windows NT/2000/XP
MS-DOS 5.x/6.x/Win3.1
Windows 95/98/Me

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

Reply via email to