grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] util/grub.d/30_os-prober.in: Skip drivemap for Windows 8 to


From: Pascal Hambourg
Subject: Re: [PATCH] util/grub.d/30_os-prober.in: Skip drivemap for Windows 8 to 19, Server 2012 and later
Date: Wed, 17 Jan 2024 13:44:20 +0100
User-agent: Mozilla Thunderbird

On 17/01/2024 à 04:17, Vladimir 'phcoder' Serbinenko wrote:
On Sat, Jan 6, 2024 at 6:38 PM Pascal Hambourg <pascal@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



reply via email to

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