LIVE-GRUBSAVE(1)

NAME
live-grubsave - save live boot parameters into grubenv.cfg

SYNOPSIS
live-grubsave [options] [boot-parameters...]

DESCRIPTION
live-grubsave reads the current live boot parameters and saves the relevant values into the GRUB environment file used by the live system. It is used to preserve boot-time choices such as language, keyboard layout, persistence device settings, toram, and related live boot parameters. The script parses the current kernel command line, filters out parameters that should not be persisted, and writes the remaining values into the grubenv data used by the live boot workflow. It is designed to be run on a live system and may prompt for root privileges.

OPTIONS

-h, --help
    Show the help text.

-l, --list
    Display the recognized parameter tables and exit.

-m, --mount
    Keep the GRUB device mounted even if toram was used.

-p, --print
    Print the current grubenv.cfg content.

-r, --reset
    Remove the saved boot parameters.

-s, --simulate
    Show what would be saved, but do not write anything.

-v, --version
    Show the program version.

ARGUMENTS
Any additional arguments are treated as extra boot parameters to consider for saving.

FILES

/live/config/initrd.out
    Live configuration file that marks the system as a live environment.

/live/config/remasterable
    Flag file indicating that the live system can be remastered.

/live/config/grubenv.cfg
    GRUB environment file updated by this tool.

/live/config/toram-eject
    Flag file used by the toram eject workflow.

SEE ALSO
grub-editenv(8), live-setup(1), toram-eject(1)

AUTHOR
mx-remaster maintainers