最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

运维笔记admin23浏览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未启用。

解决方法:

发布评论

评论列表(0)

  1. 暂无评论