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

    [SOLVED] external HDD at boot ?

    Scheduled Pinned Locked Moved Help and Support
    external drivenetwork shareboot
    11 Posts 4 Posters 4.3k 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.
    • DarkWolfD
      DarkWolf @darthlink
      last edited by DarkWolf

      @darthlink Google for "raspbian auto mount" and you should find something, anyways I used this when I added a usb drive that I mounted to somewhere

      https://raspberrypi.stackexchange.com/questions/36824/automounting-usb-drive-on-boot

      I've no time to explain now because I've to leave now (school ...)

      System: Raspberry 3 Model B, RetroPie 4.2.1
      Storage: 16gb Micro SD, 64gb USB Drive
      Theme: Updated NBBA

      Documentation solves many problems: https://retropie.org.uk/docs/

      D 1 Reply Last reply Reply Quote 0
      • D
        darkbibble
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • D
          darthlink @DarkWolf
          last edited by darthlink

          @DarkWolf said in external HDD at boot ?:

          @darthlink Google for "raspbian auto mount" and you should find something, anyways I used this when I added a usb drive that I mounted to somewhere

          https://raspberrypi.stackexchange.com/questions/36824/automounting-usb-drive-on-boot

          I've no time to explain now because I've to leave now (school ...)

          thx so i fallowed this tutorial: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Share

          i had to fallow the step 2 for the auto mounting because i dont have the autostart.sh file.

          so in my fstab i have this: //my share name/my_share_path cifs username=Username,password=Password,nounix,noserverino,defaults,users,auto 0 0

          in the username field, it does not matter if i put root or pi, now whenever i boot my pi, it ask me the password of the user i added in the field in the fstab.

          When i put the password, the mounting worked and all seem fine so far but why does the password that i put in fstab does not get read or work ? Why do i have to put it in every boot now ?

          I have all transfered my roms already and also changed the path in the es_systems.cfg file to match the new path of the folder i made to mount the new share in. That work great.

          My only concern is really the fact that i have to put the password on every boot now. How can i fixe that please ?

          Ho yeah before i forget, i also change the boot option to wait for network connection in raspi-config as the walkthrough suggested.

          B 1 Reply Last reply Reply Quote 0
          • B
            backstander @darthlink
            last edited by

            @darthlink
            Check out this thread:
            https://retropie.org.uk/forum/topic/7780/loading-roms-from-usb-harddrive

            1 Reply Last reply Reply Quote 0
            • D
              darthlink
              last edited by

              Ok loll thx

              first thing, it is a very good thing that i had backed up my pi right before starting this external HDD thing because now my emulationstation does not work anymore.

              i can start it and it does start BUT instead of seeing all my consoles, all i see is 3 times retropie and i cant scroll anyting and if i select it, it goes into the settings.

              I may had forgot to also mention earlier that i had not formated my external drive ( and do not intend to ) since the partition i am sharing already has other things on it but even then by sharing it wit my pi, i get about 200GB extra space. This HDD is formatted in NTFS ( because i use to use it from windows7) and so is the partition.

              when i do the command: blkid it see my partition as ext4 though, i kinda find that weird but thats how it see it and not as ntfs.

              So from there, before i put back the backup into my pi, is there a way to fix this ?

              if i do that command in fstab ( but with my path): UUID=73a104af-6ada-4956-b1e2-90bfdc08aba5 /mnt/Platte ext4 defaults,noatime,auto 0 0

              ( wich was in the link that Backstander gave me ( thank you ), it seem that my hole partition would be share into my pi but that is not what i want. I only want to share the folder a created on that partition.

              this is what i want to share: smb://linksys37952/backups/raspishare/

              This is how it is seen from my laptop (runing ubuntu) in network shares in file manager. The name backup is the actual name of my partition and the raspishare folder is the folder where i want to transfer my roms and run them through emmulationstation

              I already had transfered my roms but when i had done that, it did transfer but on every file i got an error about the permissions that could not be transfered and it said: permission denied

              but the transfer still happened.

              loll did i ruined things ? should i put my last backup back on my pi and retry the sharing a better way that will actually work ? or is there a good way to fix this from everything i said ?

              DarkWolfD 1 Reply Last reply Reply Quote 0
              • DarkWolfD
                DarkWolf @darthlink
                last edited by DarkWolf

                @darthlink

                this is what i want to share: smb://linksys37952/backups/raspishare/

                You can use samba shares (the ip of your server) in fstab like this:

                //192.168.1.2/SambaTest    /home/pi/shares/test    cifs    defaults,noauto,nofail,username=pi,passwd=raspberry    0    0
                

                You have to change username (pi) and passwd (raspberry) to the login credentials you need to log into your samba share (and obviously the ip and path)

                System: Raspberry 3 Model B, RetroPie 4.2.1
                Storage: 16gb Micro SD, 64gb USB Drive
                Theme: Updated NBBA

                Documentation solves many problems: https://retropie.org.uk/docs/

                D 1 Reply Last reply Reply Quote 0
                • D
                  darthlink @DarkWolf
                  last edited by

                  @DarkWolf said in external HDD at boot ?:

                  @darthlink

                  this is what i want to share: smb://linksys37952/backups/raspishare/

                  You can use samba shares (the ip of your server) in fstab like this:

                  //192.168.1.2/SambaTest    /home/pi/shares/test    cifs    defaults,noauto,nofail,username=pi,passwd=raspberry    0    0
                  

                  You have to change username (pi) and passwd (raspberry) to the login credentials you need to log into your samba share (and obviously the ip and path)

                  Ok thanks for one part, i dont have to put the password on every boot now.

                  Problem is that my share is not auto mounted anymore at boot :(

                  Emulationstation still does not see all my consoles and only shows 3 times retropie. Emulationstation still work by itself in the sense that i can go into settings by pressing start and go in menus but it is still as if i dont have any consoles or roms at all.

                  1 Reply Last reply Reply Quote 0
                  • D
                    darthlink
                    last edited by

                    @darthlink said in external HDD at boot ?:

                    https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Share

                    yyyyyyyyyyyeeeeeeeeeeeeessssssssssssssssssssssssssss

                    i finally got it to work ( WITH ALL YOUR HELPS ). but the thing about the roms problem, i am sorry but it was my fault. I had forgoten 1 folder in the path of where they actually are in fstab so off course it could not see them since they were in a diferent folder.

                    I was looking at my fstab and i realised that it was missing a folder in the path.

                    So now everything works out perfectly. It auto mount the drives and i dont have to put my password on every boot and i have gain 200GB of space.

                    thanks to everyone again for your presious help. ;)

                    DarkWolfD 1 Reply Last reply Reply Quote 1
                    • DarkWolfD
                      DarkWolf @darthlink
                      last edited by

                      @darthlink Glad it worked :-)

                      System: Raspberry 3 Model B, RetroPie 4.2.1
                      Storage: 16gb Micro SD, 64gb USB Drive
                      Theme: Updated NBBA

                      Documentation solves many problems: https://retropie.org.uk/docs/

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        darthlink @DarkWolf
                        last edited by

                        @DarkWolf

                        Thanks a lot, as usual ;)

                        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.