Newsgroups: comp.os.linux.misc,comp.os.linux.setup,linux.redhat.install,linux.redhat.misc Date: Fri, 03 Jan 2003 10:43:14 +0100
> When Linux is booting, it displays the kernel booting messages and init > script(RedHat) messages on the screen. > > Is there anyway to disable all the messages when booting? > I would like to have my Linux box not to display any kernel messages and > init script messages and go directly to "login: " screen.
You cannot jump directly to the login prompt: you first need to go through the startup process. It seems you can get rid of the messages by hacking /etc/rc (under Suse, anyway):
if test "$RUNLEVEL" = "0" -o "$RUNLEVEL" = "6" ; then
case "$REDIRECT" in /dev/tty[1-9]*)
REDIRECT=/dev/tty1
setconsole $REDIRECT < $CONSOLE
set -- $(stty size < $REDIRECT)
LINES=$1
COLUMNS=$2
export LINES COLUMNS
esac
fichange that bit to suit you.
However, the down-side to getting rid of them is that you will have some log wait with no messages before your login prompt comes up. This could be very confusing to the user. Also, you'll WANT the output the moment a drive scan fails and you need to see the info.
stephan beal