koehr.ing/content/til/2022-03-22.smd
2024-09-16 22:02:39 +02:00

17 lines
553 B
Text

---
{
.title = "There is a file system for EFI vars now",
.date = @date("2022-03-22T00:00:00"),
.author = "koehr",
.draft = false,
.layout = "til.shtml",
.description = "",
.tags = [],
.custom = { .source = "https://www.kernel.org/doc/html/latest/filesystems/efivarfs.html" },
}
---
On kernel updates I saw a recurring "EFI variables are not supported on this system", so I investigated and learned that the new EFI variables are provided via a file system that needs to be mounted first:
```sh
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
```