双系统引导
转自:https://blog.csdn.net/zzh_my/article/details/70904244
安装ntfs-3g支持
CentOS默认源里没有ntfs-3g,想要添加ntfs支持,无非是自己下载编译安装或者加源yum安装。
昨天重新安装了一个CentOS7,用的是添加aliyun的epel源来yum安装的方式,简单易行。
1、加源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
2、安装
yum update;
sudo yum install ntfs-3g
引导文件更新
yum search ntfs
...
======= N/S matched: ntfs =======
findntfs.x86_64 : Find NTFS partitions
fuse-ntfs-3g.x86_64 : Linux NTFS userspace driver
fuse-ntfs-3g-devel.x86_64 : Header files, libraries and development documentation for fuse-ntfs-3g
ntfsprogs.x86_64 : NTFS filesystem libraries and utilities
We will install these, using yum install <package name>. Then, we can run the necessary GRUB2 update. And for the fun of it, examine the Windows 7 partition using the file manager. Yup, it works.
grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-123.8.1.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.8.1.el7.x86_64.img
Found Windows 7 (loader) on /dev/sda1
done