完美解决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

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值