Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
This tutorial will cover how to mount an NTFS drive on CentOS 7. We’ll use the open-source version of the NTFS for Linux driver by Tuxera, NTFS-3G.
To mount an NTFS drive, start off by adding the remi-release and epel-release repos to your installation
#Epel Repo: https://fedoraproject.org/wiki/EPEL yum install epel-release #Remi Repo: https://rpms.remirepo.net wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm
Issue the following command to install
yum install ntfs-3g
You also need the Fuse package but it’s usually pre-installed on CentOS, just verify if it’s installed or not
yum install fuse #Load the module modprobe fuse
List the attached drives to find the NTFS drive to mount
fdisk -l
To mount this drive, issue the following:
#Make a mount point at a location you choose mkdir /mnt/ntfs-drive #Mount the drive mount -t ntfs-3g /dev/sdb1 /mnt/ntfs-drive/
To verify:
df -h
That’s it.