16
submitted 1 day ago* (last edited 20 hours ago) by Jack_Burton@lemmy.ca to c/linux@lemmy.ml

I just installed Cachyos and I'm having trouble with mount points I think. At boot, I need a password to mount sata drives, and whatever permissions I change don't stay after rebooting. From what I can tell, it has to do with the drives mounting on /run/media, and apparently /run is a temp folder or something.

I think I need to change the mount points to something else, like /media (which doesn't exist and I'm hoping I can just create the folder and use it as a mount point?)

fstab is confusing me, can anyone help me with a quick rundown?

Edit: Think I've got it using gnome disk utility. I switched the mounts, everything boots up connected now. Had an issue where I couldn't read or write to the drives tho haha, but seems to have corrected after a reboot ( I think I may have installed ntfs-3g before the reboot). The owner and group for all of them are now root for some reason, but it seems to be working anyway.

you are viewing a single comment's thread
view the rest of the comments
[-] Neptr@lemmy.blahaj.zone 3 points 1 day ago* (last edited 1 day ago)

For managing drives and mount points I usually use gnome-disk-utility because it makes everything easier and it uses mount options like nofail by default. You can choose whether a drive requires password to mount in there too.

[-] Jack_Burton@lemmy.ca 1 points 1 day ago

Interesting. I just checked, is this right? Unmount > additional partition options > deselect user session defaults > edit mount point to /media? The existing mount point in that section is /mnt/2c148... is that meant to be different from /run/media that it's currently on?

[-] Neptr@lemmy.blahaj.zone 1 points 20 hours ago

/run/media is for ephemeral mount points (like a removable USB drive). /mnt is for more permanent mount points. Idr what /media is for but I have seen some Linux distros also use it for removable media.

[-] Jack_Burton@lemmy.ca 1 points 20 hours ago

Appreciate it. I made a folder called media in root and mounted them there per your suggestion with gnome disk utility. I think part of the problem may have been I didn't know to install ntfs-3g (only used Ubuntu Studio prior to this which had a bunch of stuff auto installed). I had an issue after mounting where all the drives were read only but a reboot solved it, though I think I installed ntfs-3g right before the reboot so I can't be sure what made it work. The drives are all owner group root root now but they work at least.

[-] Neptr@lemmy.blahaj.zone 1 points 15 hours ago

I can't tell if you are saying you literally mounted the drive at /media or that you mounted it at a subfolder, example: /media/drive1. The 2nd is the proper way of doing it.

Either way, glad I could help!

[-] Jack_Burton@lemmy.ca 1 points 8 hours ago

Sorry it's the second. Each drive has a folder in /media that it's mounted in. Not sure if they're meant to be root:root though, when I chown nothing changes. I think I might need figure out chmod 755 stuff. It all seems to be working except my server can't write to any of them, it says they're read-only. They're also mounted as fuseblk.

[-] Neptr@lemmy.blahaj.zone 1 points 4 hours ago

What I usually do is sudo chown $USER -R /media/drive1

[-] Jack_Burton@lemmy.ca 1 points 3 hours ago

No go, can't change it. Gonna start from scratch I think.

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)
this post was submitted on 17 Dec 2025
16 points (100.0% liked)

Linux

57274 readers
443 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS