Mounting Read/Write NTFS Partitions
First, create the destination folder on your local filesystem:
mkdir /Data
Now, find the UUID of the DISK (NOT partition) you want to mount by using the blkid command:
sudo blkid
you should see a bunch of lines like this:
/dev/sdb2: LABEL="WinData" UUID="4EC294D2C294C01F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d59d369f-96ad-42a0-922c-9f0da417dcc8"
You'll know which line to use by matching the "LABEL" value with the name of the disk as seen in Windows Explorer. The part of this line that you want is the UUID. In this example:
UUID="4EC294D2C294C01F"
You only need the actual alpha-numeric UUID. Use that value in a new line in your /etc/fstab file like this:
UUID=4EC294D2C294C01F /Data ntfs defaults,windows_names,locale=en_US.utf8,umask=007,gid=46 0 0
NOTE: The two values above: "/Data" and "4EC294D2C294C01F" are unique to MY situation. As stated above, you need to create a directory somewhere on your local fillesystem "/Data" and you need to find the UUID of the drive you're trying to mount "4EC294D2C294C01F". Don't just copy those two values, because they aren't going to work.
NOTE #2: The "gid" listed in that line is your unix group id. It will commonly be the same as your userid (1000) if your user is the only account on the system. You can confirm your group id by looking for your username in the following file: /etc/group
After you've added the lines (you can add one or more at the same time) save your file and then force a reload of your fstab file:
sudo mount -a
If all goes well, you should now have access to your drives.
What if I receive an error?
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
That means we need to go back into windows and do two things:
Run a chkdsk
Disable hibernation
That will be covered elsewhere. The problem is that modern versions of Windows perform some proprietary filesystem black magic that makes it unsafe to access the data on your disk as long as Windows Fast Start is enabled. If you want to access it via Linux, then you need to disable that feature.