完美解决centos7无法挂载NTFS硬盘问题

破案了

需要用到工具ntfs-3g

安装:

#1、添加aliyun的epel源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
#2、yum 安装ntfs-3g
yum install ntfs-3g
#3、判断 yum 安装ntfs-3g是否成功
yum list installed | grep ntfs-3g

Open Source: NTFS-3G

Latest Download - http://www.tuxera.com/community/open-source-ntfs-3g/

NTFS-3G Manual - http://www.tuxera.com/community/ntfs-3g-manual/

stable version - https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2016.2.22.tgz

#Installation
tar zxvf /tmp/ntfs-3g_ntfsprogs-2016.2.22.tgz
cd ntfs*
#yum install gcc
./configure
make
make install # or 'sudo make install' if you aren't root

#Usage
fdisk -l
mkdir -p /mnt/windows
mount -t ntfs-3g /dev/sda1 /mnt/windows
#You can also make NTFS to be mounted during boot by adding the following line to the end of the /etc/fstab file:
vi /etc/fstab
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
发布了122 篇原创文章 · 获赞 54 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/qq_38604355/article/details/102838731