如何在启动时禁用紫色引导加载程序闪屏?

这个问题以前已经被回答过, 但是接受的答案中的方法在11.10上对我都无效。

首先,我尝试编辑/etc/default/grub,然后运行sudo update-grub。但是之后,当内核加载时,我仍然得到一个空白、纯粹的紫色屏幕。屏幕上没有引导选项,并且遮挡了我想要在终端中看到的那些dmesg信息。

接下来,我尝试移除plymouth-theme-*,但是那只是破坏了我的gnome-shell主题外观,而紫色屏幕仍然存在。

我还尝试使用startupmanager软件包进行配置,但似乎没有任何方法可以摆脱那个讨厌的紫色启动画面。

这里是我的/etc/default/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_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="0"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
#GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#    GRUB_TERMINAL="console"

# 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 `vbeinfo'
#GRUB_GFXMODE="640x480"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_DISABLE_OS_PROBER="true"
3个回答

试试这个

sudo mv /etc/init/plymouth.conf /etc/init/plymouth.conf.disabled

取消注释 #GRUB_TERMINAL=console/etc/default/grub 中。

Grub从`/lib/plymouth/themes/default.grub`加载其背景颜色(如在`/etc/grub.d/05_debian_theme`中所见)。
我不知道更改这个颜色的标准方法,但是编辑`/lib/plymouth/themes/default.grub`对我有效。
if background_color 0,0,0; then
    clear
fi

然后,从命令行中输入sudo update-grub