Jump to content

Hardware/Dell: Difference between revisions

From NixOS Wiki
Artturin (talk | contribs)
Add efivars full
 
Artturin (talk | contribs)
m Fix <code>
 
Line 2: Line 2:
Encountered this issue on A Dell server
Encountered this issue on A Dell server


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


Googling `DbocBoot` 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 `strings` on the `DbocBoot` entries show that they contain strings like `Windows Boot Manager` and `Ubuntu` 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


`bcfg boot dump -v` in EFI shell does not show these variables, only `Boot*` 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 `DbocBoot` entries ======
====== The fix is to remove the <code>DbocBoot</code> entries ======
Normally the files are protected therefore it is necessary to remove the protection
Normally the files are protected therefore it is necessary to remove the protection


`chattr -i /sys/firmware/efi/efivars/DbocBoot*`
<code>chattr -i /sys/firmware/efi/efivars/DbocBoot*</code>


Then they can be removed
Then they can be removed


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


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


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

Latest revision as of 17:08, 22 January 2025

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*

During the next boot there may be a warning

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