rez*_*afa 3 boot grub2 dual-boot 19.04
升级到 19.04 后,Grub 菜单已隐藏。它仍然有效,我可以通过盲目地找到该条目并按 Enter 键启动到 Windows 10 和 Ubuntu。我尝试编辑/etc/default/grub
并运行sudo update-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_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_TIMEOUT_STYLE=menu
GRUB_HIDDEN_TIMEOUT_QUIET=false
# 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"
Run Code Online (Sandbox Code Playgroud)
我也无法使用Shift
或Esc
使其可见。按其中任何一个后,Grub 不再工作,我需要关闭然后打开我的笔记本电脑才能启动。
编辑:不确定它是否有帮助,但我刚刚意识到,如果我在退出 BIOS 时进入 BIOS,则 grub 菜单会毫无问题地显示。下次启动时,grub 菜单将再次消失。
小智 5
我有完全相同的问题。
在尝试了几种解决方案后,其中一个成功了(详细解释以防其他人需要):
/etc/default/grub
通过在正确的文件夹中在终端中运行来进行编辑:
sudo gedit grub
Run Code Online (Sandbox Code Playgroud)
取消注释该行#GRUB_TERMINAL=console
。正确的版本应为:
GRUB_TERMINAL=console
Run Code Online (Sandbox Code Playgroud)
保存文件。
在终端中运行:
sudo update-grub
Run Code Online (Sandbox Code Playgroud)
重新开始。现在应该出现 GRUB 菜单。
注意:我不知道为什么,但图形终端无法工作。控制台有点丑,但我不在乎。
归档时间: |
|
查看次数: |
5401 次 |
最近记录: |