当我从 UEFI 菜单中选择引导加载程序时,Grub2 菜单不显示

当我从 UEFI 菜单中选择引导加载程序时,Grub2 菜单不显示

我使用 Grub2 通过 Manjaro 进行 UEFI 双启动 Win 10。这是我的引导加载程序:

[flex@mylaptop ~]$ efibootmgr --verbose
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0004,0000
Boot0000* Windows Boot Manager  HD(1,GPT,91383c96-901f-403a-8de5-363c8eb6f581,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0001* Grub Menu     HD(1,GPT,91383c96-901f-403a-8de5-363c8eb6f581,0x800,0x32000)/File(\EFI\manjaro\grubx64.efi)
Boot0002* UEFI Onboard LAN IPv4 PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(qwerty123,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0003* UEFI Onboard LAN IPv6 PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(qwerty123,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0004* Windows Boot Manager  HD(1,GPT,91383c96-901f-403a-8de5-363c8eb6f581,0x800,0x32000)/File(\EFI\manjaro\grubx64.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...6................

顺便问一下,条目末尾的所有这些额外字符是怎么回事Boot0004* Windows Boot Manager?这两个Windows Boot Manager条目是自动生成的,不是我创建的。我只使用Grub Menuefibootmgr.

当我让笔记本电脑自行启动时,我会得到 Grub 菜单,我猜是因为这个引导加载程序已加载,因为它指向 Grub:

Boot0001* Grub Menu     HD(1,GPT,91383c96-901f-403a-8de5-363c8eb6f581,0x800,0x32000)/File(\EFI\manjaro\grubx64.efi)

但是,如果我按 F12 进入 BIOS,然后从那里选择相同的“Boot0001* Grub Menu”引导加载程序,则 Grub 菜单将不会显示。当超时到期时,我从 Grub 菜单中选择的最后一个操作系统将加载。

当我从 UEFI BIOS 引导加载程序选择菜单屏幕手动选择 \EFI\manjaro\grubx64.efi 引导加载程序时,就像图形在 Grub 中无法工作一样。我可以在屏幕顶部看到一条带有乱码文本的思考线...但没有 Grub 菜单。这可能是我的 BIOS 固件的限制吗?我尝试重新创建将“Boot0001* Grub Menu”引导加载程序条目设置为“Boot0001* Windows Boot Manager”,但我得到了相同的结果。

我还在 Grub 配置文件中尝试了各种操作,例如使用 fx 图形(当前设置为自动),但这也没有任何区别。

这是我的 /etc/default/grub

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"
#GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
#GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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 'videoinfo'
GRUB_GFXMODE=auto
#GRUB_GFXMODE=1024x768

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER=false

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true

我的问题
当我从 UEFI BIOS 引导加载程序菜单中选择Boot0001* Grub MenuOR 时,如何才能显示 Grub 菜单?Boot0001* Windows Boot Manager

先感谢您!

相关内容