Just installed CachyOS and the drive I used alongside system drive for media\archive storage can’t get mounted anymore. It’s internal HDD and uses NTFS, I created it on Windows 10 years ago and used all this time from under Mint (no dualboot, only Mint). I did a regular reboot before OS switch and didn’t even mount it this time.

While trying to access said drive, dolphin prints that:

An error occurred while accessing ‘drive’, the system responded: The requested operation has failed: Error mounting /dev/sda1 at /run/media/user/drive: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error

Where can I start my fixing journey? Where I can look for precise reason it fails?

All components are 5-10 years old if it matters. The other HDD that I formatted under Mint works just fine. It’s probably a CachyOS vs NTFS problem.

[new]

I succeed at force-mounting it via ntfs 3g, but it seems it really was a problem with a bad block or something originating from windows. Checks were passed with 0 errors, so I assume it’s a little funni M$ gave me with a divorce letter.

Instead of finding a way to force-mount it every time, I tried checking it via WinPE, and it helped remove the cause of errors.

I’m yet to understand what is really behind that, filesystem differences and how OSs work with them, so if you have good articles, please share these.

  • swab148@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    7
    ·
    3 months ago

    What was your mount command? You might have to do something like mount -t ntfs3 /dev/sda1 /whereveryouwannamountthething or edit your fstab entry, something like /dev/sda1 /whereveryouwannamountthething ntfs3 defaults 0 0

    Here’s the Arch wiki page for NTFS, the Arch wiki is usually where I’d start for fixing stuff, their documentation is fantastic.

    • CubitOom@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      Not sure if cachy-os will auto mount. But after installing the ntfs-3g package, make sure you reboot.

      If it still doesn’t work you can try to manually mount it or edit you’re fstab so it it auto-mounted and assigned to the same device label.

    • altkey (he\him)@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Thank you. I resolved the issue thanks to our brainstorming. Upd in OP.

      (Sorry for a copy-paste answer, it’s not about you, it’s that my anxiety doesn’t handle personal adresses well rn)

      • shrugs
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        NTFS doesn’t like to not cleanly getting shit down. I remember I needed to boot windows again and then shutdown, in order to access my NTFS volume from Linux, because last time windows didnt shutdown cleanly. Glad you got it fixed

    • Successful_Try543@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 months ago

      The linked post is 8 years old. AfaIk, by now ntfs is in the regular Linux kernel (ntfs3) and the ntfs-3g FUSE driver in principle isn’t necessary anymore. Yet, one may give ntfs-3g a try if the ntfs3 kernel module doesn’t work.

      OP may also try running ntfsfix to repair the partition.

      • shrugs
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        TBH I was only interested in the install instructions (program name) for arch/pacman. Havent used an ntfs fs in ages but there is still a package for ntfs-3g in debian. He obviously lacks ntfs support atm

        • Successful_Try543@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 months ago

          No, ntfs-3g is not strictly necessary for NTFS support, (mount -t ntfs should already work). It just offers more options and features than the standard ntfs3 which is already built into the Linux kernel. Yet, ntfs-3g performs better under some circumstances (mount -t ntfs-3g). It also provides ntfsfix and other neat tools.

  • LifeInMultipleChoice
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 months ago

    see if you can get it to manually mount with ntfs-3g. If you can, set an auto mount after.

    Manually it should look something like

    sudo mkdir /mnt/drivename

    sudo mount ntfs-3g /dev/sda1 /mnt/drivename

    • altkey (he\him)@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      Thank you. I resolved the issue thanks to our brainstorming. Upd in OP.

      (Sorry for a copy-paste answer, it’s not about you, it’s that my anxiety doesn’t handle personal adresses well rn)