Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2004, 03:04 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Redirecting console boot messages to different tty.

Hi all,

Not sure if this the right forum, but I am looking for a way to redirect console messages to a different tty during bootup. In other words, I would like the screen to remain blank (just like tty2 by default) during the bootup of Redhat 9. Any ideas appreciated.
Old 01-16-2004, 04:07 PM   #2
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Check out syslog.conf

You could just remove the tty sessions, I think. Check your inittab and look for mingetty entries:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
Maybe just comment out 1 and 3-6? I have NOT tried this! You will have to have someway to get into the system if this kills the consoles. I guess you could just reboot into single user mode and change it back.
Old 01-17-2004, 04:11 AM   #3
LQ Newbie
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Hi, Thanks for the reply, but the commands you are referring to are in my /etc/inittab and changing them made no difference to what I need to do. I need to redirect console output during bootup to tty2 (ALT+f2) but I need tty0 still to be the default screen during bootup. In other words I would like a blank screen during bootup until the login screen is spawned.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging Console Boot Messages candyman123 Linux - General 5 06-19-2005 02:38 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
Redirecting error messages to stderr and file in Bash lowpro2k3 Programming 1 04-14-2005 06:47 PM
redirecting cron messages jomy General 1 12-29-2004 02:35 AM
Eliminating or redirecting boot messages TheFirstMan Linux - General 4 04-07-2004 04:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration