Successfully upgraded to Vanilla Forums v2.6. Please report any issue you may find.

External Storage for ROMs for use with EmulationStation

How would I best go about adding my HDD to be used as directory which is also recognized by EmulationStation.

Is there a setting I can edit? Does it require Symbolic linking?

Comments

  • This is also something we can add as option for the future (joypad controlled)

    There are multiple ways to do this:

    =========================First way:=========================

    To create a Symlink to a connected HDD you can:
    Copy over the folder /home/odroid/ROMS to a connected harddrive
    -------------------------------------------------------------------
    cp -av /home/odroid/ROMS /media/odroid/MyHDD/
    -------------------------------------------------------------------
    delete or rename the folder on your SD/eMMC card
    -------------------------------------------------------------------
    mv /home/odroid/ROMS{,.bak}
    -------------------------------------------------------------------
    create a symlink from your HDD to where the original folder was located.
    -------------------------------------------------------------------
    ln -sf /media/odroid/MyHDD/ROMS /home/odroid/ROMS
    -------------------------------------------------------------------


    =========================Second way:=========================
    mount a partition on an HDD as the ROMS folder
    -------------------------------------------------------------------
    mount the partition somewhere so you can copy files over
    -------------------------------------------------------------------
    mount /dev/sda1 /mnt
    -------------------------------------------------------------------
    copy the CONTENT of ROMS folder on the partition
    -------------------------------------------------------------------
    cp -av /home/odroid/ROMS/* /mnt/
    -------------------------------------------------------------------
    unmount the partition from where you put it to copy the files over
    -------------------------------------------------------------------
    umount /mnt
    create a fstab entry for the new partion
    -> Edit /etc/fstab with your favorite editor as ROOT and add an entry for the partition:
    -------------------------------------------------------------------
    /dev/sda1 /home/odroid/ROMS ext4 defaults 0 0
    mount the partition
    -------------------------------------------------------------------
    mount -a
    -------------------------------------------------------------------
    make sure the folder and it's content belongs to user odroid
    -------------------------------------------------------------------
    chown -R odroid:odroid /home/odroid/ROMS


    =========================3rd way:=========================
    Mount a samba share
    make sure cifs-utils are installed (next update will include it if it is missing)
    -------------------------------------------------------------------
    apt-get install gifs-utils
    -------------------------------------------------------------------
    edit /etc/fstab as ROOT with your favorite editor and add an entry for your samba share
    For example:
    -------------------------------------------------------------------
    //10.0.0.1/ROMS /home/odroid/ROMS cifs credentials=/home/odroid/.smbcredentials,uid=odroid,gid=odroid 0 0
    -------------------------------------------------------------------
    as user ODROID create a file .smbcredentials in the homefolder of odroid (/home/odroid) with the following content:
    -------------------------------------------------------------------
    username=
    password=
    domain= (mostly WORKGROUP)
    -------------------------------------------------------------------
    The preferred one is the Samba option since it allows to mount the same ROMS on different devices/odroids and share them over different machines.
Sign In or Register to comment.