Messed up automount folder, need help fixing fstab

Mounted my SSD in /var/games instead of var/mnt/games by mistake, now getting this error: mount: Partition: unknown filesystem type '/var/games' I'd like to fix this before messing up my system even more. Attaching my fstab file
42 Replies
asen23
asen23•3w ago
remove the first line and redo the automounting
NodeBoy
NodeBoyOP•3w ago
in the text file? New Partition /var/games defaults just delete this?
asen23
asen23•3w ago
yes remove that line
NodeBoy
NodeBoyOP•3w ago
can I leave it empty?
NodeBoy
NodeBoyOP•3w ago
No description
termdisc
termdisc•3w ago
UUID=1ca6264c-19de-4d90-9689-ce3060a3b704 /var/mnt/M2\040SSD btrfs compress-force=zstd:3,lazytime,commit=120,space_cache=v2 0 0 the \ after M2 is facing the wrong way or is otherwise a mistake yes you'll want to mount it back at /var/mnt/games as well
NodeBoy
NodeBoyOP•3w ago
not sure where the \ comes from
asen23
asen23•3w ago
what is ls /var/mnt
NodeBoy
NodeBoyOP•3w ago
No description
NodeBoy
NodeBoyOP•3w ago
created this folder after realizing I wasnt using the good folder to automount
termdisc
termdisc•3w ago
\040 is interpreted as a space. makes sense now
asen23
asen23•3w ago
yep, TIL lol
NodeBoy
NodeBoyOP•3w ago
oh well, same here haha
termdisc
termdisc•3w ago
I avoid spaces in mount points just to save a headache hah
NodeBoy
NodeBoyOP•3w ago
I can change it all freshly new to linux, first time mounting something etc
asen23
asen23•3w ago
also you should create /var/mnt/games before mounting there
NodeBoy
NodeBoyOP•3w ago
m2 ssd isnt good? it should be games?
asen23
asen23•3w ago
oh you want that
termdisc
termdisc•3w ago
what do you want it to be?
NodeBoy
NodeBoyOP•3w ago
dont really care
termdisc
termdisc•3w ago
if it's your games drive, games is fine
NodeBoy
NodeBoyOP•3w ago
just want to mount my m2 somewhere and dump all big software on it mostly going to be games
termdisc
termdisc•3w ago
the name itself is personal preference change that line to be /var/mnt/games then
NodeBoy
NodeBoyOP•3w ago
No description
NodeBoy
NodeBoyOP•3w ago
No description
NodeBoy
NodeBoyOP•3w ago
that should work right?
termdisc
termdisc•3w ago
i'm going to tentatively say yes because nothing looks broken
NodeBoy
NodeBoyOP•3w ago
No description
asen23
asen23•3w ago
defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail is the recommended
NodeBoy
NodeBoyOP•3w ago
no more errors copied the text in the guide, I should add nofail?
asen23
asen23•3w ago
nofail should be added by the dont prevent checkbox you can check by cat /etc/fstab
NodeBoy
NodeBoyOP•3w ago
yeah ok it adds the box if I mount an NTFS HDD, will I get troubles? its all my movies, music, iso etc basically just raw storage
asen23
asen23•3w ago
if you want to avoid corruption issue, mount it readonly
NodeBoy
NodeBoyOP•3w ago
but then I couldnt use it to download more things onto it 😦
asen23
asen23•3w ago
you can use it and fix it once in a while or just use something like exfat do note you cant store games on exfat and ntfs
NodeBoy
NodeBoyOP•3w ago
dont want to store games on it, only "read" files everything else will go to my ssds
asen23
asen23•3w ago
yeah but the ntfs driver in linux is still janky
NodeBoy
NodeBoyOP•3w ago
ok, maybe I'll reformat it then
asen23
asen23•3w ago
i think the journal can be broken once in a while
NodeBoy
NodeBoyOP•3w ago
I'll try using it a little and backup the important part lol thanks guys!
HikariKnight
HikariKnight•3w ago
mainly wine/proton that corrupts it and you placing files with illegal characters on the drive
termdisc
termdisc•3w ago
more specifically, the prefixes use symlinks which are not compatible with exfat, and certain characters are not permitted with NTFS (: in the drive letter symlinks). Proton uses a lot of symlinks for individual files as well

Did you find this page helpful?