Mount Windows NTFS Partition Read Write in Ubuntu

Accessing files on a Windows NTFS partition from Ubuntu is a common requirement for dual-boot setups and external hard drives. While Ubuntu supports NTFS natively, full read and write access requires ensuring Windows releases the lock on the drive and configuring Linux to use the ntfs-3g driver. This step-by-step guide explains how to safely mount an NTFS partition with full read and write permissions, both temporarily through the terminal and permanently on system boot.

Step 1: Disable Fast Startup in Windows

Windows uses a feature called Fast Startup that puts the system into a hybrid hibernation state instead of completely shutting down. This locks the NTFS volume, preventing Ubuntu from safely writing to it.

  1. Boot into Windows.
  2. Open the Control Panel and navigate to Power Options.
  3. Click Choose what the power buttons do.
  4. Click Change settings that are currently unavailable.
  5. Uncheck Turn on fast startup.
  6. Save changes and shut down Windows completely (do not restart).

Step 2: Install NTFS-3G in Ubuntu

Boot into Ubuntu and open the terminal (Ctrl + Alt + T). Ensure the ntfs-3g package is installed:

sudo apt update
sudo apt install ntfs-3g

Step 3: Identify the NTFS Partition

List all connected storage devices and locate your target NTFS partition:

lsblk -f

Look for the partition formatted as ntfs (e.g., /dev/sdb1 or /dev/nvme0n1p3). Note down its identifier (/dev/sdXn) and its UUID (a long string of numbers and letters).

Step 4: Create a Mount Point

Create a directory where the partition's files will be accessible:

sudo mkdir -p /mnt/ntfs

Step 5: Mount the Partition Manually

To temporarily mount the partition with full read and write permissions, run:

sudo mount -t ntfs-3g /dev/sdXn /mnt/ntfs

Replace /dev/sdXn with your actual partition identifier (e.g., /dev/sda2).

You can now read, edit, and create files inside the /mnt/ntfs folder.

To unmount the drive when finished:

sudo umount /mnt/ntfs

Step 6: Mount the NTFS Partition Automatically on Boot

To automatically mount the drive with read/write access every time Ubuntu starts, add it to your filesystem table (/etc/fstab).

  1. Open /etc/fstab in a text editor:

    sudo nano /etc/fstab
  2. Add the following line at the end of the file, replacing YOUR-NTFS-UUID with the actual UUID obtained in Step 3:

    UUID=YOUR-NTFS-UUID /mnt/ntfs ntfs-3g defaults,uid=1000,gid=1000,dmask=027,fmask=137 0 0

    Note: uid=1000 and gid=1000 assign file ownership to the primary user account in Ubuntu.

  3. Save and close the file (Ctrl + O, then Enter, then Ctrl + X).

  4. Test the configuration to ensure there are no errors:

    sudo mount -a

If no errors appear, the NTFS partition is successfully configured for full read and write access on every startup.