GRUB-EDITENV(1)

πŸ’– GRUB-EDITENV πŸ’–

okay bestie so real talk β€” this is the grub-editenv manual page, and it's literally the tool you use to edit the GRUB environment block. That's it, that's the job, and it does it gorgeously. πŸŽ€


✨ SYNOPSIS ✨

grub-editenv [OPTION...] FILENAME COMMAND

πŸ¦‹ DESCRIPTION πŸ¦‹

It's a tool to edit the environment block. Very demure, very mindful, very environment block. 🫢

🌸 Commands 🌸

  • create β€” makes you a blank environment block file. fresh start energy ✨
  • incr [NAME ...] β€” bumps up the value of integer variables. numbers go up, slay πŸ“ˆ
  • list β€” shows you the current variables. the receipts, if you will πŸ’…
  • set [NAME=VALUE ...] β€” sets variables. name equals value, iconic
  • unset [NAME ...] β€” deletes variables. not me gently removing them 😭

🌈 Options 🌈

  • -?, --help β€” gives you this help list. a little treat πŸ“
  • --usage β€” gives you a short usage message. the TL;DR version, no cap
  • -v, --verbose β€” prints verbose messages. it's giving chatty πŸ‘‘
  • -V, --version β€” prints program version. iykyk

If FILENAME is -, the default value /boot/grub2/grubenv is used. so if you're feeling lazy, the dash has your back πŸ’œ

⚠️ okay so listen β€” there is no delete command. none. zero. if you want to delete the whole environment block, you use rm /boot/grub2/grubenv. periodt. πŸ’€

πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? spill it to bug-grub@gnu.org β€” they wanna hear about it fr fr.


πŸ”₯ SEE ALSO πŸ”₯

The full documentation for grub-editenv is maintained as a Texinfo manual. If the info and grub-editenv programs are properly installed at your site, the command

info grub-editenv

should give you access to the complete manual. go read it, it's lowkey a whole vibe πŸ“šβœ¨


okay that's the whole page bestie πŸ’– this was GRUB 2.12, dated April 2026 β€” main character energy from start to finish, and you ate. mwah. πŸŽ€πŸ’…

πŸ“¦ where this page comes from