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.
- Boot into Windows.
- Open the Control Panel and navigate to Power Options.
- Click Choose what the power buttons do.
- Click Change settings that are currently unavailable.
- Uncheck Turn on fast startup.
- 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-3gStep 3: Identify the NTFS Partition
List all connected storage devices and locate your target NTFS partition:
lsblk -fLook 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/ntfsStep 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/ntfsReplace /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/ntfsStep 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).
Open
/etc/fstabin a text editor:sudo nano /etc/fstabAdd the following line at the end of the file, replacing
YOUR-NTFS-UUIDwith 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 0Note:
uid=1000andgid=1000assign file ownership to the primary user account in Ubuntu.Save and close the file (
Ctrl+O, thenEnter, thenCtrl+X).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.