0

I am trying to mount an external USB HDD, but it does not work. When I try to mount the drive with

sudo mount /dev/sda1 /mnt/usb_hdd

the response is the following error message: Failed to calculate free MFT records: No such file or directory

Same result with different mount options sudo mount -t ntfs /dev/sda1 /mnt/usb_hdd, sudo mount -t ntfs-3g /dev/sda1 /mnt/usb_hdd.

I tried to fix the issue with sudo ntfsfix /dev/sda1 which outputs

Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda1 was processed successfully.

When mounting the same error message as above is thrown. I am looking for any advice on how to fix this issue!

Best, malluss

4
  • 1
    Either your hdd is dying/dead (badblocks) or you still have NTFS errors (run chkdsk /F under Windows). ntfsfix is a barebone utility which often doesn't really fix anything. Commented May 3, 2021 at 13:17
  • Maybe the disk its corrupted. Maybe you shrinked and growing it?. In other forums mention that this tool was helpfull: cgsecurity.org/wiki/TestDisk Commented May 3, 2021 at 13:28
  • A word of caution: if the HDD is indeed dying running badblock may actually make restoring data less possible. Commented May 3, 2021 at 15:05
  • Thank you for your answers! I was able to solve it. Booting into Windows with the HDD attached the HDD triggered the drive check automatically and corrected the issue. Commented May 4, 2021 at 19:57

2 Answers 2

1

Happened to me by the past, it is likely the hard drive wasn't properly unmounted by Windows. What did the trick for me :

  • boot back into Windows,
  • browse the hard drive
  • cleanly unmounit it (if USB), or properly shut Windows down (you may want to make sure "Fast Boot" isn't enabled in Windows' power settings)
  • boot back under linux and try again.

If it's a USB disk, instead of the above you can simply attach it to any another Windows machine and "safely disconnect" the drive, this should do the trick as well.

1
  • NTFS is a Microsoft proprietary file system, so to think that Linux can correctly work with and/or fix and NTFS file system is foolish. Which is why what is described here should always be done [first] and don't use any linux ntfs fixing utilities. Also turn off Turn on Windows Fast Startup in Windows which was introduced in windows10 which leaves the filesystem in a hibernated type state rather that being cleanly unmounted when a windows pc is powered off and is what initially nuked everybody in linux ntfs-3g back in the day when win10 first came out. Commented Sep 9 at 14:21
0

Generally issues like this are fixed one of two ways.

  1. Make sure the drive is properly unmounted from windows before you close it.
  2. Boot into windows (or a windows VM), or a windows installer, and run CHKDSK on it.

Disable fast startup on windows to make windows properly shut down, this should be enough to make sure the drive unmounts properly when you shut down windows. This does not apply in your case because you're using an external drive.

For external drives it can only really be the CHKDSK method.

So you plug it into a windows machine (or VM), go to the this pc menu or whatever they call it these days, right click on the drive in question, go to properties and then from there you should be able to find an option to check the drive for errors and fix them, that runs chkdsk on it.

After this, whenever removing the drive from wnidows, make sure to unmount it properly by using the 'safely remove' or 'eject' functionality before unplugging it. (you should also do the same on linux).

ntfsfix is a stopgap measure, it doesn't actually fix anything, it's just a trick to ignore the errors and mount anyways, but it won't always work. CHKDSK is needed to actually fix errors, no way around it. And it unfortunately doesn't work on Linux.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.