Serial Console

Karel Falber
2017-03-03 15:58

If you have created Cloud server before 1st of september and want to use serial console, you have to make some change in your grub.

Ubuntu/Debian

Modify 2 lines in /etc/default/grub in your favorite textedit (mcedit/vim/nano/vi etc.)

GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0"
GRUB_TERMINAL="console serial"

After saving this file update grub

update-grub

And reboot your server. Now you can use serial console from Snackhost Dashboard.

Centos

Modify 2 lines in /etc/default/grub in your favorite textedit (mcedit/vim/nano/vi etc.)

GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet console=tty1 console=ttyS0"

After saving this file update grub

grub2-mkconfig -o /boot/grub2/grub.cfg

And reboot your server. Now you can use serial console from Snackhost Dashboard.

Average rating: 0 (0 Votes)

You cannot comment on this entry