I run Linux (RedHat-based, CentOS, SL, versions 5 & 6) on a variety of Supermicro and other whitebox servers. Some have IPMI, some do not.
Sometimes we want to log into these system using the attached Keyboard/monitor console. Other times we log into these systems via a remote serial console. And other times we interact with these systems using the IPMI KVM-over-LAN. With all of these methods, we'd like to see consistant output on all of the serial console and on the KVM screens.
With all of these console methods, we want the ability to interact with the system from startup to shutdown, and we want to see the entire boot sequence. This includes seeing any messages printed by, and interacting with:
- The BIOS (This is handled by the BIOS console redirection in many modern BIOSes, and is independent from the Operating System)
- The bootloader (Grub 0.97, in this case)
- See messages printed by the kernel
- See messages printed by programs during the startup session
- (e.g.
Starting sshd: [ FAILED ] typo in sshd_config on line 171)
- (e.g.
- The
login:prompt , and allow me to log into the system.
I've tried a few methods, but it seems that no matter what I put in grub.conf, some messages are printed to either the monitor or the serial console, but not both.
Is it possible to tell the bootloader, Linux kernel, OS, etc. to print all messages to the attached monitor and too the serial console?