This is a comprehensive guide on how to mount an NTFS file system in RHEL (Redhat Enterprise Linux) or to any other Linux distros.
NTFS (New Technology File System) drives can be mounted with
NTFS-3G Package in RedHat Enterprise Linux. NTFS file systems are popular among Windows-based ecosystem and also compatible with other major Operating Systems.
Using this technique, you can mount or load a drive used by Windows to Linux OS and access it.
I was successful in mounting the NTFS drive in my RHEL 7 using the NTFS-3G package. There might be several other ways too, but for me, this has been the best choice.
To install NTFS-3G
- First enable EPEL Repository if not previously enabled.
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm
- Install NTFS-3G package
yum install ntfs-3g -y
- Doing this, it will automatically mount the NTFS drives, if it is not mounted, we can mount our NTFS drive with the following command
mount -t ntfs-3g /dev/sda1 /mnt/windows
just replace sda1 with your drive location.
Doing this, you will be able to mount your NTFS drive in RHEL by using NTFS-3G package.