How can I create a EFI Boot Menu Entry using efibootmgr?
Hi,
I have a dual boot computer with Windows 8 and Fedora 25 using (U)EFI firmware. Something happened so that my BIOS firmware does not show the GRUB bootloader during startup. (I accidentally disconnected power to the sda drive when cleaning the inside of my computer and then turned on the computer - maybe the firmware didn't like that action. At the same time Windows did an update, maybe that's the cause).
By not showing, I mean it doesn't not recognize the GRUB loader at all - when pressing F12 before boot, I see only the Windows Boot Loader.
What I've done so far:
- deactivated the "fast boot" option in Windows
- started a Fedora 25 Live system
- mounted my Fedora installation (
/
,/boot
,/boot/efi
) chroot
ed into my system and reinstalled packagesgrub2-efi grub2-efi-modules shim
according to the wiki page- created a new GRUB config:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
The BIOS just doesn't see my grub located in EFI/fedora. What's going on here and how can I fix this issue?
EDIT: I didn't understand the instructions here on how to Create a boot menu entry but it seems that efibootmgr
needs to used to add a boot loader to the firmware. Currently it doesn't show Fedora's grub as boot entry.