trouble auto mounting nas
Hey y'all I figured would discuss my use case and see if this is even possible. I currently have a windows HTPC that I have windows and retrobat installed.on for emulation. I mounted my NAS as a mapped drive and then I used symlinks to Symlink my different systems in ROMs to the ROMs folder of retrobat so I load up all of my ROMs from my NAS.
I want to switch to bazzite for a more console like experience using Retrodeck but I'm not sure how to mount my Nas as a network drive. When I look it up it says it isn't possible because it's immutable and I've been having trouble mounting it in regular fedora workstation as well. Is there any way to do this?
16 Replies
This looks promising https://linuxconfig.org/how-to-mount-a-samba-shared-directory-at-boot
Since you using an Atomic desktop you'd need to run the script below to add this to your current installed layers
You have to reboot for the new layer with cifs-utils to be available.
Then just follow the rest of the guide
Linux Tutorials - Learn Linux Configuration
How to mount a Samba shared directory at boot
In this tutorial we see how to mount a Samba shared directory at boot using cifs-utils on any Linux distribution.
![No description](https://cdn.answeroverflow.com/1245470917522358422/Screenshot_20240529_161628.png)
not sure what this means
cifs is already in the image, just add (and change to fit your config) to fstab
the credential file looks something like this
you might however have to do a
sudo mount -a
after login if you so like i do and mount to a special folder, idk why i have to do this on atomic though π€
also do test with sudo mount -a
before rebootingmount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload
this is what i get when sudo mount -a
your options are wrong (maybe credentials file)
so i already had a credentials cause i did this same thing on a linux mint install a couple of days ago
user=Sirchacha
password=pw
domain=WORKGROUP
thas whats in mine
ugg i redid everything andnow im getting this
mount error(115): Operation now in progress
try umount the path then mount -a again
how would i unmount?
not much else i can suggest since the options you need might be different for your share config, but it should be the same entry you use in mint
ok
sudo umount /path/to/folder
at this point specifically the samba share mountpoint (the folder you want it to be mounted) as it might be stuck trying to mount itmaybe a restart?
im about to sign out for the day. got a day full of meetings tomorrow π
make sure you comment out the mount then just to be safe, there is a reason we tell people to test with mount -a first because editing the fstab is one way to brick your install (until you manually fix it with a live usb)
op[, i got it, forgot to delete your ip and add mine lol