13

Recently I wanted to fix one of my SATA Hard Disks that had a damaged NTFS file system. For this, I referred to this question: Ubuntu 13.04 is unable to mount a disk drive from ex-windows system in which a tool called ntfsprogs is installed in Ubuntu.

As I did not encounter the package ntfsprogs on the Ubuntu Software Center even after running sudo apt-get update, how can I get it?

3
  • 1
    Does the package ntfs-3g itself addresses the question? it's installable from Ubuntu rep. by the way. – Ruslan Gerasimov Aug 17 '14 at 10:25
  • @RuslanGerasimov As that's probably the best way to get ntfs-3g on Ubuntu, you might want to post that (or something like it) as an answer. – Eliah Kagan Aug 17 '14 at 19:53
  • On April 12, 2011 it was announced that Ntfsprogs project was merged with NTFS-3G en.wikipedia.org/wiki/Ntfsprogs # Do not do install ntfsprogs as on newer versions it uninstalls ntfs-3g ntfsfix - fix common errors and force Windows to check NTFS See also man ntfsfix – oldfred Aug 18 '14 at 23:33
24

The ntfsprogs package was renamed to ntfs-3g in Ubuntu 13.04. Hence, from Ubuntu 13.04 onwards, one would use:

sudo apt-get install ntfs-3g

However, this package lags a bit behind the latest version. Hence one may wish to compile from source to get the latest version.
As of August 19, 2014, the latest version on the website is 2014.2.15, released on February 23, 2014, and the latest version on Ubuntu 14.04 is 2013.1.13AR.1-2ubuntu2.


To compile from source:

Answered by OP as part of question, as a tutorial.

This is a guide on how to do so...

  1. Right now the ntfs-3g (ntfsprogs) package can be downloaded from: http://www.tuxera.com/community/ntfs-3g-download/
  2. Once downloaded, unzip the archive and cd into the directory into which you unzipped it into.
  3. Run the ./configure command.
  4. After the process completes, type make and hit return.

After following the above mentioned steps, you are free to use the ntfsfix function to repair your broken NTFS file systems.

My pronouns are He / Him

1
  • 1
    How do I run ntfsfix? Do I have to specify what hard drive/partition I want to fix? If so, how do I do that? Edit: I found out how. For anyone wondering: sudo ntfsfix /dev/<device name> – Clefspeare13 Dec 14 '15 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.