Nowadays it is no problem to read and write to NTFS volumes with Linux. But sometimes they can be mounted only as read-only.
The unclean file system
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.)
In this case use ntfsfix to handle this problem:
sudo ntfsfix /dev/sdf1 Mounting volume... The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. FAILED Attempting to correct errors... Processing $MFT and $MFTMirr... Reading $MFT... OK Reading $MFTMirr... OK Comparing $MFTMirr to $MFT... OK Processing of $MFT and $MFTMirr completed successfully. Setting required flags on partition... OK Going to empty the journal ($LogFile)... OK Checking the alternate boot sector... OK NTFS volume version is 3.1. NTFS partition /dev/sdf1 was processed successfully.
Hibernation stuff
In other cases there can be hibernation files left which contain unsafed data. If you want to discard them an contine to mount do:
Windows is hibernated, 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.)
sudo mount -o remove_hiberfile /dev/sdf1 /tmp/ntfs
(Edited 24-10-19)
Comments