RHCSA 7.6: The boot loader
Adding and removing a kernel argument on every installed kernel, and the GRUB menu timeout.
Before you start
These tasks change the boot loader, so take a snapshot of the VM first.
Tasks 1 and 2 add an argument and take it away again, so the lab runs a
small service, le-lab-boot-note, that notes the kernel command line at
every boot for the check. The lab notes your GRUB timeout and puts it back
when you reset it. Do the tasks in order.
Tasks
- Add the kernel argument
audit_backlog_limit=8192to every installed kernel, reboot, and confirm the running kernel got it. - Remove that argument again, from every kernel and from
/etc/default/grub. - Change the GRUB menu timeout to 10 seconds.
Hints
grubby --update-kernel=ALL --args=...,grubby --info=ALL | grep ^args;cat /proc/cmdlineafter the reboot.grubby --update-kernel=ALL --remove-args=...;grep CMDLINE /etc/default/grub.GRUB_TIMEOUTin/etc/default/grub, thengrub2-mkconfig -o /boot/grub2/grub.cfg;grep -m1 'set timeout=' /boot/grub2/grub.cfg.