Serial console: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 3: Line 3:
*[https://help.ubuntu.com/community/SerialConsoleHowto https://help.ubuntu.com/community/SerialConsoleHowto]  
*[https://help.ubuntu.com/community/SerialConsoleHowto https://help.ubuntu.com/community/SerialConsoleHowto]  
        
        
 
=Enabling serial console=
On Debioids:
 
In /etc/default/grub set:
In /etc/default/grub set:
  GRUB_CMDLINE_LINUX="console=ttyS0"
  GRUB_CMDLINE_LINUX="console=ttyS0,115200"


and then
and then
==On Debioids==
  update-grub
  update-grub
==On CentOS==
grub2-mkconfig -o /boot/grub2/grub.cfg

Revision as of 10:45, 6 March 2024

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