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=1Related terms
- GRUB — The bootloader most Linux distributions use to pick a kernel and initramfs and start it with a command line.
- kernel parameter — A tunable setting of the running kernel, such as how much network buffer memory to allow.
- /etc/default/grub — The file of GRUB settings, such as the menu timeout and the default kernel arguments, from which the boot menu is generated.
Taught in
- Targets, Boot And Shutdown — Red Hat Certified System Administrator (EX200) Exam Prep
- Recovering Root And Changing The Boot Loader — Red Hat Certified System Administrator (EX200) Exam Prep
- SELinux Modes, And Why setenforce Is Not Enough — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: The Machine That Will Not Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 1: Eighteen Tasks, One Reboot — Red Hat Certified System Administrator (EX200) Exam Prep