error message executing grub-install /dev/sda failed

Bug #1991633 reported by rashid shisia
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

tam trying to install ubuntu using usb but am getting the above errror

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity 22.04.17
ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39
Uname: Linux 5.15.0-43-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.470
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 4 10:43:41 2022
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.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)

Revision history for this message
rashid shisia (rashidiouz) wrote :
Revision history for this message
Dan Bungert (dbungert) wrote :

Oct 4 07:30:40 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /sys/firmware/efi/efivars /target/sys/firmware/efi/efivars
Oct 4 07:30:40 ubuntu grub-installer: info: architecture: amd64/efi
Oct 4 07:30:40 ubuntu ubiquity: File descriptor 3 (pipe:[63355]) leaked on lvdisplay invocation. Parent PID 29905: /bin/sh
Oct 4 07:30:40 ubuntu ubiquity: Volume group "sda" not found
Oct 4 07:30:40 ubuntu ubiquity: Cannot process volume group sda
Oct 4 07:30:40 ubuntu grub-installer: info: Identified partition label for /dev/sda1: gpt
Oct 4 07:30:41 ubuntu grub-installer: info: Installing grub on '/dev/sda'
Oct 4 07:30:41 ubuntu grub-installer: info: grub-install does not support --no-floppy
Oct 4 07:30:41 ubuntu grub-installer: info: Running chroot /target grub-install --force --target x86_64-efi "/dev/sda"
Oct 4 07:30:41 ubuntu grub-installer: Installing for x86_64-efi platform.
Oct 4 07:30:57 ubuntu grub-installer: grub-install: warning: Cannot set EFI variable Boot0005.
Oct 4 07:30:57 ubuntu grub-installer: grub-install: warning: efivarfs_set_variable: writing to fd 8 failed: Invalid argument.
Oct 4 07:30:57 ubuntu grub-installer: grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
Oct 4 07:30:57 ubuntu grub-installer: grub-install: error: failed to register the EFI boot entry: Invalid argument.
Oct 4 07:30:57 ubuntu grub-installer: error: Running 'grub-install --force --target x86_64-efi "/dev/sda"' failed.

Revision history for this message
Dan Bungert (dbungert) wrote :

Likely duplicate of LP: #1874342

tags: added: foundations-triage-discuss
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub-installer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.