No message on console after reboot

KVM virtual machine is not displaying text output on server reboot. On startup, it does display messages on screen.

How do I configure the server to display on reboot and shutdown?

VM shutdown tends to be quick, so not much time to see anything.

Do you have kernel command-line options “quiet” and/or “rhgb”? They might affect shutdown too.

What is the default systemd target of the system (multi-user.target or graphical.target)?

Target is multi-user.target and kernel boot options are as below:

$ cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-4.18.0-477.21.1.el8_8.x86_64 root=/dev/mapper/almalinux-root ro crashkernel=auto resume=/dev/mapper/almalinux-swap rd.lvm.lv=almalinux/root rd.lvm.lv=almalinux/swap rhgb quiet

Check whether removal of rhgb quiet makes a difference.

1 Like

Removal of rhgb quiet does work. Steps below to make it persist.

Remove rhgb quiet from the default grub file:

sudo sed -i 's/rhgb quiet//g' /etc/default/grub 

Regenerate the grub.cfg file

sudo grub2-mkconfig -o /boot/efi/EFI/almalinux/grub.cfg
Generating grub configuration file ...
Adding boot menu entry for EFI firmware configuration
done