ntfsfix fix NTFS not mount from Linux
Today, I have not mount usb external USB into Fedora 32. External USB drive is NTFS formatted.
I will installed ntfs-3g package for fedora as below:
sudo dnf install ntfs-3g ntfsprogs
The first, check your device address , you run this command as below
sudo fdisk -l# orlsblk -f
The output device is /dev/sdXY (where X and Y are the letter of the drive's device and Y is the partition number).
So in my case /dev/sdc1 is usb drive external NTFS formatted. you will replace "device name" with your windows partition ( ex: /dev/sdb1 or /dev/sdd1 .v.v)
How to do fix it
Now, Open your terminal and run command to fix a Corrupted Windows NTFS Filesystem with Linux
[HuuPV@DevopsRoles ~]$ sudo ntfsfix /dev/sdc1Mounting volume... $MFTMirr does not match $MFT (record 0).FAILEDAttempting to correct errors...Processing $MFT and $MFTMirr...Reading $MFT... OKReading $MFTMirr... OKComparing $MFTMirr to $MFT... FAILEDCorrecting differences in $MFTMirr record 0...OKProcessing of $MFT and $MFTMirr completed successfully.Setting required flags on partition... OKGoing to empty the journal ($LogFile)... OKChecking the alternate boot sector... OKNTFS volume version is 3.1.NTFS partition /dev/sdc1 was processed successfully.
Conclusion
Thought the article, You has fixed NTFS not mount from Linux use ntfsfix command on Linux . I hope will this your helpful.
Comments
Post a Comment