grub-install failed during reinstall

Bug #1942803 reported by Malachi de AElfweald
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This machine was previously running 18.04. I decided to replace it with 21.04 (using the ISO via USB) rather than doing an in-place upgrade.

The Ubiquiti installer gets to the grub-install step then fails with:
```
Executing grub-install /dev/nvme2n1 failed
This is a fatal error
```

TBH I would have expected that it should have been something like /dev/nvme2n1p1 since that was the vfat partition it created.

I tried enabling the same kernel configuration I used to finally get 18.04 to install a couple years ago, but with the same end result.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubiquity 21.04.19
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Uname: Linux 5.11.0-16-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.461
Date: Mon Sep 6 15:21:02 2021
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity reboot=pci pcie_aspm=off memory_corruption_check=0 nowatchdog nomodeset nohalt acpi=off nvme_core.default_ps_max_latency_us=0 ---
LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Malachi de AElfweald (malachid) wrote :
Revision history for this message
Malachi de AElfweald (malachid) wrote :
Revision history for this message
Malachi de AElfweald (malachid) wrote : Re: [Bug 1942803] Re: grub-install failed during reinstall

I finally managed to get it to install (using minimal) on the 6th try. The
only thing I did differently was watch the logs and not click any buttons
if the logs showed that something was in progress.

On Mon, Sep 6, 2021, 3:40 PM Malachi de AElfweald <
<email address hidden>> wrote:

> ** Attachment added: "These are the auto-generated partitions"
>
> https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1942803/+attachment/5523321/+files/disks.png
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1942803
>
> Title:
> grub-install failed during reinstall
>
> Status in grub-installer package in Ubuntu:
> New
>
> Bug description:
> This machine was previously running 18.04. I decided to replace it
> with 21.04 (using the ISO via USB) rather than doing an in-place
> upgrade.
>
> The Ubiquiti installer gets to the grub-install step then fails with:
> ```
> Executing grub-install /dev/nvme2n1 failed
> This is a fatal error
> ```
>
> TBH I would have expected that it should have been something like
> /dev/nvme2n1p1 since that was the vfat partition it created.
>
> I tried enabling the same kernel configuration I used to finally get
> 18.04 to install a couple years ago, but with the same end result.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 21.04
> Package: ubiquity 21.04.19
> ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
> Uname: Linux 5.11.0-16-generic x86_64
> NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
> ApportVersion: 2.20.11-0ubuntu65.1
> Architecture: amd64
> CasperMD5CheckResult: pass
> CasperVersion: 1.461
> Date: Mon Sep 6 15:21:02 2021
> InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz
> file=/cdrom/preseed/ubuntu.seed maybe-ubiquity reboot=pci pcie_aspm=off
> memory_corruption_check=0 nowatchdog nomodeset nohalt acpi=off
> nvme_core.default_ps_max_latency_us=0 ---
> LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
> 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/grub-installer/+bug/1942803/+subscriptions
>
>

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.