Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

How to Mount a NTFS Drive on CentOS / RHEL / Scientific Linux
HowToForge ^ | 2015 | David Duarte

Posted on 03/27/2019 4:04:19 AM PDT by ShadowAce

This tutorial will show you how to mount an NTFS drive ina read/write mode on CentOS and other RHEL based Linux operating systems with ntfs-3g driver. NTFS-3G is a stable Open Source NTFS driver that supports reading and writing to NTFS drives on Linux and other operating systems.

The ntfs-3g driver is available in the EPEL repository. The first step is to install and activate EPEL on your Linux system.

Enable the EPEL repository

Run the following command as root user on the shell to enable the EPEL repository.

yum install epel-release

EPEL (Extra Packages for Enterprise Linux) is a Fedora Special Interest Group that creates, maintains, and manages a set of additional high quality packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).

Install ntfs-3g driver

Then we have to install the ntfs-3g package with yum.

yum install ntfs-3g

Once installed, we create a directory where the NTFS drive shall be mounted:

mkdir /mnt/win

Now we can mount the NTFS partition by running this command:

mount -t ntfs-3g /dev/sdb1 /mnt/win

In this example, my NTFS partition is the device /dev/sdb1. You have to replace that with the device name of your NTFS partition.

The mount point will exist until reboot or until you unmount it with:

umount /mnt/win

To mount the NTFS partition permanently, add the following line to the /etc/fstab file.

Open /etc/fstab with an editor:

nano /etc/fstab

And add the line:

/dev/sdb1 /mnt/win ntfs-3g defaults 0 0

Again, replace /dev/sdb1 with the device name that matches your setup. Now your Linux system will mount the NTFS drive automatically at boot time.


TOPICS: Computers/Internet
KEYWORDS: linux; ntfs

1 posted on 03/27/2019 4:04:19 AM PDT by ShadowAce
[ Post Reply | Private Reply | View Replies]

To: rdb3; Calvinist_Dark_Lord; JosephW; Only1choice____Freedom; Ernest_at_the_Beach; martin_fierro; ...

2 posted on 03/27/2019 4:04:37 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

bkmk


3 posted on 03/27/2019 4:28:13 AM PDT by sauropod (Yield to sin, and experience chastening and sorrow; yield to God, and experience joy and blessing.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
Need more coffee! My eyes saw CentOS, but my brain saw MENTOS.


4 posted on 03/27/2019 5:07:33 AM PDT by deoetdoctrinae (Donate monthly and end FReepathons.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

I was under the impression this was a big No No. That there is a massive risk of FS corruption.


5 posted on 03/27/2019 6:12:05 AM PDT by LesbianThespianGymnasticMidget (TRUMP TRAIN !!! Get the hell out of the way if you are not on yet because we don't stop for idiots)
[ Post Reply | Private Reply | To 1 | View Replies]

To: LesbianThespianGymnasticMidget
Not any more. It used to be--that is correct.

However, the driver has improved over the past few years and it is now quite safe.

6 posted on 03/27/2019 6:18:59 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 5 | View Replies]

To: ShadowAce

I have booted a Windows Vista laptop for years with a Linux Mint memory stick and never had problems writing to a NTFS partition. Is there some newer version of NTFS that is incompatible?


7 posted on 03/27/2019 7:42:47 AM PDT by TexasRepublic (Socialism is the gospel of envy and the religion of thieves. Socialism is governmental theft!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: TexasRepublic

No—the NTFS issue was pre-Vista


8 posted on 03/27/2019 7:59:05 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 7 | View Replies]

To: ShadowAce
Good info. The ntfs-3g software comes installed in Linux Mint Cinnamon 19.1. It is a Read/write NTFS driver for FUSE and it works fine right out of the box.

Good Hunting... from Varmint Al

9 posted on 03/27/2019 8:01:41 AM PDT by Varmint Al
[ Post Reply | Private Reply | To 1 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson