This repository contains the source code for:
- efivar - A Rust crate to read and write EFI variables
- efivarcli - A command-line tool to manage the UEFI boot manager
The efivarcli tool supports both Windows and Linux:
- Windows: administrative rights are required to both read and write variables.
- Linux: the efivar filesystem should be mounted at /sys/firmware/efi/efivars on all major distros. With the default settings, standard users should be able to read variables, while writing to variables requires being root.
This project is still under heavy development. Its public interface should not be considered stable, and should not in any way be used in a production environment.
Altering your firmware's EFI variables is a potentially dangerous action, as it may prevent your computer from booting if some vendor-specific variables are deleted, or if your firmware does not implement the UEFI specification correctly. You are solely responsible for determining whether this tool is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and the maintainers of this project will not be liable for any damages you may suffer in connection with using, modifying, or distributing this tool.
iTrooz
Vincent Tavernier [email protected]