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.
Edit 2: If anyone is here for the same issue, I’ve made another post which is more directed at the issue: NTFS drives. You can find it here https://lemmy.ca/post/57140934
For managing drives and mount points I usually use
gnome-disk-utilitybecause 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.deleted by creator
/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.
deleted by creator
I can’t tell if you are saying you literally mounted the drive at
/mediaor 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!
deleted by creator
What I usually do is
sudo chown $USER -R /media/drive1deleted by creator
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.
Probably not. Yes
/runis a tmpfs, but that doesn’t affect any other filesystems mounted inside of it - those have their own permissions (or don’t in the case of FAT).Since the drives are being mounted in
/run/mediathey’re probably being mounted by your file manager, not via/etc/fstab. You could instead have them mounted on boot by the root user via/etc/fstab(the classic way) orsystemd.mount(slightly friendlier), or configure polkit to allow mounting drives without a password (more reasonable if you’re talking about external or thumb drives).The permission issue is probably for a different reason. Are you sure the filesystem(s) you’re mounting supports POSIX style permissions? FAT doesn’t, and NTFS requires a special flag for it. The files might look like they have permissions, but they’re coming from the mount options and modifying them will either fail outright or not do anything.
Edit: Run
lsblk -fto see all connected drives, partitions and file systems and their file system type.deleted by creator
But /etc/fstab has the same UUID for every drive, I have no idea what to do with it.
That would be because every entry (except
/bootand/tmp) is a subvolume of the same btrfs volume. Your other drives just aren’t in there.You might want to read
man fstaband maybe the Arch wiki pages for fstab and NTFS. It’s not that difficult as long as you make sure to not reboot with a broken fstab (usingnofailis also a good idea). And yes you can just mount them to/mediaif you want, as long as the mount point is an empty directory.Ubuntu Studio might have achieved this in a different way but since you’re in Arch land now it’s probably better to do what the Arch documentation recommends.
deleted by creator
Can you post your fstab?
deleted by creator
And your lsblk-f
deleted by creator
Are you sure? That seems unlikely. Wray does pacman -Qi util-linux say?
Also see this: https://wiki.cachyos.org/configuration/automount_with_fstab/
deleted by creator
Then please post the output of lsblk -f.
All you need to do after that is to take the UUID and add it to /etc/fstab.
deleted by creator
deleted by creator
deleted by creator
I think I may have installed ntfs-3g before the reboot
Isn’t this the legacy driver? Why do you need it?
…Respectfully, it feels like you’re falling into the classic Arch trap of “messing with too much stuff.”
I mount a whole bunch of NTFS Sata partitions at boot, on CachyOS, and they don’t need a password or FUSE driver package or anything. It just works out of the box. The only thing I chose to mess with was adding a single mount flag in fstab, and only so it plays with Windows permissions better.
deleted by creator
I just let KDE handle it. I think… it was a long time ago. I’ll turn on my PC and check my fstab in a sec.
But yeah. I’d recommend a fresh install, with the philosophy of “don’t mess with the defaults unless it isn’t working, or you have a very good reason.” As not only are CachyOS defaults pretty good, but they’re set up in a way so the system will maintain itself through updates.
It’s (ironically) very different than my experience with Ubuntu, where I had to manually maintain a bunch of stuff and fight the system packages.



