本文主要是介绍Linux adjust GRUB,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
sudo vi /etc/default/grub
- 删除或者注释掉grub_timeout_style=hidden
- 把grub_cmdline_linux_default修改为text
- 改完之后还要把
GRUB_TERMINAL=console
这一行的注释符删掉
# 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_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="text"
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
sudo update-grub
这篇关于Linux adjust GRUB的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!