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•2mo ago
remove the first line and redo the automounting
NodeBoy
NodeBoyOP•2mo ago
in the text file? New Partition /var/games defaults just delete this?
asen23
asen23•2mo ago
yes remove that line
NodeBoy
NodeBoyOP•2mo ago
can I leave it empty?
NodeBoy
NodeBoyOP•2mo ago
No description
termdisc
termdisc•2mo 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•2mo ago
not sure where the \ comes from
asen23
asen23•2mo ago
what is ls /var/mnt
NodeBoy
NodeBoyOP•2mo ago
No description
NodeBoy
NodeBoyOP•2mo ago
created this folder after realizing I wasnt using the good folder to automount
termdisc
termdisc•2mo ago
\040 is interpreted as a space. makes sense now
asen23
asen23•2mo ago
yep, TIL lol
NodeBoy
NodeBoyOP•2mo ago
oh well, same here haha
termdisc
termdisc•2mo ago
I avoid spaces in mount points just to save a headache hah
NodeBoy
NodeBoyOP•2mo ago
I can change it all freshly new to linux, first time mounting something etc
asen23
asen23•2mo ago
also you should create /var/mnt/games before mounting there
NodeBoy
NodeBoyOP•2mo ago
m2 ssd isnt good? it should be games?
asen23
asen23•2mo ago
oh you want that
termdisc
termdisc•2mo ago
what do you want it to be?
NodeBoy
NodeBoyOP•2mo ago
dont really care
termdisc
termdisc•2mo ago
if it's your games drive, games is fine
NodeBoy
NodeBoyOP•2mo ago
just want to mount my m2 somewhere and dump all big software on it mostly going to be games
termdisc
termdisc•2mo ago
the name itself is personal preference change that line to be /var/mnt/games then
NodeBoy
NodeBoyOP•2mo ago
No description
NodeBoy
NodeBoyOP•2mo ago
No description
NodeBoy
NodeBoyOP•2mo ago
that should work right?
termdisc
termdisc•2mo ago
i'm going to tentatively say yes because nothing looks broken
NodeBoy
NodeBoyOP•2mo ago
No description
asen23
asen23•2mo ago
defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail is the recommended
NodeBoy
NodeBoyOP•2mo ago
no more errors copied the text in the guide, I should add nofail?
asen23
asen23•2mo ago
nofail should be added by the dont prevent checkbox you can check by cat /etc/fstab
NodeBoy
NodeBoyOP•2mo 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•2mo ago
if you want to avoid corruption issue, mount it readonly
NodeBoy
NodeBoyOP•2mo ago
but then I couldnt use it to download more things onto it 😦
asen23
asen23•2mo 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•2mo ago
dont want to store games on it, only "read" files everything else will go to my ssds
asen23
asen23•2mo ago
yeah but the ntfs driver in linux is still janky
NodeBoy
NodeBoyOP•2mo ago
ok, maybe I'll reformat it then
asen23
asen23•2mo ago
i think the journal can be broken once in a while
NodeBoy
NodeBoyOP•2mo ago
I'll try using it a little and backup the important part lol thanks guys!
HikariKnight
HikariKnight•2mo ago
mainly wine/proton that corrupts it and you placing files with illegal characters on the drive
termdisc
termdisc•2mo 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?