On Tue, Mar 9, 2010 at 5:56 PM, Mark Ryden <markryde(a)gmail.com> wrote:
Hello,
I am trying to enable serial console by editing GRUB boot loader.
What I want is to be able to view in the boot messages of a machine A
which is connected with a serial cable to machine B. (I want to view
these messages on machine B)
I found this link:
http://www.cyberciti.biz/faq/linux-serial-console-howto/
Following this link I added these lines to /etc/grub/grub.conf:
serial --unit=1 --speed=19200
terminal --timeout=8 console serial
(I know that still I should add console=tty0 console=ttyS1,19200n8 to
the kernel line in grub.conf)
When I rebooted the machine, it hangs.
I am well aware of that it deals with centos/rhel
Any ideas why?
Is there a different way to achieve it ?
The console=tty console=ttySn,XXX per kernel is also required, as
grub's configuration only effects grub.
Don't forget to increase the grub timeout and comment out the "hidemenu"
line.
- Gilboa