• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Can't mount RetroPie in AutoFS on Ubuntu

Scheduled Pinned Locked Moved Help and Support
sambasmbmount
4 Posts 2 Posters 473 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Maynard
    last edited by 2 Oct 2019, 19:18

    Hi,

    i can access to retropie using thunar file manager on xubuntu 18.04, but i fail when i try to mount it using autofs or classic 'mount' and i think its because there is no username and password. This line works for all my samba shares

    retropie     -fstype=cifs,uid=1000,username=user,password=password     ://192.168.10.21
    

    When i omitt username and password the folder 'retropie' is created but when i try 'ls /autofs/retropie' i have the error that the folder doesn't exist. When i try it with this command

    sudo mount -t cifs //192.168.10.21 /mnt
    

    i have to enter a password for 'root@192.168.10.21'. Also '-o guest' doesn't work, there is no such option for mount.

    M 1 Reply Last reply 2 Oct 2019, 19:22 Reply Quote 0
    • M
      mitu Global Moderator @Maynard
      last edited by mitu 10 Feb 2019, 20:22 2 Oct 2019, 19:22

      @Maynard said in Can't mount RetroPie in AutoFS on Ubuntu:

      i have to enter a password for 'root@192.168.10.21'. Also '-o guest' doesn't work, there is no such option for mount.

      Actually there is such an option (see man mount.cifs):

      $ sudo mount -t cifs -o guest //retropie/roms /mnt
      $ ls -l /mnt/
      drwxr-xr-x 2 root root      0 Jun  8 03:59 3do
      drwxr-xr-x 2 root root      0 Aug 31 13:38 amiga
      drwxr-xr-x 2 root root      0 Apr 14  2018 amstradcpc
      drwxr-xr-x 2 root root      0 Sep 15 15:58 arcade
      drwxr-xr-x 2 root root      0 Feb  7  2019 arcadia
      drwxr-xr-x 2 root root      0 Jul  9 20:46 atari2600
      drwxr-xr-x 2 root root      0 Apr 14  2018 atari5200
      drwxr-xr-x 2 root root      0 Apr 14  2018 atari7800
      drwxr-xr-x 2 root root      0 Apr 14  2018 atari800
      drwxr-xr-x 2 root root      0 Apr 14  2018 atarilynx
      drwxr-xr-x 2 root root      0 Mar 23  2019 atarist
      drwxr-xr-x 2 root root      0 Jul 22 18:06 c64
      drwxr-xr-x 2 root root      0 Jun  9 05:26 coco
      drwxr-xr-x 2 root root      0 Mar 31  2019 coleco
      drwxr-xr-x 2 root root      0 Apr  1  2019 crvision
      drwxr-xr-x 2 root root      0 Jan 18  2019 daphne
      ...
      
      1 Reply Last reply Reply Quote 0
      • M
        Maynard
        last edited by 4 Oct 2019, 14:42

        OK this works. But i only works when i mount the specific folder and not when i mount only //retropie. normally when there are more then one folder i want to access to i don't mount the single folder. When i go to the mount point i can choose the folder i want.

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by mitu 10 Apr 2019, 17:14 4 Oct 2019, 16:13

          That's not going to work, it's how CIFS/SMB works. You can't mount a host, just a share. Sure, the file browser shows you the available shares, but even on Windows (using Map Drive) you can't do that.
          Maybe there's another solution with an intermediary program that reads the shares and mounts them separately so you can see them side-by-side, but underneath mount will still only map each shared folder.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

            This community forum collects and processes your personal information.
            consent.not_received