Jump to content

Hardware/Dell

From NixOS Wiki
Revision as of 17:00, 22 January 2025 by Artturin (talk | contribs) (Add efivars full)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 `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.