grub2-editenv (1) - Linux Manuals

grub2-editenv: Manage the GRUB environment block.

NAME

grub-editenv --- Manage the GRUB environment block.

SYNOPSIS

grub-editenv [-v | --verbose] [FILE]
<create | list | set NAME=VALUE | unset NAME>

DESCRIPTION

grub-editenv is a command line tool to manage GRUB's stored environment.

OPTIONS

--verbose
Print verbose messages.

FILE
File name to use for grub environment. Default is /boot/grub/grubenv .

COMMANDS

create
Create a blank environment block file.

list
List the current variables.

set [NAME=VALUE ...]
Set variables.

unset [NAME ...]
Delete variables.

SEE ALSO

info grub