The latest grub package update needs some manual intervention

(Grub 2:2.06.r322.gd9b4638c5-1)

Grub Update Causing Unbootable OS On UEFI Systems

A grub update today is causing boot issues on UEFI systems.
It will make most systems unbootable so take care!
with no intervention, the system will just boot directly into Firmware with no way to boot the OS.

If you have this issue follow these instructions:

  1. First boot onto an EndeavourOS Live ISO. Ensure that you are booting the ISO via UEFI mode.
  2. Follow these instructions to chroot into your install:
    https://discovery.endeavouros.com/system-rescue/arch-chroot-for-efi-uefi-systems/2021/03/
  3. After you enter the chroot, reinstall grub:
grub-install
  1. Your issue should be fixed by now.

If you are still having issues follow this

If you are having issues even after following the previous steps, it is most likely because the UEFI boot order is incorrect. You can fix it two ways. Either by going into your BIOS and selecting the correct entry in the boot order or by performing the following steps:

  1. Run the command
efibootmgr -v

will show entries in this format:
Boot0001 endeavouros HD(1,GPT,…*
where Boot0001* will mean 0001 to take as identification.

  1. Find the boot entry that corresponds to EndeavourOS-grub
  2. Set it as the first entry in BootOrder using
sudo efibootmgr -o xxx,yyy,zzz

where xxx is the boot entry corresponding to EndeavourOS

For example:

sudo efibootmgr -o 0003,0006,0002
  1. This should fix the issue.

Note for people who haven’t updated their system and are looking to update

If you haven’t updated your system yet, follow these instructions:

  1. Update your system as usual
  2. Immediately after you update your system, install grub.
sudo grub-install
  1. Now, you can reboot your system normally, and it should boot fine.
63 Likes

Since the question has come up several times in various topics, I wanted to point out the grub version 2:2.06.r322.gd9b4638c5-3 has recently been released.

This package is identical to the prior revision, 2:2.06.r322.gd9b4638c5-1, with the exception of a message added post install warning you to run grub-install and grub-mkconfig.

What this means for you is that if you already updated to 2:2.06.r322.gd9b4638c5-1 and subsequently ran grub-install, there shouldn’t be any problem with updating again.

However, if you were one of the people who decided to downgrade grub, this package does nothing further to change the situation. Updating to this package will have the same issues as the prior release.

15 Likes