Jump to content

Hardware/Dell: Difference between revisions

From Official NixOS Wiki
Pigs (talk | contribs)
m Add category hardware
DHCP (talk | contribs)
m style fixes
 
Line 1: Line 1:
=== Efivars is full ===
=== Efivars is full ===
Encountered this issue on A Dell server
Encountered this issue on A Dell server


<code>Failed to create EFI Boot variable entry: No space left on device.</code> during bootloader install
<code>Failed to create EFI Boot variable entry: No space left on device.</code> during bootloader install.


Googling <code>DbocBoot</code> only shows one result <nowiki>https://bbs.archlinux.org/viewtopic.php?id=276175</nowiki>
Googling <code>DbocBoot</code> only shows one result: <nowiki>https://bbs.archlinux.org/viewtopic.php?id=276175</nowiki>


Running <code>strings</code> on the <code>DbocBoot</code> entries show that they contain strings like <code>Windows Boot Manager</code> and <code>Ubuntu</code> and other old efi boot entries
Running <code>strings</code> on the <code>DbocBoot</code> entries show that they contain strings like <code>Windows Boot Manager</code> and <code>Ubuntu</code> and other old efi boot entries


<code>bcfg boot dump -v</code> in EFI shell does not show these variables, only <code>Boot*</code> variables
<code>bcfg boot dump -v</code> in EFI shell does not show these variables, only <code>Boot*</code> variables.


====== The fix is to remove the <code>DbocBoot</code> entries ======
====== The fix is to remove the <code>DbocBoot</code> entries ======
Normally the files are protected therefore it is necessary to remove the protection


<code>chattr -i /sys/firmware/efi/efivars/DbocBoot*</code>
Normally the files are protected therefore it is necessary to remove the protection:
 
<syntaxhighlight lang=console>
$ chattr -i /sys/firmware/efi/efivars/DbocBoot*
</syntaxhighlight>


Then they can be removed
Then they can be removed:


<code>rm -vi /sys/firmware/efi/efivars/DbocBoot*</code>
<syntaxhighlight lang=console>
$ rm -vi /sys/firmware/efi/efivars/DbocBoot*</code>
</syntaxhighlight>


During the next boot there may be a warning
During the next boot there may be a warning:


<code>Warning: Corrupted BootOrder variable detected... Repaired</code> and the boot will continue as normal.
<code>Warning: Corrupted BootOrder variable detected... Repaired</code> and the boot will continue as normal.


[[Category:Hardware]]
[[Category:Hardware]]

Latest revision as of 14:04, 19 July 2026

Efivars is full

Encountered this issue on A Dell server

Failed to create EFI Boot variable entry: No space left on device. during bootloader install.

Googling DbocBoot only shows one result: https://bbs.archlinux.org/viewtopic.php?id=276175

Running strings on the DbocBoot entries show that they contain strings like Windows Boot Manager and Ubuntu and other old efi boot entries

bcfg boot dump -v in EFI shell does not show these variables, only Boot* variables.

The fix is to remove the DbocBoot entries

Normally the files are protected therefore it is necessary to remove the protection:

$ chattr -i /sys/firmware/efi/efivars/DbocBoot*

Then they can be removed:

$ rm -vi /sys/firmware/efi/efivars/DbocBoot*</code>

During the next boot there may be a warning:

Warning: Corrupted BootOrder variable detected... Repaired and the boot will continue as normal.