安装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
发布评论