最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

Linux与Windows双系统,安装完linux后无法通过grub进入Windows的解决方法

业界 admin 40浏览 0评论

测试环境:Kali Linux (2022.2),Windows 10(19044),UEFI(GPT)

症状分析:先装Windows 10,Windows可正常启动,再装Kali,Kali提示装grub后照装。然而装完后重启发现无Windows选项(也就是没有Windows Boot Manager后面跟一大堆有的没的)。

解决方法:先进Linux,在终端下运行

sudo update-grub

得到反馈如下:

Generating grub configuration file ...
Found theme: /boot/grub/themes/kali/theme.txt
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5-18.0-kali5-amd64
Found initrd image: /boot/initrd.img-5.18.0-kali5-amd64
Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry.
Addming boot menu entry for UEFI Firmware Settings ...
done

原因:os-prober未启用。

解决方法:

测试环境:Kali Linux (2022.2),Windows 10(19044),UEFI(GPT)

症状分析:先装Windows 10,Windows可正常启动,再装Kali,Kali提示装grub后照装。然而装完后重启发现无Windows选项(也就是没有Windows Boot Manager后面跟一大堆有的没的)。

解决方法:先进Linux,在终端下运行

sudo update-grub

得到反馈如下:

Generating grub configuration file ...
Found theme: /boot/grub/themes/kali/theme.txt
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5-18.0-kali5-amd64
Found initrd image: /boot/initrd.img-5.18.0-kali5-amd64
Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry.
Addming boot menu entry for UEFI Firmware Settings ...
done

原因:os-prober未启用。

解决方法:

发布评论

评论列表 (0)

  1. 暂无评论