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

    Adding roms directly

    Scheduled Pinned Locked Moved Help and Support
    directethernetroms
    15 Posts 3 Posters 1.6k 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.
    • UberLumbyU
      UberLumby @mitu
      last edited by

      @mitu copying files from hard drive to sd card.

      [Linux 5.10.103-v7+ armv7l GNU/Linux
      Retropie 4.8
      Raspberry Pi 3B+]

      1 Reply Last reply Reply Quote 0
      • UberLumbyU
        UberLumby @mitu
        last edited by

        @mitu said in Adding roms directly:

        @UberLumby said in Adding roms directly:

        I'm technically on a LAN so why is my data usage spiking when I'm uploading roms

        You'll have to ask Comcast (?) about this - it would be absurd if this is classified as 'internet usage'.

        lubuntu is giving me permission denied when copying files to the retropie sd

        Where are you copying the files ?

        Home/pi/retropie/roms

        [Linux 5.10.103-v7+ armv7l GNU/Linux
        Retropie 4.8
        Raspberry Pi 3B+]

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

          Check the permissions on the folder - if your regular user doesn't have access to it, then use sudo to start a file manager and do the copying. You'll have to fix the roms folders' permissions on the Pi - but this can be done easily.

          UberLumbyU 1 Reply Last reply Reply Quote 0
          • UberLumbyU
            UberLumby @mitu
            last edited by

            @mitu said in Adding roms directly:

            Check the permissions on the folder - if your regular user doesn't have access to it, then use sudo to start a file manager and do the copying. You'll have to fix the roms folders' permissions on the Pi - but this can be done easily.

            sudo chmod -R ugo+rw

            I used this command and it worked. So ollie just have to run the done easily
            And I should be good to go thanks!

            [Linux 5.10.103-v7+ armv7l GNU/Linux
            Retropie 4.8
            Raspberry Pi 3B+]

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

              @UberLumby said in Adding roms directly:

              sudo chmod -R ugo+rw

              That's not the correct way to do it and if you've done it against the whole partition you might have problems later on.

              UberLumbyU 2 Replies Last reply Reply Quote 1
              • UberLumbyU
                UberLumby @mitu
                last edited by

                @mitu said in Adding roms directly:

                @UberLumby said in Adding roms directly:

                sudo chmod -R ugo+rw

                That's not the correct way to do it and if you've done it against the whole partition you might have problems later on.

                I did it with dreamcast.... oh boy lol

                [Linux 5.10.103-v7+ armv7l GNU/Linux
                Retropie 4.8
                Raspberry Pi 3B+]

                UberLumbyU 1 Reply Last reply Reply Quote 0
                • UberLumbyU
                  UberLumby @UberLumby
                  last edited by

                  @UberLumby sudo chmod-R ugo+rw/media/lubuntu/retropie/home/pi/retropie/roms/dreamcast is what I did exactly

                  [Linux 5.10.103-v7+ armv7l GNU/Linux
                  Retropie 4.8
                  Raspberry Pi 3B+]

                  1 Reply Last reply Reply Quote 0
                  • UberLumbyU
                    UberLumby @mitu
                    last edited by

                    @mitu said in Adding roms directly:

                    @UberLumby said in Adding roms directly:

                    sudo chmod -R ugo+rw

                    That's not the correct way to do it and if you've done it against the whole partition you might have problems later on.

                    It seems alright so far

                    [Linux 5.10.103-v7+ armv7l GNU/Linux
                    Retropie 4.8
                    Raspberry Pi 3B+]

                    1 Reply Last reply Reply Quote 0
                    • ClydeC
                      Clyde @UberLumby
                      last edited by Clyde

                      @UberLumby said in Adding roms directly:

                      @UberLumby never mind lubuntu is giving me permission denied when copying files to the retropie sd LOL

                      Linux distinguishes users by their user id (uid). If your uid on Lubuntu is different than that of pi on RetroPie (normally 1000), you won't have write access to it even if the username on both systems is the same, e.g. you made a pi user on Lubuntu just for that.

                      Vice versa, you would have full access if the usernames are different but the uids are equal, say "pi" on RetroPie and "lubuntu" on Lubuntu both had the uid 1000 on their systems.

                      You can see the uids and gid (group ids) of files and directories with the -n ("numeric ids") option of ls:

                      $ ls -n
                      drwxr-xr-x 6 1000 1000     4096 Apr 28 02:38 RetroPie
                      drwxr-xr-x 7 1000 1000     4096 Sep 19 19:01 RetroPie-Setup
                      

                      If your uid and gid differ on RetroPie and Lubuntu, you could change the ownership of the directories only temporarily, and change them back after working with the files:

                      sudo chown -R lubuntu /media/lubuntu/retropie/home/pi/retropie/roms/dreamcast  # use your username or uid for "lubuntu" here.
                      # Do your stuff.
                      sudo chown -R 1000 /media/lubuntu/retropie/home/pi/retropie/roms/dreamcast     # Provided that pi's uid is 1000 on RetroPie
                      

                      To me this is more "elegant" than the chmod way, as it doesn't mess with the files permissions. But this may be mere preference. And as with chmod, be sure to not to use it globally as it can mess up thinks equally bad. Use it only on directories where all files and subdirs have the same uid from the start.

                      UberLumbyU 1 Reply Last reply Reply Quote 1
                      • UberLumbyU
                        UberLumby @Clyde
                        last edited by

                        @Clyde said in Adding roms directly:

                        @UberLumby said in Adding roms directly:

                        @UberLumby never mind lubuntu is giving me permission denied when copying files to the retropie sd LOL

                        Linux distinguishes users by their user id (uid). If your uid on Lubuntu is different than that of pi on RetroPie (normally 1000), you won't have write access to it even if the username on both systems is the same, e.g. you made a pi user on Lubuntu just for that.

                        Vice versa, you would have full access if the usernames are different but the uids are equal, say "pi" on RetroPie and "lubuntu" on Lubuntu both had the uid 1000 on their systems.

                        You can see the uids and gid (group ids) of files and directories with the -n ("numeric ids") option of ls:

                        $ ls -n
                        drwxr-xr-x 6 1000 1000     4096 Apr 28 02:38 RetroPie
                        drwxr-xr-x 7 1000 1000     4096 Sep 19 19:01 RetroPie-Setup
                        

                        If your uid and gid differ on RetroPie and Lubuntu, you could change the ownership of the directories only temporarily, and change them back after working with the files:

                        sudo chown -R lubuntu /media/lubuntu/retropie/home/pi/retropie/roms/dreamcast  # use your username or uid for "lubuntu" here.
                        # Do your stuff.
                        sudo chown -R 1000 /media/lubuntu/retropie/home/pi/retropie/roms/dreamcast     # Provided that pi's uid is 1000 on RetroPie
                        

                        To me this is more "elegant" than the chmod way, as it doesn't mess with the files permissions. But this may be mere preference. And as with chmod, be sure to not to use it globally as it can mess up thinks equally bad. Use it only on directories where all files and subdirs have the same uid from the start.

                        Okay noted thanks! My rom folder IS gonna be okay I hope hahaha

                        [Linux 5.10.103-v7+ armv7l GNU/Linux
                        Retropie 4.8
                        Raspberry Pi 3B+]

                        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.