wiki / boot / efivarfs Edit this page
Edited (7bbdc4e) at 2023-06-14 by Dylan Araps
EFIVARFS [0]
________________________________________________________________________________
To use efibootmgr and other software to manipulate the UEFI boot entries, the
efivars filesystem must be mounted. This isn't handled automatically by KISS due
to the security implications in doing so. [1]
+------------------------------------------------------------------------------+
| Mount efivars. |
+------------------------------------------------------------------------------+
| |
| $ mount -t efivarfs none /sys/firmware/efi/efivars/ |
| |
+------------------------------------------------------------------------------+
| Unmount efivars. |
+------------------------------------------------------------------------------+
| |
| $ umount /sys/firmware/efi/efivars/ |
| |
+------------------------------------------------------------------------------+
References
________________________________________________________________________________
[0] https://www.kernel.org/doc/Documentation/filesystems/efivarfs.txt
[1] https://github.com/systemd/systemd/issues/2402
________________________________________________________________________________
Dylan Araps (C) 2019-2021
The registered trademark Linux(R) is used pursuant to a sublicense from the
Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark
on a worldwide basis.