安装Windows 10与Ubuntu 16.04双系统后无法启动Windows

编程知识 更新时间:2023-04-25 10:31:53

安装Windows 10与Ubuntu 16.04双系统后无法启动Windows 10,在这里把解决办法记录下来,以备查阅。

办法1. 尝试利用GRUB自动修复系统引导项

运行以下命令,让grub自动更新系统引导项:

sudo update-grub

如果输出中包含"Found Windows ..."(如以下示例),说明grub已自动修复,否则可尝试办法2。

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-51-generic
Found initrd image: /boot/initrd.img-4.15.0-51-generic
Found linux image: /boot/vmlinuz-4.15.0-50-generic
Found initrd image: /boot/initrd.img-4.15.0-50-generic
Found linux image: /boot/vmlinuz-4.15.0-45-generic
Found initrd image: /boot/initrd.img-4.15.0-45-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 (loader) on /dev/sda1
done

办法2. 尝试手动添加系统引导项

1. 运行命令:

sudo gedit /etc/grub.d/40_custom

2. 添加Windows系统引导项。把以下内容添加到文件"40_custom"的末尾,并保存。

menuentry "Windows 10" {
set root=(hd0,msdos1)
ntldr /bootmgr
boot
}

3. 更新grub启动项:

sudo update-grub

4. 重启电脑,可看到系统引导项中出现"Windows 10"。

其他

关于如何用U盘安装Windows 10与Ubuntu 16.04系统,可参考:

  • 用U盘安装Windows 10与Ubuntu 16.04双系统

更多推荐

安装Windows 10与Ubuntu 16.04双系统后无法启动Windows

本文发布于:2023-04-19 07:19:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/e09abf193b377cdd67381cafe58033d0.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法启动   双系统   Windows   Ubuntu

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 87278文章数
  • 19429阅读数
  • 0评论数