Originally Posted by brianmcgee
You may write messages to console via grub passing the following kernel options:
kernel /vmlinuz-2.6.9-67.0.4.ELsmp ro console=ttyS0,115200
ttySX is the name of the serial console, 115200 is the baud setting.
thanks for your reply
but if do it like the above,it will output all kernel message to serial console
what i want is that output some message to serial console
like that after ttyS0 is avaiable to write,i can print message to serial console