When I try to upgrade from Fedora 28 to Fedora 30, I get the error message:
At least 7MB more space needed on the /boot/efi filesystem.
df -h outputs:
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p1 256M 45M 212M 18% /boot/efi
212M seems like it should be enough. Is more needed? The recommendations I have been able to dig up suggest a 256M boot partition, but these are for older versions.
If I do need more I’ll need to figure out how to enlarge the partition, but I wanted to check first that the partition is indeed too small.
On my system, the Fedora installer created it as 200MB, but it is currently using only 8MB. So, I have no idea why it’s saying yours needs so much more. I have upgraded starting from F25 through every release up to 30.
Hi @davidoj! Welcome to the community! Please do take a few minutes to go over the introductory posts in #start-here when you have the time. They contain lots of useful information.
On my freshly installed F30 with automatic partitioning chosen efi partition is 200M too.
/boot and /boot/efi should be two separate partitions. Your question is for about /boot/efi, but you’re referring to boot partition (and that’s traditionally /boot itself), we shouldn’t confuse them.
/boot for Fedora should be able to contain four kernels + initramfs images (one is a rescue kernel/image) and a bunch of smaller files as well. It’s about 200M currently on my machine.
I’ve encountered recommendations for /boot to be at least 768M in the past (as 512М can be too small for system upgrades) but I’m not ready to provide ant reference right now.
Automatic partitioning fro F30 on my machine allocated 1,1G for /boot partition. I think that’s pretty good for a reference (unless you’re very hard pressed for disk space).
So, F30 automatic partitioning:
- 200M for /boot/efi
- 1,1G for /boot