今天我从 24.04 升级到了 Kubuntu 24.10。更新后,我无法从 GRUB 启动 Windows 10,但仍然可以直接从 UEFI 选择 Windows 启动管理器。
我尝试重新启动sudo update-grub
并得到以下结果:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found theme: /boot/grub/themes/poly-dark-master/theme.txt
Found linux image: /boot/vmlinuz-6.11.0-8-generic
Found initrd image: /boot/initrd.img-6.11.0-8-generic
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.
Error: invalid volume.
grub-probe: error: cannot find GRUB device for /dev/sdc1. Please check device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-6.11.0-8-generic
Found initrd image: /boot/initrd.img-6.11.0-8-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
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.
Error: invalid volume.
grub-probe: error: cannot find GRUB device for /dev/sdc1. Please check device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
重启后,仍然出现同样的情况:
error, cannot load image
然后返回主 GRUB 菜单,更奇怪的是,我无法启动 kubuntu,直到我重新启动 PC。它只是开始启动它,然后返回主 GRUB 菜单。重启后,我可以正常启动 Kubuntu。
我的 grub 配置/boot/grub/grub.cfg
在这里。
我的 Kubuntu 和 grub 安装在 上/dev/sdb/
,/dev/sdc/
是 Windows 带区磁盘之一。Windows 位于 上/dev/nvme0n1/
。