- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- serial console on redhat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 10:15 AM
12-11-2003 10:15 AM
I am trying to implement serial console on redhat. But I am having a bit of problem when trying to select boot up options in grub when connected via serial line "cu -s 115200 -l /dev/ttyS0", here's the output of it:
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
Press any key to continue.
It just stops here, pressing any key will not help, until enter is press; which booted the defualt kernel. This is what I have in inittab file:
s0::respawn:/sbin/mgetty -s 115200 ttyS0 linux
Any idea? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 11:24 AM
12-11-2003 11:24 AM
Re: serial console on redhat
http://www.gnu.org/software/grub/manual/html_mono/grub.html.gz#Serial%20terminal
I'm picking this will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 12:03 PM
12-11-2003 12:03 PM
Re: serial console on redhat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 12:26 PM
12-11-2003 12:26 PM
Re: serial console on redhat
I'm assuming you told Grumb that the baud rate is 115200 (you're not getting garbage, but english), so I'm left assuming that the grub on the machine is compiled saying '--disable-serial'.
*looks into the RH grub src rpm*
...
...
nope.. that leaves it enabled.
So that leaves me out cold.. Sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2003 12:29 PM
12-11-2003 12:29 PM
Re: serial console on redhat
http://mail.gnu.org/archive/html/bug-grub/2002-01/msg00108.html
(search: grub serial "Press any key to continue.")
http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-boot-loader-grub.html
might also be of help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 02:44 AM
12-12-2003 02:44 AM
Re: serial console on redhat
from /boot/grub/grub.conf
#boot=/dev/hda
#serial --unit=0 --speed=11520 --word=8 --parity=no --stop=1 too fast for grub
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
#serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 too slow
#terminal --timeout=5 serial console
terminal serial console
timeout=5
default=0
fallback=1
title Red Hat Linux 7.3SMP (2.4.20-20.7smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.7smp ro root=/dev/hda2 hdc=ide-scsi text console=ttyS0
,57600,vt102
initrd /initrd-2.4.20-20.7smp.img
( I know I need to update the kernel)
from /etc/inittab
##co:2345:respawn:/sbin/agetty ttyS0 115200 vt102
co:2345:respawn:/sbin/agetty -h -t 60 ttyS0 57600 vt102
This works fine for me. Good luck,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 06:07 AM
12-15-2003 06:07 AM
Re: serial console on redhat
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --timeout=5 serial console
title Red Hat Linux (2.4.18-27.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5 text console=tty0 consol
e=ttyS0 linux
initrd /initrd-2.4.18-27.7.x.img
title Red Hat Linux (2.4.18-27.7.x) Single User Mode
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5 console=tty0 console=tty
S0,115200n8 s
file: /etc/inittab
co::respawn:/sbin/mgetty -s 9600 ttyS0 linux
file: mgetty.config, which I don't think it's using.
port ttyS0
debug 4
direct y
ignore-carrier true
login prompt @ console login:
speed 9600
toggle-dtr n
Any idea, why I can not select the listed kernel of choice from the grub boot list? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 06:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 08:17 AM
12-15-2003 08:17 AM
Re: serial console on redhat
Thanks to all of you for your help.