grub-install failed during reinstall
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
ProcVersionSign
Uname: Linux 5.11.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.461
Date: Mon Sep 6 15:21:02 2021
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
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" /bugs.launchpad .net/ubuntu/ +source/ grub-installer/ +bug/1942803/ +attachment/ 5523321/ +files/ disks.png /bugs.launchpad .net/bugs/ 1942803 ature: Ubuntu 5.11.0- 16.17-generic 5.11.12 dules: zfs zunicode zavl icp zcommon znvpair esult: pass /casper/ vmlinuz preseed/ ubuntu. seed maybe-ubiquity reboot=pci pcie_aspm=off corruption_ check=0 nowatchdog nomodeset nohalt acpi=off default_ ps_max_ latency_ us=0 --- /bugs.launchpad .net/ubuntu/ +source/ grub-installer/ +bug/1942803/ +subscriptions
>
> https:/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> 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
> ProcVersionSign
> Uname: Linux 5.11.0-16-generic x86_64
> NonfreeKernelMo
> ApportVersion: 2.20.11-0ubuntu65.1
> Architecture: amd64
> CasperMD5CheckR
> CasperVersion: 1.461
> Date: Mon Sep 6 15:21:02 2021
> InstallCmdLine: BOOT_IMAGE=
> file=/cdrom/
> memory_
> nvme_core.
> 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:/
>
>