EFIVAR(1)

πŸ“¦
version 39 Β· 2 versions
  • 39 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 37 Β· debian bookworm, ubuntu jammy
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– EFIVAR(1) πŸ’–

okay bestie, welcome to efivar β€” the whole entire tool for messing with UEFI variables. yes, those ones. the boot ones. the ones that live in your firmware and can absolutely wreck your day if you're not paying attention. she's a User Command, she's iconic, and she's about to be your new hyperfixation. πŸ¦‹


✨ SYNOPSIS ✨

efivar [OPTION...]

that's it. that's the whole vibe. you just throw options at her and she goes. πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea β€” efivar does the whole UEFI variable thing: listing them, printing them, reading them in, writing them out, exporting, importing, the works. every single flag is listed below, no skips, no cuts, because we don't gatekeep in this house. 🫢

  • -A, --attributes=<attributes> β€” sets the attributes to use when you're appending. <attributes> goes here, bestie.
  • -l, --list β€” lists all the current variables. your firmware's whole closet, opened up. πŸ‘‘
  • -p, --print β€” prints the variable you pointed at with --name.
  • -D, --dmpstore β€” uses the DMPSTORE format when exporting. different format, different slay.
  • -d, --print-decimal β€” prints the variable in decimal format, for the values you specified with --name.
  • -n, --name=<guid-name> β€” the variable you want to manipulate, and it has to be in exactly this form:
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
  • -a, --append β€” appends to the variable specified by --name. adding on, not replacing. periodt.
  • -f, --datafile=<file> β€” loads or saves the variable's contents from/into <file>. your file, your rules. πŸ’–
  • -e, --export=<file> β€” exports the variable out to <file>.
  • -i, --import=<file> β€” imports the variable in from <file>.
  • -L, --list-guids β€” shows the internal guid list. the secret menu. iykyk. πŸ™ˆ
  • -w, --write β€” writes to the variable specified by --name. the big one. the main character energy option. ✨
real talk though β€” this is your firmware we're talking about. writing the wrong thing to the wrong variable is a genuinely bad time. no cap. be careful out there. πŸ’€

πŸŽ€ Help options πŸŽ€

because sometimes you just need a little hand-holding, and that's valid.

  • -?, --help β€” shows this help message. right there when you need her. 🌸
  • --usage β€” displays the brief usage message. the short version. the tl;dr. 🧚

and that's the whole page, bestie!! go forth and manipulate those variables responsibly. πŸ’œ

this was efivar 37, dated September 2019 β€” mwah, love her, stan her, see you in the group chat. πŸŽ€βœ¨πŸ’