Please ignore the attached patches. I created a merge request on salsa:
<https://salsa.debian.org/installer-team/grub-installer/-/merge_requests/16>
On 08/05/2023 at 22:04, Pascal Hambourg wrote:
1) In expert install (or low priority), the new os-prober dialog
displayed by grub-installer lists only unsupported OS but not
supported OS.
2) "efi" os-prober type is considered unsupported.
In EFI mode, os-prober detects EFI boot loaders such as Windows Boot
Manager with type "efi". GRUB can add menu entries for these boot
loaders so this type should be in the supported list instead of the
unsupported list. (...)
Same issue with "macosx" and "minix" os-prober types.
If the installer was booted in EFI mode but detected existing operating
systems already installed using "BIOS compatibility mode" and the user
chose to not force UEFI installation, update-grub executed in the target
chroot still behaves in EFI mode (...)
(Patch attached)
Ignore this patch too, it was flawed and the issue was addressed as part
of another merge request (merged):
<https://salsa.debian.org/installer-team/grub-installer/-/merge_requests/19>