我安装了多个 Linux 发行版,目前,Grub 由 Manjaro 安装管理。然而,在最近的更新之后,启动 Arch 的菜单项丢失了。
跑步:
pacman -S grub
重新安装 grub 但不添加 Arch Linux。
跑步
update-grub
输出:
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Ubuntu 22.04.2 LTS (22.04) on /dev/nvme0n1p2
Found Arch Linux on /dev/nvme0n1p3
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
os-probe 似乎看到了 arch linux。但它仍然没有被添加到启动菜单中。知道为什么吗?