We stand with Palestine ❤️ Free Palestine 🇵🇸

No to genocide in Gaza. No to the killing of civilians. No to targeting hospitals and schools. No to deception and double standards.

How to fix a read-only NTFS partition on Linux?

Over the past ten years of Linux usage, I have frequently switched from Windows to Linux without properly restarting the Microsoft OS, which has caused me problems with NTFS/Windows partitions. To fix these problems, I was obliged to restart my Linux distro so that I could reboot the "hibernated Windows OS"; it was annoying.

One day I said there must be a way less painful, so I went to my favorite web browser, Firefox, and did a simple search to find the helpful "ntfsfix" tool that got me rid of that annoyance. To not be stingy, I decided to share with you how to use this small and powerful tool.

{tocify} $title={Table of Contents}

What is ntfsfix?

ntfsfix is ​​a command-line tool that can fix some common NTFS issues. 

"It repairs some fundamental NTFS inconsistencies, resets the NTFS journal file, and schedules an NTFS consistency check for the first boot into Windows," explains Ubuntu.

This tool has several uses, but the results are not guaranteed. So use it at your own risk.

Check out my list of the best reliable and cheap external HDD/SSD available on the market:

{getButton} $text={Check it out} $icon={info} $color={#e47911}
{alertInfo}

How to fix a read-only NTFS partition/disk on Linux?

  • Open a terminal window;
  • Make sure that the utility is there. Otherwise, you can get it by installing the NTFS-3G package:
ِCheck: ntfsfix -v or Install: sudo apt install ntfs-3g (Change the last command line depending on the distribution you are using.){codeBox}
  • List block devices (disks & partitions) using lsblk:

lsblk{codeBox}

  • After identifying the affected device, repair it using the following command line: 
ntfsfix /dev/sdXY (replace sdXY with the appropriate device path.){codeBox}
  • Umount the device & mount it again;
  • Congratulations, you have fixed a problem that took me months in a minute.

📣Do you know another utility that can fix this problem? Tell us in the comments.

If you find Linux-Tech&More helpful, consider supporting it on Open Collective. For more supporting options, contact me.{alertIdea}
Djalel Oukid

Science teacher, PhD student, Master degree in Microbial biotechnology , Microbiologist, designer, video editor, podcaster & blogger. linkedin portfolio github

Comments are welcomed and encouraged on this blog. Spam, abusive and off-topics comments will be deleted. Please read our Comments policy before commenting.

Post a Comment (0)
Previous Post Next Post
Blackview BV9900 Pro Thermal Camera Mobile Phone Helio P90 Octa Core 8GB+128GB IP68 Rugged Smartphone 48MP Quad Rear Camera