双系统下,windows启动引导的修复

安装windows与ubuntu的双系统,先安装windows然后安装ubuntu.

双系统,先装windows,再装ubuntu比较容易。

如果先安装linux,再安装windows,要为windows系统预留空间。

因为linux和windows的文件系统格式不同,如果linux本身没有free space,是不能直接安装windows的。

因为在windows安装的时候会擦除主引导分区。

 

本次问题的出现,由于在ubuntu下更新以及删除等操作后,发现重启计算机的时候,windows启动引导不见了。

下面是修复windows的启动引导。

使用修复工具boot-repair:

-1.step

sudo add-apt-repository ppa:yannubuntu/boot-repair
yys@ubuntu1604lts:~$ sudo su
[sudo] yys 的密码: 
root@ubuntu1604lts:/home/yys# sudo add-apt-repository ppa:yannubuntu/boot-repair 
 Simple tool to repair frequent boot problems.

Website: https://sourceforge.net/p/boot-repair/home
 更多信息: https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair
按回车继续或者 Ctrl+c 取消添加
gpg: 钥匙环‘/tmp/tmpnpmvypou/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmpnpmvypou/pubring.gpg’已建立
gpg: 下载密钥‘60D8DA0B’,从 hkp 服务器 keyserver.ubuntu.com

gpg: /tmp/tmpnpmvypou/trustdb.gp

你可能感兴趣的:(Linux-Windows)