summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index d7bddcff2..fd59addb2 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -261,6 +261,13 @@ sub read {
return $bootloader if read_($bootloader);
}
}
+ # still no boot loader found? let's check for ESP if using UEFI:
+ if (is_uefi()) {
+ if (-f "/boot/EFI/EFI/mageia/grubx64.efi") {
+ my $bootloader = bootloader::read_grub2();
+ return $bootloader if read_($bootloader);
+ }
+ }
}
sub read_ {