Sample Header Ad - 728x90

How to setup serial console on CentOS8/RedHat8?

0 votes
1 answer
1748 views
I rely on serial console on CentOS 8 to debug. I ever set it up on CentOS 7 by editing file /etc/default/grub as below,
GRUB_CMDLINE_LINUX="crashkernel=auto console=tty0 console=ttyS0,115200n8 intel_iommu=on modprobe.blacklist=nouveau,amdgpu"
	GRUB_DISABLE_RECOVERY="true"
	GRUB_TERMINAL="console serial"
	GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
and execute "grub2-mkconfig -o /boot/grub2/grub.cfg" then reboot. It worked like a charm But this time it doesn't work on CentOS 8. Could anyone shed light on it?
Asked by codexplorer (343 rep)
Sep 7, 2021, 07:57 AM
Last activity: Jul 7, 2025, 04:09 AM