efivarfs_set_variable: writing to fd 7 failed: Invalid argument.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With the 3/24/2021 update grub failed to install. Getting messages;
grub-install: warning: Cannot set EFI variable Boot000B.
grub-install: warning: efivarfs_
grub-install: warning: _efi_set_
grub-install: error: failed to register the EFI boot entry: Invalid argument.
when doing sudo grub-install /dev/sda. Reinstalled grub-efi-amd64-bin successfully but get the same error on the grub-install command.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: grub-efi-amd64-bin 2.04-1ubuntu44
ProcVersionSign
Uname: Linux 5.11.0-11-generic x86_64
ApportVersion: 2.20.11-0ubuntu60
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 24 11:42:52 2021
InstallationDate: Installed on 2020-11-17 (126 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20201117)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2-unsigned
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | grub2-unsigned (Ubuntu) → grub2 (Ubuntu) |
Got a grub error after installing grub-efi-amd64-bin 2.04-1ubuntu44 during daily update/upgrade on 3/24. The message indicated the boot process may fail. Attempted to re-install grub on two different devices both failed with the error noted above. Thought my only option was to re-install 21.04 so was prepared to do that but when attempting to re-boot the system every thing worked as expected. Still get the error message when doing grub-install. Will put off re-installing the system until 21.04 distribution or some error on boot.