Wiki Table of Contents

How to hide boot output

Introduction

If you do not want to see the terminal output during boot up and shut down, here is a method from user cpoakes that eliminates ALL output from the SysV processes (the init process will still display messages for the run level changes).

Setup

Add this (terse) line to /etc/default/rcS:

[ "$init" ] && grep -qw hush /proc/cmdline && exec >> /run/rc.log 2>&1 || true

Then add “hush” to your boot command to push all those “initializing” messages into file /run/rc.log. The easiest way of doing this is to use Grub Customizer > General Settings, Kernel parameters: add the word “hush” after “quiet.”

If you want to silence the kernel runlevel messages as well, also add “loglevel=0”

To do both at the same time manually: navigate to /etc/default/grub and make this change:

GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=0 hush"

Removal

To restore the terminal output during boot up and shut down, use Grub Customizer or the manual method to remove the words you inserted.

Troubleshooting

  • The changes outlined above must be made to the GRUB configuration that is actually controlling the boot process. If the method does not work for you, check whether another installed OS is actually in charge.
  • NOTE: this is designed for installed systems, it will not work on a live system without some extra work:
    • you’ll need the line in /etc/default/rcS in the persistence setupfor
    • for a frugal install: the boot loader that actually starts the install will need the “hush” boot code added to it.

V. 20180808

Leave a Comment

Do NOT follow this link or you will be banned from the site!