So, I wonder if there is any other/new fix. I wonder if I restore the factory keys, will Ubuntu actually restart? I don’t really understand the secure boot details. I’m just full of wonder
If Ubuntu was installed and is running with Secure Boot disabled there can be no problem after doing what was suggested and the firmware update should be successful.
If Ubuntu was installed with Secure Boot then there’s a chance you’ll need to reinstall GRUB but that can be easily done with Boot Repair. Boot a 26.04 live session, install (in the live session) the software according to the PPA’s instructions and then, also in Terminal, run `boot-repair`.
Resetting to factory defaults is the “one size fits all” fix. NVRAM where EFI variables are stored is full. To fix it differently you would need to find out what consumes the space. Show
df -h /sys/firmware/efi/efivars
ls -hs /sys/firmware/efi/efivars
Sometimes the issue isn’t even caused by the actual efivars taking too much space, but by firmware not freeing the unused blocks in the NVRAM.
To check whether it’s the case, you may want to compare the output of
df -h /sys/firmware/efi/efivars
with that of
ls -l /sys/firmware/efi/efivars/ | awk '{ sum += $5 } END { print sum }'
Unfortunately I believe there is no consistent way to trigger freeing of the unused space across different devices. Resetting UEFI settings to defaults or enabling/disabling Secure Boot worked on some of mine, but your mileage may vary.
I am left with a looming question, whether restoring the factory Secure Boot keys will affect Ubuntu’s ability to boot. The answer seems to depend on whether Secure Boot is enabled and how Ubuntu was installed. Is there a way to measure that, as I don’t remember what happened on the state on install…probably 24.04. It was definitely in place when I upgraded to 26.04 recently.
That would be great. Should have put it in the changelog.
I asked google ai to weigh in. The bot insists there’s no problem with resetting the keys to default. It didn’t mention the state during install.
“Since there are no dump* or fwupd* files present, the space is entirely
filled by hidden, fragmented NVRAM variables or a bloated signature
database that the motherboard firmware refuses to clean up dynamically.
Because you cannot clear this from within Ubuntu, the only path forward
is to force the Dell motherboard to format and compact its own internal
storage pool.
How to Force the NVRAM Cleanup via Dell BIOS Reboot your
laptop and tap F2 repeatedly at the Dell logo to enter the BIOS menu.
Go to Security or Boot Configuration and find the Secure Boot settings.
Select Reset Secure Boot Keys to Factory Defaults (or Clear Secure Boot
Keys) and confirm. Locate the main Secure Boot Enable toggle and change
it to Disabled. Press F10 to save, exit, and boot back into Ubuntu. Run
the Update Once you are logged back into Ubuntu, the NVRAM pool will be
clean, providing plenty of room. Open your terminal and run:
Once the update successfully completes, reboot your laptop, enter the
F2 BIOS menu once more, and switch Secure Boot Enable back to Enabled
to restore full system protection.”