[Bug 1991404] Re: Error installing grub to /dev/sda

Brian Murray 1991404 at bugs.launchpad.net
Fri Sep 30 17:32:48 UTC 2022


I think this is the important part in the log file and I think it is
something with your EFI firmware or some words like that.

Sep 30 15:11:05 ubuntu grub-installer: grub-install: warning:
Sep 30 15:11:05 ubuntu grub-installer:  
Sep 30 15:11:05 ubuntu grub-installer: Cannot set EFI variable Boot0000
Sep 30 15:11:05 ubuntu grub-installer: .
Sep 30 15:11:06 ubuntu grub-installer: grub-install: warning:
Sep 30 15:11:06 ubuntu grub-installer:  
Sep 30 15:11:06 ubuntu grub-installer: efivarfs_set_variable: writing to fd 7 failed: Input/output error.
Sep 30 15:11:06 ubuntu grub-installer: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Input/output error.
Sep 30 15:11:06 ubuntu grub-installer: grub-install: error: failed to register the EFI boot entry: Input/output error.
Sep 30 15:11:06 ubuntu grub-installer: error: Running 'grub-install  --force --target x86_64-efi "/dev/sda"' failed.

The python traceback isn't really useful here.

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

Title:
  Error installing grub to /dev/sda

Status in ubiquity package in Ubuntu:
  New

Bug description:
  When running the installer, grub fails to install to /dev/sda with the
  following error: "grub-install: error: failed to register the EFI boot
  entry: Input/output error."

  I have confirmed /dev/sda is the correct target device. A 22.04.1
  installation on the same hardware works fine. The same crash occurs
  regardless of secure boot being enabled/disabled.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: ubiquity 22.10.6
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.475
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep 30 10:11:59 2022
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
  LiveMediaBuild: Ubuntu 22.10 "Kinetic Kudu" - Beta amd64 (20220927.1)
  ProcEnviron:
   LANGUAGE=en_US.UTF-8
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   LC_NUMERIC=C.UTF-8
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list