grub-efi fails to register boot entry

Asked by Grub

Every time grub is updating it removes an already existing efi boot entry and tries to create a new one. This fails with an error:
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.

Due to this failure system becomes unbootable since there is no boot entry in efivar. I have to then manually boot system with efi_no_storage_paranoia kernel parameter in order for grub to successfully install.

Last week there was a patch pulled into main grub repository to fix grub-install to not re-create efi boot entry if one already exists.
The patch can be found here: https://salsa.debian.org/grub-team/grub/commit/c3ab38fcac862d07eceefe3c56fa22b140f37410
Link to the issue it fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891434

My question is, when will be this patch available for ubuntu branched grub?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug. When the Debian bug is resolved it will flow downstream to Ubuntu

Revision history for this message
Grub (grubug) said :
#2

Thank you for your answer! I opened bug report #1823383

Can you help with this problem?

Provide an answer of your own, or ask Grub for more information if necessary.

To post a message you must log in.