[Bug 1925187] Re: error: Running 'grub-install --force --target x86_64-efi "/dev/sda"' failed.

Simon Quigley 1925187 at bugs.launchpad.net
Sat Feb 22 09:07:27 UTC 2025


** Changed in: ubiquity (Ubuntu)
       Status: New => Won't Fix

-- 
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/1925187

Title:
  error: Running 'grub-install  --force --target x86_64-efi "/dev/sda"'
  failed.

Status in ubiquity package in Ubuntu:
  Won't Fix

Bug description:
  Ubiquity 21.04.19 installed via apt on a previous iso daily-build as
  an iso with 21.04.19 at the moment is not available.

  DESCRIPTION:

  - Partition table: msdos (MBR)
  - /dev/sda1 with Ubuntu already installed
  - /dev/sda2 and /dev/sda3 both Ext4

  Installation modality: Install Ubuntu 21.04 alongside...

  As 3 primary partition are already used, the installer is forced to
  use the remaining space creating an extended partition with logical
  partition inside:

  - /dev/sda5 ESP (EFI)
  - /dev/sda6 Ext4 for Ubuntu

  EFI partition should be primary, not logical and as expected a popup:
    Executing 'grub-install /dev/sda' failed 
    This is a fatal error

  Despite this the system get installed and it is bootable.
  Probably because of the recent changes on Ubiquity package.

  Anyway, the 'grub error' message can be tricky!

  
  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: ubiquity 21.04.19
  ProcVersionSignature: Ubuntu 5.11.0-14.15-generic 5.11.12
  Uname: Linux 5.11.0-14-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu65
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.461
  Date: Tue Apr 20 06:42:08 2021
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
  LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210416)
  RebootRequiredPkgs:
   linux-image-5.11.0-16-generic
   linux-base
   linux-image-5.11.0-14-generic
   linux-base
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list