Can't install from USB, at the end can't copy to /boot/something and update-grub fails with "no space left on device", but there is space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to install Ubuntu 21.04 beta.
I already have installed Ubuntu 20.04.
I'm installing on a disk that is booted in BIOS mode normally, reusing the /home partition (i.e. side-by-side with the existing Ubuntu 20.04).
The disk is BIOS mode. I tried booting from the install USB in both UEFI and Legacy mode, the install fails in the same way at the very end. The message with "no space left on device" is misleading, there is space. Probably the installer is trying to write to the USB itself, which is probably read-only thus the error. Very annoying: GRUB also did update the MBR, thus I can't even boot the previous partition. Not only did the install fail, it also broke my system! Critical.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubiquity 21.04.13
ProcVersionSign
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu61
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.461
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 14 11:35:19 2021
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210331.1)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
LC_NUMERIC=C.UTF-8
RebootRequiredPkgs:
linux-
linux-base
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
I would appreciate some help with how to revert to a bootable system after this failed install. It left my system unbootable, even though I still have a perfectly fine install of Ubuntu 20.04 in sda3, I can't boot it anymore. Grub is borked. Not a great user experience BTW.