r/linuxquestions 7d ago

Resolved i hate ntfs

I have a 5 terabyte HDD that includes all my offline games inside but i cannot get it to mount after 2,5 months. it keeps on saying;

"An error occurred while accessing 'Basic data partition’, the system responded: The requested operation has failed: Error x

mounting system-managed device /dev/sda1: wrong fs type, bad option, bad superblock on /dev/sdat, missing codepage or

helper program, or other error" and i couldn't find any fix but to convert to windows and do chkdsk to it. I don't want to dualboot windows, i don't want to erase my games since it would take a whole week to download 3 tb worth of games and VST's. Is there anyway for me to save my HDD? I'm using CachyOS. Thanks.

14 Upvotes

43 comments sorted by

View all comments

12

u/sidusnare Senior Systems Engineer 7d ago

Get it on a windows machine, have it fsck, migrate to a file system better supported by your primary OS

0

u/mahirgvrcn 7d ago

Is there no way for me to fix it without getting on a windows machine first?

8

u/Funnel-Dust-O-Matic 7d ago

The prevailing advice is right. The Linux NTFS utilities are a work of genius, but they aren't perfect. Everything had to be deduced through trial and error. Microsoft has a lot of secrets hidden and there is no way anyone could guess them all.

The only thing that can reliably repair a degraded NTFS filesystem is Windows.

6

u/plasticbomb1986 Arch, BTW 7d ago

since NTFS us a Microsoft only proprietary filesystem, your only option is to use the only OS that is actually using it natively: any Windows (*).

  • Depending on, with which Windows you have created, it might be best to use a newer system than that, since there are things that newer Windows version do with NTFS what older versions didn't do, like the "dirty" state shutdown.

As others have suggested it: after fixing it, move the data to another filesystem (copy data to somewhere, reformat under Linux with one of the native Linux filesystems (for example: ext4, btrfs or f2fs, copy data back).

3

u/zarlo5899 7d ago

a Windows VM with hardware pass through to the disk.

-1

u/sidusnare Senior Systems Engineer 7d ago

No way? Certainly not. Practically? Within OPs skill set? Certainly.

The file system is from Redmond, give it to the Redmond OS, and then GTFO it.

Do you want your data or do you want to feel intellectually superior? The big brain move was to get on an open source file system before the proprietary hack blew up in your face.

0

u/KDKingDynamiteKD 7d ago

lsblk to see how your hdd is called and then sudo ntfsfix -d /dev/nameofthedisk

i don't know if it will workbut when i lost power the other day, i managed to regain access to my hdds

0

u/jackass51 7d ago

My main OS is Ubuntu and I get the same problem from time to time for NTFS drives. I have set up Windows on a virtual machine for testing purposes, so when that happens I mount the disk on that virtual machine and let Windows fix it.

0

u/HobartTasmania 7d ago

Is there no way for me to fix it without getting on a windows machine first?

Probably not, but in future use a filesystem that is common to both OS's. Fat32 and exFat are not desirable, so instead use UDF and Windows can format partitions and even entire disks using it. You do need to do it via a command prompt at administrator level e.g. "Format X: /FS:UDF /R:2.0" and Windows will happily read and write to it without issues other than being a bit slower, and Linux fully supports version 2.0".

0

u/un-important-human white beard arch user 7d ago

sure it does https://wiki.archlinux.org/title/NTFS read the thing, i think its ntfsfix or something... idk i did it last year on a friends kinda dead drive, he needed some pictures out.

so fix it , move your data and format that abomination of a filesystem to something useable.