我正在使用Ubuntu 22.04 LTS,并且我想要屏蔽所有形式的内核消息。
在启动过程中保持启动画面。对我来说,这是最自然的启动方式,但似乎没有简单的方法可以实现!默认的grub设置
[0.342] Blah blah ...
在启动过程中保持启动画面。对我来说,这是最自然的启动方式,但似乎没有简单的方法可以实现!默认的grub设置
quiet splash
不起作用。我找到了这个post,将所有内容重定向到console=ttyS0
,这样内核消息就消失了,但启动画面也消失了。下面是我在/etc/defaults/grub
中的grub设置。有没有办法处理这个问题?# 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