-
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux efivar Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to efivar on Linux, covering Arch Linux, CachyOS, and other distributions including EFI variable management, UEFI variable access, and firmware variable control.
Arch/CachyOS:
# Install efivar
sudo pacman -S efivarDebian/Ubuntu:
sudo apt install efivarFedora:
sudo dnf install efivarBasic usage:
# List EFI variables
efivar -l
# Shows all EFI variablesRead value:
# Read variable
efivar -n 8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
# -n = name (variable name)Get info:
# Variable information
efivar -p -n VariableName
# -p = print (shows variable)Variable format:
# Variables use GUID format
# Format: GUID-VariableName
efivar -n GUID-VariableNameWrite variable:
# Write variable (advanced, use with caution)
sudo efivar -w -n GUID-VariableName -t type -a attributes -d data
# -w = write
# -t = type
# -a = attributes
# -d = dataCheck installation:
# Check efivar
which efivar
# Install if missing
sudo pacman -S efivarThis guide covered efivar usage, EFI variable management, and UEFI variable access for Arch Linux, CachyOS, and other distributions.
- UEFI and Secure Boot - UEFI guide
- efibootmgr Guide - Boot entry management
-
efivar Documentation:
man efivar
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.