Skip to content

Instantly share code, notes, and snippets.

@Utshaw
Last active May 25, 2020 02:53
Show Gist options
  • Save Utshaw/8515727797d39976fc81661dc071ecf1 to your computer and use it in GitHub Desktop.
Save Utshaw/8515727797d39976fc81661dc071ecf1 to your computer and use it in GitHub Desktop.
Mount NTFS file system with read/write option
Turn off windows cache for the specific drive from windows 10: https://www.maketecheasier.com/disable-disk-write-caching-windows10/
On Ubuntu (make sure sda1 is unmounted): sudo mount -t ntfs-3g /dev/sda1 /mnt/ntfs/
The above command can give following error:
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.)
For resolving the above error:
sudo ntfsfix /dev/sda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment