Trying to install updates today failed because not enough space on /boot/efi. Any idea how I can fix this?
installing package grub2-efi-x64-cdboot-1:2.04-21.fc32.x86_64 needs 6MB on the /boot/efi filesystem
Error Summary ------------- Disk Requirements: At least 6MB more space needed on the /boot/efi filesystem.
[nbecker@candace-linux ~]$ df df: /run/user/1001/doc: Operation not permitted Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 3978736 0 3978736 0% /dev tmpfs 3999428 355012 3644416 9% /dev/shm tmpfs 3999428 1856 3997572 1% /run /dev/mapper/fedora_localhost--live-root00 71724152 10040304 57997448 15% / tmpfs 3999428 56 3999372 1% /tmp /dev/nvme0n1p2 999320 255364 675144 28% /boot /dev/mapper/fedora_localhost--live-home00 163193668 2350512 152483632 2% /home /dev/nvme0n1p1 613184 21044 592140 4% /boot/efi tmpfs 799884 52 799832 1% /run/user/1001 tmpfs 799884 64 799820 1% /run/user/1000
On Sat, 25 Jul 2020 at 14:31, Neal Becker ndbecker2@gmail.com wrote:
Trying to install updates today failed because not enough space on /boot/efi. Any idea how I can fix this?
installing package grub2-efi-x64-cdboot-1:2.04-21.fc32.x86_64 needs 6MB on the /boot/efi filesystem
Error Summary
Disk Requirements: At least 6MB more space needed on the /boot/efi filesystem.
[nbecker@candace-linux ~]$ df df: /run/user/1001/doc: Operation not permitted Filesystem 1K-blocks Used Available Use% Mounted on
[...]
/dev/nvme0n1p1 613184 21044 592140 4%
/boot/efi
Looks like plenty of space for another kernel, so you could have a corrupt filesystem on /boot/efi or a failed drive. Try using smartctl to check the drive. If the drive looks healthy, it might be useful to boot from a live distro and run fsck.fat.
On Sat, 25 Jul 2020 13:30:24 -0400 Neal Becker ndbecker2@gmail.com wrote:
Trying to install updates today failed because not enough space on /boot/efi. Any idea how I can fix this?
installing package grub2-efi-x64-cdboot-1:2.04-21.fc32.x86_64 needs 6MB on the /boot/efi filesystem
Error Summary
Disk Requirements: At least 6MB more space needed on the /boot/efi filesystem.
What does ls -n /boot/efi/EFI/fedora show? On my system there are only 10 MB in there. You must have something else installed, another OS or two to be using all the space up, since the default, I think, is 1GB. Or are you using systemd-boot? That puts the kernels and initramfs in /boot/efi, if I remember the discussions on devel correctly, and so can use a lot of space.
Maybe run du -abc /boot/efi
Neal Becker writes:
« HTML content follows »
Trying to install updates today failed because not enough space on /boot/efi. Any idea how I can fix this?
installing package grub2-efi-x64-cdboot-1:2.04-21.fc32.x86_64 needs 6MB on the /boot/efi filesystem
Error Summary
Disk Requirements: At least 6MB more space needed on the /boot/efi filesystem.
You need to do some more investigation to figure out what's happening.
As you can see for yourself, you only have 21M used on your half-a-gig /boot/efi partition. Comparing it with mine, your size is the same. And this package is only 5mb in size, and it would replace an older version of the same size.
Whatever the reason is, it is not clear from the given info.
Perhaps the /boot/efi FAT partition got corrupted. Try fscking it.
Thanks for the suggestions. I did boot off liveusb and ran fsck on /boot/efi. It did report problems, and I answered questions with wild guesses. Seems to be OK now, and the dnf update completed OK.
On Sat, Jul 25, 2020 at 3:55 PM Joe Zeff joe@zeff.us wrote:
On 07/25/2020 12:42 PM, Sam Varshavchik wrote:
Perhaps the /boot/efi FAT partition got corrupted. Try fscking it.
Before you go that far, you might consider trying this:
df -h /boot/efi
This will tell you how much space is used and how much is free, in a human readable format. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org