Enable Serial Terminal on Debain using Grub Configuration (Grub2) Rumi, September 7, 2024 Edit /etc/default/grub, enter: # vi /etc/default/grub Append / modify as follows: GRUB_CMDLINE_LINUX=’console=tty0 console=ttyS0,19200n8′ GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND=”serial –speed=19200 –unit=0 –word=8 –parity=no –stop=1″ Save and close the file. Next run the following command to generate a grub2 config file /boot/grub/grub.cfg : # update-grub Ref: https://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/ Continue Reading
Add serial console boot for Opensuse 15.5 Rumi, September 6, 2024 While it works with UEFI boot using “legacy BIOS” the serial console works after grub has prompted the boot menu. But this might be too late e.g. in special cases like encrypted disk where grub needs to request the password. KVM Guest has already been changed for serial support as… Continue Reading
Serial Terminal Configuration in RHEL Distribution Rumi, September 5, 2024 Serial Terminal Configuration in RHEL 7 Add, or update if already present, the following lines to /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT=”console=tty0 console=ttyS0,115200n8″ GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND=”serial –speed=115200 –unit=0 –word=8 –parity=no –stop=1″ GRUB_CMDLINE_LINUX_DEFAULT applies this configuration only to the default menu entry, use GRUB_CMDLINE_LINUX to apply it to all the menu entries. NOTE: each line type… Continue Reading