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

    "Dosbox" mount c /home/pi/RetroPie/roms/pc doesn't exist

    Scheduled Pinned Locked Moved Help and Support
    rpi4dosbox
    5 Posts 3 Posters 626 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.
    • P
      pcwii
      last edited by

      I have searched the forum and have not found an answer to this problem.
      I am running latest RetroPie on an RPi4.
      I have mounted my roms directory from an SMB share on my NAS (this is working for other games).
      When I attempt to mount c in Dosbox it fails to mount and indicates the path does not exist. If I ssh into the box I can confirm that the path does exist so I am not sure what I am doing wrong. I have attempted various dosbox cores with the same result.
      dosbox_000.png
      From SSH
      74769fbe-08d1-4a97-84a0-add32df3c7cc-image.png

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        Can you post the mount options for the file share that you used on the RetroPie side ?

        P 1 Reply Last reply Reply Quote 0
        • P
          pcwii @mitu
          last edited by

          @mitu I edited the autostart.sh based on these instructions...https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/
          Here is my configuration.
          sudo mount -t cifs -o vers=1.0 //192.168.0.250/storage/RetroPie /home/pi/RetroPie -o guest,uid=1000
          5a6ffaf0-e3e5-43fa-bf96-c23a81d9c58b-image.png

          Thanks for the assistance.

          stooS 1 Reply Last reply Reply Quote 0
          • stooS
            stoo @pcwii
            last edited by stoo

            @pcwii Apart from the fact you have two -o switches in your mount line, looks fine to me.

            As a test, I just created a new SMB share on my NAS box and mounted it with this line:

            sudo mount -t cifs -o username=myname,password=mypassword,nounix,noserverino //192.168.1.26/dosboxtest /home/pi/RetroPie/roms/pc
            

            Then started DOSBox with the +Start DOSBox shell script and it automatically mounted /home/pi/RetroPie/roms/pc/ no problem.

            For read/write access (savegames etc.) I had to use the following:

            sudo mount -t cifs -o sec=ntlmv2,username=myname,password=mypassword,rw,file_mode=0777,dir_mode=0777,nounix,noserverino //192.168.1.26/dosboxtest /home/pi/RetroPie/roms/pc
            

            If your NAS box doesn't limit you to SMB v1 you should remove vers=1.0 from your mount command. SMB v1 sucks. You can also use uid=pi as the uid option takes usernames as well as ids.

            So for you with an anonymous connection you might try:

            sudo mount -t cifs -o uid=pi,guest,nounix,noserverino //192.168.0.250/storage/RetroPie /home/pi/RetroPie
            

            I am not an expert by any means. Someone who knows more about CIFS mount feel free to step in here. :D

            P 1 Reply Last reply Reply Quote 1
            • P
              pcwii @stoo
              last edited by

              @stoo said in "Dosbox" mount c /home/pi/RetroPie/roms/pc doesn't exist:

              sudo mount -t cifs -o uid=pi,guest,nounix,noserverino //192.168.0.250/storage/RetroPie /home/pi/RetroPie

              I am not sure why (maybe the vers=1.0) but using your recommended mount worked perfectly. I appreciate all the assistance to get this sorted. I was definitely stumped on this one. Mark this as solved.

              1 Reply Last reply Reply Quote 0
              • First post
                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.