Almalinux9.4
Is there a way to suppress or hide all that boot messages which are displayed on the screen during the boot. At least the messages that are also written into /var/log/boot.
I tried “rhgb” and “quiet” in the GRUB_CMDLINE, but without success. These parameters worked in our old CentOS7 installations but not with Almalinux.
Any tip is welcome.
$ sudo grubby --update-kernel=ALL --args=quiet
will only show failures
I prefer to see all the messages go by on boot. I’m guessing the standard DVD install sets it to quiet. Is there another command that tells it to show everything? =NotQuiet? eg. I could not find a list of ‘args’ for gruggy.
Did you use --update-bls-cmdline
with grub2-mkconfig
? See 9.3 Release Notes | Red Hat Product Documentation
The grub.cfg
of el9 is in /boot/grub2/
regardless of whether you boot with UEFI or legacy.
The BLS boot entries are in /boot/loader/entries/
. Each entry has kernel options in it.
Without the (new) flag the grub2-mkconfig does not touch the entries.
Most kernel options are also stored in /etc/kernel/cmdline
. Those are used to create BLS entry when new kernel package is installed.
jlehtone gave the hint. Thanks to that.
I learned, that I must read the Rhel9 release notes.
Thanks to all.
grubby does all of that, in EL9 you shouldn’t need to mess with grub2-mkconfig just to set kernel params.
@cosmic11do2 you can remove arguments like quiet like so:
$ sudo grubby --update-kernel=ALL --remove-args=quiet
Some users are used to look at content of /etc/default/grub
and expect it to match what is in use. Luckily, the grubby does handle that too with the --update-kernel=ALL
:
–update-kernel=kernel-path
The entries for kernels matching kernel-path are updated. Currently the only items that can be updated is the kernel argument list, which is modified via the--args
and--remove-args
options. If theALL
argument is used the variableGRUB_CMDLINE_LINUX
in /etc/default/grub is updated with the latest kernel argument list, unless the--no-etc-grub-update
option is used or the file does not exist (e.g., on s390x).
Many thanks to all. I learned a bunch and all your pointers are a big help. Much Grass!