executing grub install /dev/sda failed.

Bug #1901148 reported by Harry Rocas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 20.10

Grub installer failed to install on /dev/sda

tried installing grub manually via "Try Ubuntu" terminal.

unallocated all drives. I have 120gb SSD and 250 HDD.

EFI partitioned
Bios partitioned
Swap partitioned
UEFI Mode installation

I think it's an error for both Ubiquity and Grub

The device is Lenovo Ideapad 320 14IAP. Previously installed OS are Windows 10, Ubuntu 20.04.

I tried boot-repair no luck. details are as follows:

{
boot-repair-4ppa125 [20201023_0638]
============================== Boot Info Summary ===============================
 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdc.
sdc1: ________________________________________________________________________
    File system: vfat
    Boot sector type: SYSLINUX 6.03
    Boot sector info: Syslinux looks at sector 32784 of /dev/sdc1 for its
                       second stage. The integrity check of Syslinux failed.
                       No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /boot/grub/grub.cfg /syslinux.cfg
                       /efi/BOOT/grubx64.efi /ldlinux.sys
================================ 0 OS detected =================================
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,2001,2003,2002
Boot0000* Linpus lite HD(1,MBR,0x428c8a7,0x800,0x1e35800)/File(\EFI\Boot\grubx64.efi)RC
Boot0007* EFI Network 0 for IPv4 (54-E1-AD-6F-12-36) PciRoot(0x0)/Pci(0x14,0x0)/Pci(0x0,0x0)/MAC(54e1ad6f1236,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0008* EFI Network 0 for IPv6 (54-E1-AD-6F-12-36) PciRoot(0x0)/Pci(0x14,0x0)/Pci(0x0,0x0)/MAC(54e1ad6f1236,0)/IPv6([::]:<->[::]:,0,0)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC

============================= Drive/Partition Info =============================
Disks info: __________________________________________________________________
Partitions info (1/3): _______________________________________________________
Partitions info (2/3): _______________________________________________________
Partitions info (3/3): _______________________________________________________
fdisk -l (filtered): _________________________________________________________
Disk sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: B79E9BD6-815D-4C1C-A6AD-8F3FB1AC130C
Disk sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 62764C30-4F79-400D-9AB4-09BD0F3BDEA7
Disk sdc: 15.1 GiB, 16219373568 bytes, 31678464 sectors
Disk identifier: 0x0428c8a7
      Boot Start End Sectors Size Id Type
sdc1 * 2048 31678463 31676416 15.1G c W95 FAT32 (LBA)
Disk zram0: 973.3 MiB, 1020526592 bytes, 249152 sectors
Disk zram1: 973.3 MiB, 1020526592 bytes, 249152 sectors
Disk zram2: 973.3 MiB, 1020526592 bytes, 249152 sectors
Disk zram3: 973.3 MiB, 1020526592 bytes, 249152 sectors
parted -lm (filtered): _______________________________________________________

sda:120GB:scsi:512:512:gpt:ATA ADATA SU650:;
sdb:250GB:scsi:512:512:gpt:ATA Hitachi HTS54322:;
sdc:16.2GB:scsi:512:512:msdos:SRT USB:;
1:1049kB:16.2GB:16.2GB:fat32::boot, lba;
zram3:1021MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1021MB:1021MB:linux-swap(v1)::;
zram1:1021MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1021MB:1021MB:linux-swap(v1)::;
zram2:1021MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1021MB:1021MB:linux-swap(v1)::;
zram0:1021MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1021MB:1021MB:linux-swap(v1)::;

blkid (filtered): ____________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
sdb
sdc
└─sdc1 vfat E25F-A2F7 0428c8a7-01 BOOT-REPAIR
zram0
zram1
zram2
zram3
df (filtered): _______________________________________________________________
       Avail Use% Mounted on
sdc1 14.2G 6% /cdrom
Mount options: ________________________________________________________________
sdc1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

====================== sdc1/boot/grub/grub.cfg (filtered) ======================
Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)
========================= sdc1/syslinux.cfg (filtered) =========================
DEFAULT loadconfig
LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
==================== sdc1: Location of files loaded by Grub ====================
           GiB - GB File Fragment(s)
            ?? = ?? boot/grub/grub.cfg 1
================== sdc1: Location of files loaded by Syslinux ==================
           GiB - GB File Fragment(s)
            ?? = ?? syslinux.cfg 1
            ?? = ?? ldlinux.sys 1
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[47243]) leaked on lvs invocation. Parent PID 10037: /bin/bash
Suggested repair: ____________________________________________________________
The default repair of the Boot-Repair utility would not act on the boot
}

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: ubiquity 20.10.13
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CasperVersion: 1.455
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 23 15:55:52 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
ProcEnviron:
 LANGUAGE=en_PH.UTF-8
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_PH.UTF-8
 LC_NUMERIC=C.UTF-8
RebootRequiredPkgs:
 linux-image-5.8.0-25-generic
 linux-base
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Harry Rocas (hrocas-6317) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Oct 23 07:55:31 ubuntu grub-installer: Installing for x86_64-efi platform.
Oct 23 07:55:31 ubuntu grub-installer: grub-install: warning: Cannot read EFI Boot* variables.
Oct 23 07:55:31 ubuntu grub-installer: grub-install: warning: efivarfs_get_variable: read failed: Interrupted system call.
Oct 23 07:55:31 ubuntu grub-installer: grub-install: warning: efi_get_variable: ops->get_variable failed: Interrupted system call.
Oct 23 07:55:31 ubuntu grub-installer: grub-install: error: failed to register the EFI boot entry: Interrupted system call.
Oct 23 07:55:31 ubuntu grub-installer: error: Running 'grub-install --force --target x86_64-efi "/dev/sda"' failed.

summary: - executing grub install /dev/sda faile. Fatal Error - Ubiquity
+ executing grub install /dev/sda failed. Fatal Error - Ubiquity
summary: - executing grub install /dev/sda failed. Fatal Error - Ubiquity
+ executing grub install /dev/sda failed.
description: updated
description: updated
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.

Other bug subscribers

Remote bug watches

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