From: Andrey Borzenkov Subject: detect linuxefi/initrdefi secure bootloaders too Reference: bnc#810912 Recognize initrdefi and linuxefi too. Whether linux/initrd or linuxefi/initrdefi will be emitted is controlled by SECURE_BOOT setting in /etc/sysconfig/bootloader. Index: os-prober/linux-boot-probes/mounted/common/40grub2 =================================================================== --- os-prober.orig/linux-boot-probes/mounted/common/40grub2 +++ os-prober/linux-boot-probes/mounted/common/40grub2 @@ -64,7 +64,7 @@ parse_grub_menu () { ignore_item=1 fi ;; - linux[" "]*) + linux[" "]*|linuxefi[" "]*) # And here we do NOT want to strip off # existing quting, which will be transferred # verbatim in new grub.cfg @@ -83,7 +83,7 @@ parse_grub_menu () { kernel="/boot$kernel" fi ;; - initrd[" "]*) + initrd[" "]*|initrdefi[" "]*) # And here we do NOT want to strip off # existing quting, which will be transferred # verbatim in new grub.cfg