How to Mount NTFS Partition in Linux

October 8, 2020

Introduction

NTFS stands for New Technology File System. This file-storing system is standard on Windows machines, but Linux systems also use it to organize data.

Most Linux systems mount the disks automatically. However, in dual-boot setups, where file exchange is required between two systems with NTFS partitions, this procedure is performed manually.

This article will show you how to mount an NTFS partition in Linux with read-only or read-and-write permissions.

How to Mount NTFS Partition in Linux

Prerequisites

  • A system running Linux
  • A user account with sudo or root privileges
  • Access to a terminal window / command line (Activities > Search > Terminal)

Mount NTFS Partition with Read-Only Permission

Follow the steps below to mount an NTFS partition with read-only access.

Note: A read-only partition allows users to read files. To enable writing to an NTFS partition, refer to the second section of the article.

Identify NTFS Partition

Before mounting an NTFS partition, identify it by using the parted command:

sudo parted -l
Identifying NTFS partition with parted command.

In the example above, two NTFS partitions are on the /dev/sdb disk. Note the partition number you want to mount before you proceed.

You can also use the fdisk and grep commands to show only NTFS partitions on a disk:

sudo fdisk -l | grep NTFS

Create Mount Point and Mount NTFS Partition

In this example, we will mount the /dev/sdb1 partition with read-only permission.

First, create the mount point with the mkdir command:

sudo mkdir /mnt/ntfs1

Next, mount the partition to the directory you created. Use the mount command and the partition path you noted earlier:

sudo mount -t ntfs /dev/sdb1 /mnt/ntfs1

Use the disk free tool to check the details of all filesystems and verify you mounted the partition successfully:

df -hT
Mounting process of an NTFS partition.

The /dev/sdb1 partition shows as mounted at the bottom of the list. You now have read-only access for this NTFS partition.

Mount NTFS Partition with Read-and-Write Permissions

To mount an NTFS partition with read-and-write permissions, you need to install fuse and ntfs-3 on your system.

Follow the steps below to complete the mounting process.

Note: Some Linux distributions may have fuse and ntfs-3g already installed by default.

Update Package Repositories

Run the following command to download and update the package repositories:

sudo apt update
Updating package information.

Install Fuse and ntfs-3g

To install fuse on your Linux system from the default repository, use the appropriate package manager. In our example, we use apt in Ubuntu.

sudo apt install fuse

When the installation completes, install ntfs-3g by running:

sudo apt install ntfs-3g

In case both fuse and ntfs-3g are already installed, the output looks similar to the one below:

Installing fuse and ntfs-3g in order to mount partition with read-and-write permissions.

Mount NTFS Partition

After you install the fuse and ntfs-3g software packages, mount your NTFS partition.

First, create a mount point by using the mkdir command :

sudo mkdir /mnt/ntfs2 

Next, use the mount command to mount the partition you want. For example, /dev/sdb2:

sudo mount -t ntfs-3g /dev/sdb2 /mnt/ntfs2/

To check if the partition is mounted, run the df command:

df -hT
The process of mounting an NTFS partition with read-and-write permissions.

You now have the read/write permissions for the NTFS partition you mounted.

Note: Linux kernel version 2.6.20 or newer is recommended for mounting a partition via ntfs-3g. Learn on how to update the kernel on Ubuntu or how to update the kernel on CentOS.

Conclusion

After reading this article, you should have learned to mount an NTFS partition. Partition manipulation is crucial in a Linux system, and next, we recommend learning how to delete a partition in Linux and how to format disk partitions in Linux.

Was this article helpful?
YesNo
Dejan Tucakov
Dejan is the Head of Content at phoenixNAP with over 8 years of experience in Web publishing and technical writing. Prior to joining PNAP, he was Chief Editor of several websites striving to advocate for emerging technologies. He is dedicated to simplifying complex notions and providing meaningful insight into data center and cloud technology.
Next you should read
How to Delete Partition in Linux
September 30, 2020

Creating and deleting partitions in Linux is common because users must structure storage devices...
Read more
How to Create Partitions in Linux
September 23, 2020

In Linux systems, in order to use storage devices such as Hard Drives and USB drives, you need to understand...
Read more
19 Crucial Linux ls Commands to Know
July 30, 2020

The ls command (short for 'list') lists information about directories and any type of files in the working...
Read more
Linux Commands Cheat Sheet: With Examples
November 2, 2023

A list of all the important Linux commands in one place. Find the command you need, whenever you need it or...
Read more