Score:2

How to suppress kernel messages and keep the splash screen?

us flag

I am on Ubuntu 22.04 LTS and I want to suppress all kernel messages of the form

[0.342] Blah blah ...

during boot, while keeping the splash screen. To me, this is the most natural way of booting but it seems there is no simple way to make it happen! The default grub setting quiet splash does not work. I found this post that redirects everything to console=ttyS0 so the kernel messages are gone but so is the splash screen. Below is my grub setting in /etc/defaults/grub. Is there any way to handle this?

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=120
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

# Don't show Ubuntu bootup text
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Detect other operating systems
GRUB_DISABLE_OS_PROBER=false

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=1280x1024
Organic Marble avatar
us flag
You don't have *quiet splash* in your grub file. You stuck a loglevel directive in between *quiet* and *splash*. Fix that so it actually says *quiet splash* and update grub.
us flag
@OrganicMarble: That does not work either. I added that option to suppress some kernel messages.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.