[Bug 1851955] Re: installation fails in grub-install with: efivarfs_set_variable: writing to fd <N> failed: Invalid argument

Timofey Vorobyov 1851955 at bugs.launchpad.net
Mon Feb 22 18:22:27 UTC 2021


Ad suggested here

https://askubuntu.com/questions/1302806/grub-install-fails-because-of-
efibootmgr-could-not-prepare-boot-variable-inva

run manual grub install - this helped:

sudo grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-
directory=/boot/efi --no-nvram --removable

Installing for x86_64-efi platform.
Installation finished. No error reported.

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

Title:
  installation fails in grub-install with: efivarfs_set_variable:
  writing to fd <N> failed: Invalid argument

Status in efivar package in Ubuntu:
  Confirmed
Status in grub2 package in Ubuntu:
  Confirmed
Status in shim-signed package in Ubuntu:
  Incomplete

Bug description:
  Installed on an ENVY notebook, installation afiled at the end with no
  bootloader message

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: ubiquity 19.10.21
  ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
  Uname: Linux 5.3.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CasperVersion: 1.427
  Date: Sun Nov 10 08:32:41 2019
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd quiet splash --- maybe-ubiquity
  LiveMediaBuild: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list