Grub 菜单不显示

Grub 菜单不显示

我有一台双启动笔记本电脑(Fujitsu Lifebook T725),装有 Windows 10 和 Ubuntu 19.04。处理器 - Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz。当我启动它时,它直接启动 Ubuntu 并跳过 Grub 菜单。这是我在 /etc/default 中的 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=
GRUB_TIMEOUT=15
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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"

有人能帮帮我吗?我甚至尝试在加载时按下 Shift 和 esc 键,但这没有用。

答案1

尝试评论一下

#GRUB_HIDDEN_TIMEOUT=

然后运行:sudo update-grub。已经有一段时间了,但我相信我记得 GRUB_HIDDEN_TIMEOUT 和 GRUB_TIMEOUT 之间存在一些冲突。也许没有值是不够的。

相关内容