[Bug 1921143] Re: efivarfs_set_variable: writing to fd 7 failed: Invalid argument.

Steve Langasek 1921143 at bugs.launchpad.net
Mon Jun 7 20:19:05 UTC 2021


** Package changed: grub2-unsigned (Ubuntu) => grub2 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1921143

Title:
  efivarfs_set_variable: writing to fd 7 failed: Invalid argument.

Status in grub2 package in Ubuntu:
  New

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_set_variable: writing to fd 7 failed: Invalid argument.
  grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
  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
  ProcVersionSignature: Ubuntu 5.11.0-11.12-generic 5.11.0
  Uname: Linux 5.11.0-11-generic x86_64
  ApportVersion: 2.20.11-0ubuntu60
  Architecture: amd64
  CasperMD5CheckResult: unknown
  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-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2-unsigned
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1921143/+subscriptions



More information about the foundations-bugs mailing list