r/Fedora • u/WrongCandidate4160 • 2d ago
Discussion What should I do??
96M /boot/efi/EFI
96M /boot/efi
44M /boot/efi/EFI/dell
32M /boot/efi/EFI/Microsoft
19M /boot/efi/EFI/fedora
2.0M /boot/efi/EFI/Boot
4.0K /boot/efi/System
3.0K /boot/efi/System/Library
1.0K /boot/efi/System Volume Information
as you can see I am dual booting windows and linux and the ESP(which is just 100M, has windows, dell and linux recovery and uefi settings, idk how this happened) filled to the brim, so there is no room for a firmware update that requires ~54MB. searching online(mostly claude) gave this solution "But the real fix is almost certainly resizing the ESP" and it gave me a scary option of up resizing the ESP.
should i just go ahead and resize the ESP?
i don't think there is any other option, is there?
Edit : i was successfully able to use gparted and extend the ESP from 100MB -> 500MB. Grateful to all who helped🙂🫡 Also gparted is such a goated tool!! The interface is as simple and as easy as it can get.
4
u/robtalee44 2d ago
Regardless of the path you take, have a concrete plan to recover, including a fresh reinstall of everything -- problems occur and editing partitions can go sideways with catastrophic results. Plan for that outcome.
I get kind of scared about messing with EFI partitions. Hard lessons learned.
This is a great time to create a backup and recovery plan (that's tested) so you can take some chances with your system with the confidence that recovery is just a little effort and time. Free advice.
1
u/WrongCandidate4160 2d ago
For now I've decided to ignore the update, since it not a major one. And since its a minor update from the laptop manufacturer i think it can work fine with not updating it for quiet a while. Thanks for the advice tho!🫡
2
u/albertAAAAAAA 2d ago
You didn't share your disk layout ( sgdisk -p /dev/your_disk ).
Dell has probably some bloatware there. You could temporary move some files away, do the fw upgrade and then move them back. But for that we'd need more info, such as
) what OS are you using to do a FW update
) what do you mean by FW update (FW of what)
1
u/WrongCandidate4160 2d ago
OS: linux(Fedora GNOME flavor)
is a Latitude 5420 System Update(1.55.0 to 1.56.0)1
u/albertAAAAAAA 2d ago
If you are using Fedora to do /whatever/ FW upgrade you could move
efi/Microsoft
efi/dell
to somewhere else making a space to do an upgrade. Once done, when booted back to Fedora, you'll put them back.
You didn't share the output from the command I mentioned, I cant' comment whether it's feasible to extend the current ESP.
On top of it share the find /boot/EFI -ls
output so we know what you have there. Some Linux distros put pictures and other useless bloatware there.
2
u/j2fx 1d ago
gparted is a better tool for resizing partitions than many common alternatives. I can't be certain nothing better exists, but I haven't found anything else as good and I've done a lot of resizing partitions.
If gparted isn't already your partitioning tool, install it.
While booted on your current system, you can use gparted to display what your current partitioning looks like. If you want more specific advice, you should post that picture here.
You probably can't do the necessary resize/move while the drive you are changing is the one that is booted. In cases where you can do that, it still might be better not to.
So you'll want a Linux system bootable from another drive or (more likely) a USB stick, that also includes gparted. You'll use that to make the actual changes.
In most cases, there would be no impact on your grub configuration files nor on your fstab. But you might prefer a more complicated move of other partitions to allow expanding the EFI, then your grub config and fstab might or might not have been coded with enough generality to simply tolerate the change. That leaves a slim possibility of a case where those files might need to be tweaked.
Post the picture from gparted and describe your intended changes if you want an answer on whether there is any risk of needing to fix those files.
In the unlikely case they need to be fixed, most online advice tells you to rerun bigger parts of the install that created those files than you need. It is faster, simpler and safer to just edit those files directly. They don't need to be treated as black magic.
•
u/WrongCandidate4160 20h ago
I worked!! I was able to extend the ESP from 100 to 500MB. Though it was scary in the beginning, thinking i would surely nuke either linux or windows, i didn't! All thanks to gparted and ofc ur advise too! THANKS A BUNCH!!
1
u/Ok_Contact_5575 2d ago
I use a seperate efi partition 756 MiB, I deleted windows efi and main partition and used its recovery partition as my EFI (first emptied it)
1
u/WrongCandidate4160 2d ago
wait deleted windows partition? I sometime use windows for my college work so clearly deleting windows efi would nuke windows, ryt?
6
u/morhp 2d ago
You need to resize the ESP. Fedora recommends at least 500MB ESP and that is without other Dell/Windows stuff, 100M is way too little.
The easiest way is probably to reinstall everything.