EFI(1) User Commands EFI(1)

EFI - bg_setenv

bg_setenv [OPTION...]

bg_setenv - Environment tool for the EFI Boot Guard

Set kernel arguments
search on all devices instead of root device only
Confirm working environment
Environment to use. Expects a file name, usually called BGENV.DAT.
Set in_progress variable to simulate a running update process.
Set kernel to load
Set environment partition to use. If no partition is specified, the one with the smallest revision value above zero is selected.
Preserve existing entries
Set revision value
Set update status for environment
Automatically update oldest revision
Be verbose
Watchdog timeout in seconds
Set user-defined string variable. For setting multiple variables, use this option multiple times.
-?, --help
Give this help list
Give a short usage message
Print version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

January 2024 EFI Boot Guard v0.16