Remove RED message "Welcome to CentOS linux 7 (core)"

General support questions
Post Reply
oslyak
Posts: 1
Joined: 2021/01/12 01:28:42

Remove RED message "Welcome to CentOS linux 7 (core)"

Post by oslyak » 2021/01/12 01:34:19

At system start it shows for a few miliseconds message with red color:
Welcome to CentOS linux 7 (core)

I even had to writedown video from VirtualBox to see this message.
This message very confuse me.
I always expect that red is color of error!

How to remove this message or change it color.
Change color even better.

sml
Posts: 152
Joined: 2020/01/17 09:01:44

Re: Remove RED message "Welcome to CentOS linux 7 (core)"

Post by sml » 2021/01/12 13:46:59

Well, Plymouth hides boot messages by default, usually you must press Esc to see them. Or the kernel command line you boot doesn't sport rhgb and quiet parameters?

Anyway, see variable ANSI_COLOR in file /usr/lib/dracut/modules.d/99base/module-setup.sh. Don't change the file directly, instead copy it to /etc/dracut.conf.d and change the copy. I suppose this will change color for all boot messages. Don't forget to mkinitrd after changing the file.

The message itself comes from systemd. So you have to rebuild systemd if you want to change it.

Post Reply

Return to “CentOS 7 - General Support”