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

    rom folder on network not mounted at start #network

    Scheduled Pinned Locked Moved Help and Support
    network sharenetwork
    15 Posts 2 Posters 909 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.
    • S
      Stargrove1
      last edited by

      I'd like to use the described method to store the roms (or the whole RetroPie folder) on my NAS. I followed the description "Running ROMs from a Network Share" and tried both solutions (autostart.sh and fstab). When I execute the command from autostart.sh manually over ssh, the roms are present. Same thing for the fstab entry, when calling sudo mount -a, all roms are available. But after doing the reboot, the folder does not get mounted in either methods. According to the forum entries, I tried adding sleep, changing the sequence, using several options but nothing worked.

      What else can be done to get the network connected?

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

        Can you check in raspi-config, under the Boot Options, if Wait for network is disabled or enabled ?
        Usually this kind of problem appear because the network is not ready when the mount command is executed - hence the advices to add a sleep if you're using the autostart.sh script.

        1 Reply Last reply Reply Quote 0
        • S
          Stargrove1
          last edited by

          Yes this option is set, I did follow the guide https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/ telling to activate it

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

            After you mount the driver - manually - do all your ROM folder appear correctly ?
            Can you post your entry from /etc/fstab ?

            1 Reply Last reply Reply Quote 0
            • S
              Stargrove1
              last edited by

              I used a new image whithout roms installed, when mounting manually, I checked with ls /RetroPie/roms/amiga and I saw the roms from my network, no matter if autostart or fstab method

              fstab entry (copied and modified from the guide):
              //mynas/Multimedia/Spiele/Retropie/roms cifs username=xxx,password=xxx,nounix,noserverino,defaults,users,auto 0 0

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

                @Stargrove1 Are you sure it's the correct /etc/fstab entry ? You're missing the mountpoint (2nd position), which should be /home/pi/RetroPie/roms.

                1 Reply Last reply Reply Quote 0
                • S
                  Stargrove1
                  last edited by

                  Sorry, my mistake, it has to be:

                  //mynas/Multimedia/Spiele/Retropie/roms /home/pi/RetroPie/roms cifs username=xxx,password=xxx,nounix,noserverino,defaults,users,auto 0 0

                  1 Reply Last reply Reply Quote 0
                  • S
                    Stargrove1
                    last edited by

                    Entry in the autostart.sh is:
                    sudo mount -t cifs -o username=xxx,password=xxx,nounix,noserverino //mynas/Multimedia/Spiele/Retropie/roms /home/pi/RetroPie/roms

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

                      The /etc/fstab entry seems fine. Can you try adding x-systemd.automount to the mount options and reboot to see if it's auto-mounted on start ?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Stargrove1
                        last edited by

                        When changing to

                        //mynas/Multimedia/Spiele/Retropie/roms /home/pi/RetroPie/roms cifs username=xxx,password=xxx,nounix,noserverino,defaults,users,auto,x-systemd.automount 0 0

                        no roms available, I tried to do sudo mount -a, the output is

                        /sbin/mount.cifs: invalid option -- 't'
                        
                        Usage:  mount.cifs <remotetarget> <dir> -o <options>
                        
                        Mount the remote target, specified as a UNC name, to a local directory.```
                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @Stargrove1
                          last edited by

                          @Stargrove1 I don't get that error if I test with a local address. What version of RetroPie are you using (see https://retropie.org.uk/forum/topic/3/read-this-first) ?

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Stargrove1 @mitu
                            last edited by

                            Version states 4.4.11

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

                              Sorry, can't figure out why this doesn't work. Try looking in the dmesg output after the boot or adding a larger timeout before ES starts in autostart.sh.

                              1 Reply Last reply Reply Quote 0
                              • S
                                Stargrove1
                                last edited by

                                Thank you very much for the help, I will continue setting up the Retropie with local roms and try again with a spare Pi to get the network solution running.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Stargrove1
                                  last edited by

                                  Today I tried again with a new reflashed image on my pi zero w, I just added Wifi and autostart.sh entry and it worked fine. Guess I will just start over with my pi 3 to get the actual system running from network.

                                  Thank you for your support

                                  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.