Do you have got a soiled Windows hard drive operating the NTFS file system, are experiencing points with it and don’t really feel like rebooting into Windows?  In that case, don’t fear! It’s doable to fix up a non-working Windows hard drive operating Microsoft’s NTFS file system immediately from the terminal, and it’s referred to as NTFS-fix.

Set up NTFS fix

The NTFS fix instrument doesn’t come pre-installed on Linux. Moreover, most Linux distributions can’t work together with NTFS file programs natively. So, earlier than we will get into how to clear up a hard drive operating the Windows file system, we should go over how to arrange your Linux OS to have the ability to work together with the hard drive by putting in Ntfs-3g, and another packages.

To start out the set up of NTFS fix, open up a terminal window by urgent Ctrl + Shift + T or Ctrl + Alt + T on the keyboard. Then, comply with the command-line directions that match your Linux working system beneath.

Ubuntu

On Ubuntu Linux, the NTFSFix app isn’t installable with its particular bundle. As a substitute, the  Ntfs-3g bundle which provides in assist for Microsoft Windows NTFS file system may even present the NTFS fix utility.

To put in the Ntfs-3g bundle on your Ubuntu system, use the next Apt command beneath.

sudo apt set up ntfs-3g -y

Debian

Debian Linux could be very related to Ubuntu when it comes to NTFS Fix, because it doesn’t distribute the app as a distinctive bundle, however relatively as a small piece of the Ntfs-3g bundle (which provides NTFS assist to Linux).

For those who’re on Linux and also you want this bundle, go to the terminal window and use the Apt-get command beneath.

sudo apt-get set up ntfs-3g -y

Arch Linux

To achieve entry to the NTFS Fix utility on Arch Linux, you will need to load up the NTFS-3g bundle. Nevertheless, you must know that the NTFS-3g bundle is simply obtainable within the “Extra” software program repository, which wants to be enabled.

Allow further by opening up your Pacman configuration file utilizing the Nano textual content editor.

sudo nano -w /and many others/pacman.conf

Scroll by to discover “Extra” and take away the “#” image from the “Extra” line to allow it. Then, take away the # symbols from all the strains immediately beneath it.

Save the edits to the configuration file in Nano by urgent Ctrl + O, exit with Ctrl + X, and set up the bundle with:

sudo pacman -Syy ntfs-3g

Fedora

On Fedora Linux, assist for NTFS and the NTFS Fix app are cut up between two packages. The Ntfs-3g bundle and the Ntfsprogs bundle. To put in each on your Fedora system, enter the Dnf command beneath.

sudo dnf set up ntfs-3g ntfsprogs -y

OpenSUSE

OpenSUSE handles NTFS Fix because the Fedora venture does. The NTFS userspace driver is within the Ntfs-3g bundle, whereas the NTFS Fix utility, and all different issues are within the ntfsprogs bundle. To get all the pieces working, enter the Zypper command beneath.

sudo zypper set up ntfs-3g ntfsprogs

Utilizing NTFS Fix

The NTFS Fix instrument could be very straightforward to use on Linux, because the command’s syntax and choices are very nicely defined within the “help” space of the command.

Be aware: to entry the “help” part, run ntfsfix --help.

9k=

To scrub up an NTFS filesystem hard drive on Linux with the NTFS fix, begin by figuring out the drive label of it within the terminal. The quickest method to establish a hard drive’s label on Linux is to use the lsblk command. Within the terminal, execute the command beneath.

lsblk

Look by the drive tree that the lsblk command prints out on display and do your greatest to establish the label and partition of your Windows/NTFS hard drive. Uncertain what to search for? Take a look at our in-depth information on how to discover hard drive data on Linux. It goes over the lsblk command a lot deeper than we will right here.

When you’ve bought the label of your Windows/NTFS hard drive and the partition you’d like to scan, pipe it into the command beneath to run NTFS Fix. On this instance, the drive label is /dev/sdX1. Make certain to substitute it together with your precise drive label.

Be aware: needless to say operating this instrument doesn’t work 100% of the time. Generally, if NTFS Fix can’t handle the issue, you will need to boot into Windows and run a chkdsk.

sudo ntfsfix /dev/sdX1

Let the command run its course. When carried out, all the pieces on your NTFS drive must be in working order!

Clear dangerous sectors

Want to filter out some dangerous sectors on your NTFS hard drive? The NTFS Fix can handle it! Simply use the “clear-bad-sectors” command-line swap.

sudo ntfsfix --clear-bad-sectors /dev/sdX1

Clear soiled flags

The NTFS Fix instrument can clear any “dirty flags” on an NTFS drive if the “clear-dirty” command-line swap is used.

sudo ntfsfix --clear-dirty /dev/sdX1



Source link

Share.
Leave A Reply

Exit mobile version