Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2017-09-27 09:45:39 -0500

florian gravatar image

Why does my computer not recognize the GRUB boot loader on my EFI system partition?

Hi,

I have a dual boot computer here with Windows 8 and Fedora 25 using (U)EFI firmware. Something happened (maybe some stupid Windows update?) so that my BIOS firmware does not show the GRUB bootloader during startup. 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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?

In case this information is any helpful: The machine is a Lenovo Thinkstation E31 with UEFI only boot config, no legacy boot, no secure boot.

Why does my computer not recognize the GRUB boot loader on my EFI system partition?

Hi,

I have a dual boot computer here with Windows 8 and Fedora 25 using (U)EFI firmware. Something happened (maybe some stupid Windows update?) so that my BIOS firmware does not show the GRUB bootloader during startup. 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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?

In case this information is any helpful: The machine is a Lenovo Thinkstation E31 with UEFI only EDIT: I didn't understand the instructions here on how to Create a boot config, no legacy boot, no secure boot.menu entry.

Why does my computer not recognize the GRUB boot loader on my EFI system partition?

Hi,

I have a dual boot computer here with Windows 8 and Fedora 25 using (U)EFI firmware. Something happened (maybe some stupid Windows update?) so that my BIOS firmware does not show the GRUB bootloader during startup. 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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.

EDIT2: seems like efibootmgr needs to used to add a boot loader to the firmware

[root@localhost-live ~]# efibootmgr
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0004,0005,0001,0002,0000
Boot0000* Generic Usb Device
Boot0001* UEFI: IP4 Intel(R) 82579LM Gigabit Network Connection
Boot0002* UEFI: IP6 Intel(R) 82579LM Gigabit Network Connection
Boot0004* Windows Boot Manager
Boot0005* UEFI: Imation Nano Pro PMAP

Could anyone please point to a guide on how to use it to add a Fedora grub?

Why does my computer not recognize the GRUB boot loader on my EFI system partition?

Hi,

I have a dual boot computer here with Windows 8 and Fedora 25 using (U)EFI firmware. Something happened (maybe some stupid Windows update?) so that my BIOS firmware does not show the GRUB bootloader during startup. (I accidentally disconnected power to the sda drive and 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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.

EDIT2: seems like efibootmgr needs to used to add a boot loader to the firmware

[root@localhost-live ~]# efibootmgr
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0004,0005,0001,0002,0000
Boot0000* Generic Usb Device
Boot0001* UEFI: IP4 Intel(R) 82579LM Gigabit Network Connection
Boot0002* UEFI: IP6 Intel(R) 82579LM Gigabit Network Connection
Boot0004* Windows Boot Manager
Boot0005* UEFI: Imation Nano Pro PMAP

Could anyone please point to a guide on how to use it to add a Fedora grub?

Why does my computer not recognize the GRUB boot loader on my How can I create a EFI system partition?Boot Menu Entry using efibootmgr?

Hi,

I have a dual boot computer here 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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.

EDIT2: seems like efibootmgr needs to used to add a boot loader to the firmware

[root@localhost-live ~]# efibootmgr
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0004,0005,0001,0002,0000
Boot0000* Generic Usb Device
Boot0001* UEFI: IP4 Intel(R) 82579LM Gigabit Network Connection
Boot0002* UEFI: IP6 Intel(R) 82579LM Gigabit Network Connection
Boot0004* Windows Boot Manager
Boot0005* UEFI: Imation Nano Pro PMAP
firmware. Currently it doesn't show Fedora's grub as boot entry.

Could anyone please point to a guide on how to use it to add a Fedora grub?

EDIT3: Arch Linux wiki suggests the following:

efibootmgr --create --disk /dev/sda --part 2 --loader /EFI/fedora/grubx64.efi --label "Fedora Grub"

(part 2 is my EFI) Can anyone confirm that this is the right thing to do?

How can I create a EFI Boot Menu Entry using efibootmgr?

Hi,

I have a dual boot computer here 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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.

EDIT2: but it seems like that efibootmgr needs to used to add a boot loader to the firmware. Currently it doesn't show Fedora's grub as boot entry.

Could anyone please point to a guide on how to use it to add a Fedora grub?

EDIT3: Arch Linux wiki suggests the following:

efibootmgr --create --disk /dev/sda --part 2 --loader /EFI/fedora/grubx64.efi --label "Fedora Grub"

(part 2 is my EFI) Can anyone confirm that this is the right thing to do?

How can I create a EFI Boot Menu Entry using efibootmgr?

Hi,

I have a dual boot computer here 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:

  1. deactivated the "fast boot" option in Windows
  2. started a Fedora 25 Live system
  3. mounted my Fedora installation (/, /boot, /boot/efi)
  4. chrooted into my system and reinstalled packages grub2-efi grub2-efi-modules shim according to the wiki page
  5. 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.