简体   繁体   English

在GRUB2中隐藏“正在加载初始ramdisk…”初始屏幕

[英]Hide “Loading initial ramdisk …” splash screen in GRUB2

After a boot entry has been selected in GRUB2, for a short time (1-2 sec) another screen is displayed which shows: 在GRUB2中选择了引导项后,短时间(1-2秒)会显示另一个屏幕,其中显示:

Loading initial ramdisk ...

I found out how to suppress this output (by setting the variable quiet_boot in /etc/grub.d/proxifiedScripts/linux to "1" ), but the splash screen with Debian logo still appears. 我发现了如何抑制此输出(通过将/etc/grub.d/proxifiedScripts/linux中的变量quiet_boot设置为“ 1” ),但是仍然显示带有Debian徽标的启动屏幕。

Is there a way to completely prevent this screen from being shown, or at least replace the background image with a custom one? 有没有一种方法可以完全防止显示此屏幕,或者至少用自定义图像替换背景图像?

I found the answer finally! 我终于找到答案了! The mentioned screen/image which I want to remove is displayed by the so called desktop-base package. 我要删除的上述屏幕/图像由所谓的基于桌面的程序包显示。 On this german Ubuntu Wiki page it is recommended to uninstall this package if someone wants to customize the graphical GRUB menu on his own, because otherwise images from this package will still be displayed (which was the case on my system). 这个德国Ubuntu的Wiki页面则建议,如果有人想定制对自己的图形GRUB菜单卸载这个包,因为这个包,否则图像将仍然显示(这是我的系统的情况下)。 The following command prevents the screen from being displayed any more: 以下命令可防止屏幕不再显示:

dpkg -r desktop-base

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM