安装Centos 7 后恢复Windows 启动项

今天试了下CentOS 7,安装之后发现Win7的启动项不见了。一般安装Linux过程中会自动识别windows系统并添加引导项,centos的问题在于默认不支持ntfs分区,导致win7被无视了。

恢复步骤如下:
1. 添加EPEL源(ntfs-3g在该源中):
$ yum search epel
只找到一个epel-release.noarch, 就装它了。
# yum install epel-release

2. 安装ntfs-3g用于识别ntfs分区:
# yum install ntfs-3g

3. 重新生成引导项:
# grub2-mkconfig -o /boot/grub2/grub.cfg

搞定!

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.