From 8fca7cfca3baa1639e316c8307dd20479cbe8d1d Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 15 Jun 2020 11:01:25 +0100 Subject: Add option to install GRUB2 as EFI default/fallback bootloader. i.e. in \EFI\BOOT instead of in \EFI\mageia. This should be used if installing on a removable device, and provides a workaround for buggy BIOSs that don't respect the EFI NVRAM settings. --- perl-install/any.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 0d58f95cb..c3ab97eb7 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -729,6 +729,10 @@ sub setupBootloader__grub2 { { text => N("Probe Foreign OS"), val => \$os_prober, type => 'bool', help => N("If grub2 takes too long to install, you can use this option to skip detecting other OSes and make it fast"), }, + if_(is_uefi(), + { text => N("Install in /EFI/BOOT (workaround for some BIOSs)"), + val => \$b->{removable}, type => 'bool' }, + ), ]); if ($res) { $b->{entries} = $b2->{entries}; -- cgit v1.2.1