- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: using serial console
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
01-21-2004 05:18 AM
01-21-2004 05:18 AM
using serial console
this is a follow on this link:
"http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=305330"
Here's my grub conf file:
default=0
timeout=10
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --timeout=15 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 console=tty0 console=ttyS0 linux
initrd /initrd-2.4.18-27.7.x.img
Everything works on ttyS0, but when I am at the console, the boot up stop displaying the boot status when it is starting up services in (right after it loaded the kernel) "/etc/rc.d/init.d/" until it gets into a log in prompt. How do I get it all boot messages on tty0 (the acutal physical console which is attached to the server)? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:41 AM
01-21-2004 07:41 AM
Re: using serial console
You may need to add the key word "text" to the kernel line.
Mine looks like:
title Red Hat Linux SMP (2.4.20-28.9smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-28.9smp ro root=LABEL=/ hdc=ide-scsi text console=ttyS0,57600,vt102
initrd /initrd-2.4.20-28.9smp.img
And I get all the boot status to the serial console.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 08:50 AM
01-21-2004 08:50 AM
Re: using serial console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 03:48 PM
01-21-2004 03:48 PM
Re: using serial console
So you want boot messages to either console: Serial or Local?
The only idea I can come up with is to have two entries in your grub.conf -- one for serial console and one for local console.
title Serial Console Linux (2.4.18-27.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5 console=tty0 console=ttyS0 linux
initrd /initrd-2.4.18-27.7.x.img
title Local Console Linux (2.4.18-27.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/hda5
initrd /initrd-2.4.18-27.7.x.img
You then have to select the correct entry for whichever terminal you're using to boot from.
I hope I understand what you're looking for correctly this time.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:18 AM
01-22-2004 08:18 AM
Re: using serial console
exec /dev/ttyS0 2>/dev/ttyS0
but I would have thought there was some way to inform the kernel itself that /dev/console should go to the serial line (it appears that /dev/console is what init is initially attached to). Have you tried removing /etc/ioctl.save?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:45 AM
01-22-2004 08:45 AM