grubby

The RHEL command that reads and changes the kernel arguments and default entry of the boot loader's entries.

In more detail

--update-kernel=ALL or DEFAULT chooses the entries, --args adds and --remove-args removes arguments, and --info=DEFAULT shows the default entry. It changes the entries directly, so no menu rebuild is needed, and the arguments survive kernel updates.

Example

grubby --update-kernel=ALL --args=audit=1

Related terms

Taught in

References

Certification courses