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

    [HELP] Using one USB HDD as ROM source and Samba shares.

    Scheduled Pinned Locked Moved Help and Support
    usbhddmountsamba
    6 Posts 2 Posters 797 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.
    • L
      Link
      last edited by

      Hello!
      I have this new Raspberry Pi 3 B+ and I just installed Retropie. My original plan for this Raspberry Pi is using it for NAS (mounting my 4TB HDD and sharing its content via Samba), but I see in Retropie's guide section, it only covers if the drive is fully committed to Retropie (meaning that I need to format it first before mounting it), and I don't want to format this HDD because it already has my data to be shared via Samba.
      So, can I use this HDD as ROM source (running off of it) and Samba share at the same time? If so, how?

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

        @Link The ROMs are all stored in the /home/pi/RetroPie/roms folder, just allocate a partition or a folder on the disc to ROMs and then mount it under the aforementioned folder, making sure it's writeable by the pi user.

        1 Reply Last reply Reply Quote 0
        • L
          Link
          last edited by

          @mitu Sorry, but I don't understand your steps. Can you provide it in more detail?
          And no, I am not ready to partition this HDD yet.

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

            Do you have any experience with Linux ? Did you set up your PI as a NAS server with the HDD ?

            L 1 Reply Last reply Reply Quote 0
            • L
              Link @mitu
              last edited by Link

              @mitu Currently, yes. I've set up so /media/usb0 is shared through Samba.

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

                @Link You can create a folder for the ROMs on the /media/usb0 partition, copy the contents of /home/pi/RetroPie/roms to it, then symlink /home/pi/RetroPie/roms to the folder on the HDD. Make sure you create a back of /home/pi/RetroPie/roms first, just in case.

                Or you can bind mount the folder over /home/pie/RetroPie/roms with something like

                mount -o bind /media/usb0/<Folder_name> /home/pi/RetroPie/roms
                
                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.