关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

如何解决centos7双系统后丢失windows启动项

发布时间:2023/3/9 12:37:05
香港云服务器
windows 7、8、10 安装centos7双系统后,默认会将mbr改写成为grub2,而默认的centos7不识别windows 的ntfs分区,所以启动项没有windows。 下面一起去看看解决centos7双系统后丢失windows启动项的方法吧!
可以用3条命令,即可将windows添加到grub2的启动项。
首先保证互联网是通的。
1.yum -y install epel-release
2.yum -y install ntfs-3g
3.grub2-mkconfig -o /boot/grub2/grub.cfg
3条命令运行成功,重启后,即可看到windows 7(loader)的启动项,即可进入windows。