Linux 禁止开机动画(Plymouth)

先介绍下背景。客户使用的公司产品是Debian系统的,老版本的软件中,使用了带有公司logo的开机动画,客户想要去掉。

因为这些软件和系统的配置都不是我经手的,恰恰接到了这个任务,只好Google+Baidu了。开机动画是Plymouth 定制的主题。先按照这个方向去查找。
无果。好吧,意外找到了一个帖子,同样的需求,好消息是,题主解决了问题。

大概思路是修改grub的启动配置。

上解决方法。

Note : 以下操作,均使用的是 root 权限,或者 使用 sudo。

进入 /etc/default/grub 目录

修改内容

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

删除值

关键 : 执行命令。

update-grub

重启。

参见官方说明

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

This line imports any entries to the end of the ‘linux’ line (GRUB legacy’s “kernel” line). The entries are appended to the end of the normal mode only.
To view a black screen with boot processes displayed in text, remove “quiet splash”. To see the grub splash image plus a condensed text output, use “splash”.