Today I update Manjaro KDE from former update 08-12, same kernel line: 6.18
Everything went alright, rebooted.
Then I had a problem of ressources with Chromium and I hard shutted(power off).
Reboot.
Now, I wish to mount a ntfs partition (Dolphin/Thunar) and get:
“error mounting /dev/sda5 at /run/media/k262/MMedia: wrong fs type, bad option, bad superlock on /dev/sda5, missing code page or helper pgm, or other error.”
Then I tried:
sudo ntfsfix -d /dev/sda5
but I get:
sudo: ntfsfix: command not found
I also tried:
❯ sudo /usr/bin/ntfsfix -d /dev/sda5
sudo: /usr/bin/ntfsfix: command not found
Ntfsfix is gone in this last update?
I saw ntfsfixboot in AUR
installed it, but didn’t change error
Hello @artofit, I have moved your post to a dedicated Topic for focused attention.
What you will need to do to fix the issue with your NTFS partition(s) is to boot into a Windows environment (such as Hirens Boot CD) and run the proper filesystem check and repair from there. You are currently unable to mount it properly due to the “dirty bit” having been set as a result of improper shutdown and only native (Windows) tools can “properly” fix that.
From such an environment, issue chkdsk X: /f. Replace x with your “drive letter”.
… it just clears the “dirty bit”, as far as I know. @artofit Always use native NTFS tools. Linux tools are “reverse-engineered” and don’t have the necessary functionality to actually, properly repair an NTFS partition.
The so-called “dirty bit” has been triggered on your NTFS volume; the ntfs3 module has refused to mount the volume and an error message is displayed.
Until the volume is fixed, ntfs3 will not allow it to be mounted – this is a security feature of ntfs3 and it is expected.
Resolution:
You must run Microsoft’s chkdsk from an administrative command prompt (or PowerShell) in a Windows environment.
The basic command needed is:
chkdsk /f x:
Substitute x: for the drive letter of the volume in question.
Note that this command is generally sufficient to repair most file system errors that might prevent safe operation, however chkdsk also has more in-depth operations which might be considered if the situation warrants. For example, if bad sectors need to be repaired, the basic command will not be sufficient.
See the link (above) to learn about available options.
Please avoid any Linux tools that imply they can be safely used on an ntfs volume under Linux. Using chkdsk in a Windows environment is the only reliable method.
The following contains important information, including possible options if you do not have a Windows environment readily available:
ntfsfix is provided with ntfsprogs package along with other ntfs related programs.
The only proper way to fix a ntfs filesystem is by using Windows chkdsk - if you don’t have Windows you can use hiren’s boot cd or download a full Microsoft installer ISO.
Using the installer ISO: Boot the ISO - don’t start the installer - but press ShiftF10 then run diskpart to identify the disk.
When properly identified you can use chkdsk to repair it.