我正在寻找在启动过程中摆脱黑屏并将其替换为完整的启动动画的方法。
这是我的 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="quiet splash modeset"
GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax"
# 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=1920x1080
# 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_TERMINAL=console
但与启动动画一起它变成默认的 14.04 粉红色带点动画。我正在使用Solar
开机动画。当我放#
回去时,启动动画再次出现,但它总是持续 5 秒,然后弹出登录屏幕。
我只使用(手动)安装的 Nvidia 视频驱动程序。Nouveau 被列入黑名单。
如果可能的话,我可以应用哪些建议或解决方案来解决这个问题?
谷歌搜索了一段时间后,我设法以一种简单的方式找到了解决方案。它不会完全消除黑屏,但现在它只持续 2-3 秒并平滑地跳转到开机屏幕,您可以享受开机动画。为了解决这个问题,我创建了
splash
文件:然后在文件中键入并保存:
选择并更新您的
default.plymouth
完毕。现在它应该看起来不错而且正常。