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
# or
lsblk -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/sdc1
Mounting volume... $MFTMirr does not match $MFT (record 0).
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...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/sdc1 was processed successfully.


Thought the article, You has fixed NTFS not mount from Linux use ntfsfix command on Linux . I hope will this your helpful.


Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6