Console Redirection Over Serial on a Linux-based Server
Caution – Redirecting the console over serial is a procedure intended for advanced users of Linux only.
You can seriously disrupt the proper functioning of the server or render the server unbootable if you introduce a problem in the configuration files.
Note – Instructions for console redirection on a
Redirecting the console interaction over the serial port allows the user another method to monitor the server. The goal of these configurations is to configure the bootloader to redirect its output, pass the kernel the proper parameters, and configure a login session on the serial port.
This section describes how to configure these options.
The BIOS redirects console output to serial by default (9600, 8N1, no handshake) until a bootloader program is run from the hard disk drive. The bootloader must be configured to support the serial console in addition to the keyboard, video, and mouse (KVM) console.
Two common bootloaders are grub and Linux Loader (LILO).
Caution – Do not edit the
Copy the
Chapter 4 Further Management Information 63