Serial console
From DWIKI
Enabling serial console
In /etc/default/grub set:
GRUB_CMDLINE_LINUX="console=ttyS0,115200"
and then
On Debioids
update-grub
On CentOS
grub2-mkconfig -o /boot/grub2/grub.cfg
In /etc/default/grub set:
GRUB_CMDLINE_LINUX="console=ttyS0,115200"
and then
update-grub
grub2-mkconfig -o /boot/grub2/grub.cfg