Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux BootUp messages

Status
Not open for further replies.

sajiv77

Programmer
Jan 2, 2002
14
IN
Hi
Can anybody has a clue on how i can supress the messages that i get on Redhat Linux startup.

ie I want to hide the messages that come from the Kernel and show my own messages.
Example - welcome to the ---- Machine.

Any clues
Thanks
 
I guess you can edit the motd file under /etc
motd= Message Of The Day.

Can't remember when (during boot) the content of motd is displayed. Perhaps it's after login. hmm...
/Sören
 
If you are trying to replace the banner that displays with the login prompt, change /etc/issue

Remember that this file is changed as part of the RedHat startup scripts, so you may wish to comment out the commands that re-create this file. These should be located in /etc/rc.d/rc.local

the motd file provides information that is displayed on the console after login. AV
tnedor@yahoo.com

Did this post help? Click below to let me know.
 
Hi,

I don't think you're going to get much success on this as some of the messages are generated by the kernel itself (hardware related stuff you'll find in /var/log/dmesg). There was a discussion in the linux kernel mailing list some time ago about suppressing these in future kernel releases but I don't think it was agreed.

After that stage, the '/etc/rc.d/sysinit' script runs then you get the 'Starting whatever [OK]' type messages which come from the sysv init scripts called via '/etc/rc.d/rc'. So you'd have to start changing the '/etc/rc.d/sysinit' and '/etc/rc.d/rc' scripts if you really want to suppress those messages.

Finally, /etc/rc.d/rc.local is called and that would readily allow you to change the default logon prompt - but only for runlevel 3 (console mode). If you go into a graphical X logon theres probably not much point.

Hope this helps
 
I think you are looking for changing the bootup message. You will have to edit the lilo.conf for that.

For more help type "man lilo.conf" at the shell prompt.

Bye & GoodLuck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top