首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在引导时禁用紫色引导加载程序?

如何在引导时禁用紫色引导加载程序?
EN

Ask Ubuntu用户
提问于 2011-12-16 04:14:11
回答 3查看 8.4K关注 0票数 6

这个问题以前已经回答过了。,但被接受的答案中的两种方法在11.10上对我都没有用。

首先我尝试用/etc/default/grub编辑,然后运行sudo update-grub。但在那之后,当内核加载时,我仍然得到了一个空白的、普通的、紫色的屏幕。屏幕没有引导选项,它模糊了我希望在终端中看到的那些dmesg。

接下来,我尝试删除plymouth-theme-*,但这破坏了我的gnome主题外观,紫色的屏幕仍然保留着。

我也尝试过用startupmanager包来配置它,但是似乎没有什么东西能消除那个该死的紫色飞溅。

下面是我的/etc/default/grub文件的内容:

代码语言:javascript
复制
# 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"
EN

回答 3

Ask Ubuntu用户

回答已采纳

发布于 2011-12-16 05:14:23

尝尝这个

代码语言:javascript
复制
sudo mv /etc/init/plymouth.conf /etc/init/plymouth.conf.disabled
票数 3
EN

Ask Ubuntu用户

发布于 2012-05-09 21:15:44

#GRUB_TERMINAL=console/etc/default/grub中删除。

票数 2
EN

Ask Ubuntu用户

发布于 2011-12-28 15:30:02

Grub从/lib/plymouth/themes/default.grub加载其背景色(如/etc/grub.d/05_debian_theme中所示)。

我不知道改变这种颜色的标准方法,但是编辑/lib/plymouth/themes/default.grub对我有用:

代码语言:javascript
复制
if background_color 0,0,0; then
    clear
fi

然后,在命令行中键入sudo update-grub

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/88157

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档