while i was installing ubuntu 20.04 at last step it seems like grub installation failed caused a fatal error forcing me to restart whole process.

Bug #1989585 reported by om prakash
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
High
Unassigned

Bug Description

my laptop is hp pavillion
with i5 10t gen cpu
i currently have windows 11 as basic os.
I need ubuntu for work purpose i attempted dual boot with ubuntu 20.04.
at final step of installing ubuntu
installation of grub seems to be failed

any help?

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.15.19
ProcVersionSignature: Ubuntu 5.15.0-46.49~20.04.1-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445.3
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 14 18:50:46 2022
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 20.04.5 LTS "Focal Fossa" - Release amd64 (20220831)
ProcEnviron:
 LANGUAGE=en_IN
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IN
 LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
om prakash (kopc238) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

I am not sure exactly what the problem is, but seems to give more insight on the grub-install failure:

Sep 14 13:14:44 ubuntu grub-installer: info: Installing grub on '/dev/nvme0n1'
Sep 14 13:14:44 ubuntu grub-installer: info: grub-install does not support --no-floppy
Sep 14 13:14:44 ubuntu grub-installer: info: Running chroot /target grub-install --force "/dev/nvme0n1"
Sep 14 13:14:44 ubuntu grub-installer: Installing for x86_64-efi platform.
Sep 14 13:14:45 ubuntu kernel: [ 725.563659] FAT-fs (nvme0n1p1): error, fat_free_clusters: deleting FAT entry beyond EOF
Sep 14 13:14:45 ubuntu kernel: [ 725.563671] FAT-fs (nvme0n1p1): Filesystem has been set read-only
Sep 14 13:14:45 ubuntu grub-installer: grub-install: error: cannot open `/boot/efi/EFI/ubuntu/BOOTX64.CSV': Read-only file system.
Sep 14 13:14:45 ubuntu grub-installer: error: Running 'grub-install --force "/dev/nvme0n1"' failed.

This might have something to do with the current Windows installation?

Changed in grub-installer (Ubuntu):
importance: Undecided → High
tags: added: foundations-triage-discuss
Revision history for this message
Nick Rosbrook (enr0n) wrote :

In the mean time, can you try installing the latest LTS instead, i.e. 22.04.1?

tags: removed: 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.

Other bug subscribers

Remote bug watches

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