[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: [PATCH] util/grub.d/30_os-prober.in: Skip drivemap for Windows 8 to 19, Server 2012 and later
From:       Pascal Hambourg <pascal () plouf ! fr ! eu ! org>
Date:       2024-01-17 12:44:20
Message-ID: dc71e56c-37ab-459d-a8d2-5e08200860a0 () plouf ! fr ! eu ! org
[Download RAW message or body]

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

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic