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

    Store ALL configs (ES, retroarch, retropie, etc) to external drive and mount it as home directory

    Scheduled Pinned Locked Moved Help and Support
    configurationexternal driveconfig fileusb roms
    2 Posts 2 Posters 626 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.
    • F
      feel
      last edited by

      Hi,

      I could not find a similar topic, so I have decided to create a new one.

      I would like to have the possibility to store all my configs (emulationstation and retroarch, etc) and my roms in an external drive, so that I can re-image the SD card with a new Retropie image and having all my data still retained.

      By generalizing the wiki page https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-USB-drive
      I was able to come up with a solution that achieves that by simply mounting the entire /home/pi directory towards my USB drive. Every single config directory in my home (i.e. /home/pi/.emulationstation and /home/pi/.config/retroarch) is no longer a symlink to /opt/retropie/configs/all/... but instead is a copy so that the configs are actually stored in the external drive.

      The unique inconvenient came up when I had to configure the input controller from ES. The key mapping gets stored automagically by ES to retroarch too, but ES stored the config into /opt/retropie/configs/retroarch/... instead of looking to the user home directory first (~/.config/retroarch). Generally, all applications in Linux give priority to user defined config before taking a look at system config. I believe this would be beneficial for Retropie too as it would allow to make a clear separation of data simplifying life for the final user.

      Do you also consider this an important feature that should be part for future Retropie releases?

      Thank you

      1 Reply Last reply Reply Quote 1
      • sunwindS
        sunwind
        last edited by

        What was the solution? I'm trying to mount all my configs and roms and everything on an external usb so the 'OS' just runs from the card and nothing else.

        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.