• 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

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 21 Apr 2019, 07:40

    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
    • M
      mitu Global Moderator
      last edited by 21 Apr 2019, 08:52

      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 21 Apr 2019, 09:00

        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
        • M
          mitu Global Moderator
          last edited by 21 Apr 2019, 09:02

          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 21 Apr 2019, 09:27

            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

            M 1 Reply Last reply 21 Apr 2019, 09:30 Reply Quote 0
            • M
              mitu Global Moderator @Stargrove1
              last edited by 21 Apr 2019, 09:30

              @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 21 Apr 2019, 09:41

                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 21 Apr 2019, 09:51

                  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
                  • M
                    mitu Global Moderator
                    last edited by 21 Apr 2019, 09:53

                    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 21 Apr 2019, 10:15

                      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.```
                      M 1 Reply Last reply 21 Apr 2019, 10:21 Reply Quote 0
                      • M
                        mitu Global Moderator @Stargrove1
                        last edited by 21 Apr 2019, 10:21

                        @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 21 Apr 2019, 10:23 Reply Quote 0
                        • S
                          Stargrove1 @mitu
                          last edited by 21 Apr 2019, 10:23

                          Version states 4.4.11

                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator
                            last edited by 21 Apr 2019, 11:54

                            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 21 Apr 2019, 12:06

                              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 22 Apr 2019, 06:55

                                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
                                15 out of 15
                                • First post
                                  15/15
                                  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