error: cannot copy `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' to `/boot/efi/EFI/ubuntu/grubx64.efi': No space left on device.

Bug #1906105 reported by Ralph Taylor on 2020-11-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

Bug Description

Fresh install of 20.10, choosing to reformat the old / partition which had 20.04 on it

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: pass
CasperVersion: 1.455
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 28 12:18:21 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_GB.UTF-8
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 LC_NUMERIC=C.UTF-8
RebootRequiredPkgs:
 linux-image-5.8.0-29-generic
 linux-base
 linux-image-5.8.0-25-generic
 linux-base
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Ralph Taylor (djnrrd) wrote :
Ralph Taylor (djnrrd) wrote :

Further to this. A reboot of the system first took me to rescue mode. I exited from this and the system has booted to 20.10

Although I selected to install updates during the os installer they appeared after this first boot. I now have a message about continuing to install without grub. It looks like I'm having problems with the efi partition

Ralph Taylor (djnrrd) wrote :

After a lot of googling, I resolved this by creating an efi partition during the setup

Sebastien Bacher (seb128) wrote :

Thank you for the bug report, according to the log the error was

'error: cannot copy `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' to `/boot/efi/EFI/ubuntu/grubx64.efi': No space left on device.'

Could you give some details on your partition setup. Did you have no efi partition or was it too small?

affects: ubiquity (Ubuntu) → grub (Ubuntu)
summary: - Installer crashed setting up GRUB
+ error: cannot copy `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed'
+ to `/boot/efi/EFI/ubuntu/grubx64.efi': No space left on device.
Steve Langasek (vorlon) on 2020-11-30
affects: grub (Ubuntu) → grub2 (Ubuntu)
Ralph Taylor (djnrrd) wrote :

I didn't have an efi partition setup. I've got a legacy BIOS (9 years old), and my previous partition layout with a fresh install of 20.04 was just /, /home and swap, where originally I just went to reformat /

I went through the installer again and created a 200Mb efi partition and all was fine.

Is there not a way to detect legacy BIOSes?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers