On Mon, Feb 24, 2025 at 06:10:45PM +0100, Pascal Hambourg wrote: > On systems which support multiple boot platforms such as BIOS and > EFI, it makes no sense to show menu entries which are not supported > by the current boot platform. Menu entries generated from os-prober > 'chain' boot type use boot sector chainloading which is supported > by PC BIOS platform only. > > Show 'chain' menu entries only if boot platform is PC BIOS. > Show 'efi' menu entries only if boot platform is EFI. > > This is aimed to allow os-prober to report both EFI and PC BIOS > boot loaders regardless of the current boot mode on x86 systems > which support both EFI and legacy BIOS boot, in order to generate > a config file which can be used with either BIOS or EFI boot. > > Signed-off-by: Pascal Hambourg <pas...@plouf.fr.eu.org>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel