Failed to upgrade to 25.10 - EFI "Could not prepare Boot variable: No space left on device"

I have a Dell R720 that’s currently running 25.04.2.5, and trying to upgrade to 25.10, I get the error:

[EFAULT] Error: Command ['chroot', '/tmp/tmprm1fbdml', 'efibootmgr', '-c', '-d', '/dev/sdf', '-p', '2', '-L', 'TrueNAS-0', '-l', '/EFI/debian/grubx64.efi'] failed with exit code 5: efibootmgr: ** Warning ** : Boot000A has same label TrueNAS-0 Could not prepare Boot variable: No space left on device 

Running efibootmgr -v, I see (removed MAC addresses and UUIDs):

admin@truenas[~]$ efibootmgr -v
BootCurrent: 000B
Timeout: 2 seconds
BootOrder: 000B,000A,0006,0007,0001,0005,0000,0002,0003,0004
Boot0000* EFI Network 1 PcieRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(xxx,1)/IPv4(0.0.0.00.0.0.0,0,0)
Boot0001* EFI Fixed Disk Boot Device 1  PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/SAS(xxx,0,1,NoTopology)/HD(2,GPT,xxx,0x1800,0x100000)
Boot0002* EFI Network 2 PcieRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/MAC(xxx,1)/IPv4(0.0.0.00.0.0.0,0,0)
Boot0003* EFI Network 3 PcieRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/MAC(xxx,1)/IPv4(0.0.0.00.0.0.0,0,0)
Boot0004* EFI Network 4 PcieRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(xxx,1)/IPv4(0.0.0.00.0.0.0,0,0)
Boot0005* EFI Fixed Disk Boot Device 2  PcieRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/SAS(xxx,0,1,NoTopology)/HD(2,GPT,xxx,0x1800,0x100000)
Boot0006* EFI Network 5 PciRoot(0x2)/Pci(0x3,0x2)/Pci(0x0,0x0)/MAC(xxx,1)/IPv4(0.0.0.00.0.0.0,0,0)
Boot0007* EFI Network 6 PciRoot(0x2)/Pci(0x3,0x2)/Pci(0x0,0x1)/MAC(xxx,1)/IPv4(0.0.0.00.0.0.0,0,0)
Boot000A* TrueNAS-0     HD(2,GPT,xxx,0x1800,0x100000)/File(\EFI\debian\grubx64.efi)
Boot000B* TrueNAS-1     HD(2,GPT,xxx,0x1800,0x100000)/File(\EFI\debian\grubx64.efi)

I tried making an account and Jira ticket using the Report a Bug link at the top of this forum page, but it tells me permission denied and that I need to login, even though I’m already logged in?

Just stumbled upon your issue while searching for a solution.

I am facing the same problem also running on an R720.

I did install the 25.10 RC1 before but decided to stay on the older 25.4 release so I switched the primary boot image back to the older release.

Might be an issue with people who did install the RC1 first?

Sorry for late update for anyone watching this thread: I solved my issue here. The error description makes it hard to diagnose, but the problem ended being that the R720 NVRAM is apparently tiny, and there were too many entries for the upgrade to update it. The solution is to use the jumpers on the R720 motherboard to clear the NVRAM, after which the upgrade worked as expected.

1 Like