Technical article 110531

During boot, how can I stop messages from being written to the console?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

How can I stop all boot messages from being written to the console? I wish to dedicate the console display during boot to the output from a third party application, and need to keep the boot process scripts from writing output to the console.

Cause

It is not recommended to dedicate the system console to the display of third party applications. However, if this is what you are doing and have already disabled /dev/tty01 to prevent login sessions, you will need to follow the steps below to keep boot messages from being written to the console.

Solution

1. Log in as root.

2. Use your favorite editor to edit the file:

/etc/default/boot

3. Add the line "QUIET=YES" (without the quotes) to the end of the file.

The changes will take effect on next boot.

NOTES: Trying to suppress the boot messages by changing the I/O redirection in the /etc/rc2 script will not work. This will keep the script from completing properly and the system will have problems. (For example, the multiscreens will not show login prompts.)

See also

Manual page boot(F)

From the Xinuos technical article database, record 110531. Reproduced with permission. The original is at www.sco.com/ta/110531, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.