CentOS挂载ntfs

貌似要用到EPEL的库.

安装EPEL,安装ntfs-3g

x86:rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

x64: rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm

然后导入公钥(不导入的话会出错) rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

最后执行yum update即可

yum–y install ntfs-3g

步骤:

先在/mnt/windows/ 下建立几个文件夹,ntfs分区挂载到这里,位置名字凭自己喜好不强求.

如:

#mkdir /mnt/windows/D

#sudo mount -t ntfs-3g /dev/sda2 /mnt/windows/D

注意/dev/sda2是你要挂载的分区,后面的是要挂载的位置.

在shell里切换到root,用fdisk -l 查看所有分区.

原文地址:https://www.cnblogs.com/aboutblank/p/3015592.html