Set
Command
Command
set [envvar=value]
Set the environment variable envvar to value. If invoked with no arguments, print all environment variables with their values.
Set Root
Set Root
set is commonly used for setting the root partition. It has the following patterns:
set root=(...)
Example:
# using LVMID for LVM partitions
set root='lvmid/<LVMID>'