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

    FSTAB / USB Mounting issues after a clean install

    Scheduled Pinned Locked Moved Help and Support
    fstabmountingusb rom service
    2 Posts 1 Posters 1.7k 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.
    • sunwindS
      sunwind
      last edited by

      Hey all,

      So I had my RPi unit setup and working perfectly, but the OCD in me wanted to do a clean install with the newest release, which was fine because I had all my bios/rom/savedata on a usb micro-sd card that was auto-mounted, and I just copied over any config files I'd edited like boot/config.txt, modprobe.d/ etc, and my fstab file.

      So I start setting the new installation up, and I setup my fstab file and the only thing that has changed is the UUID of the sd-card, no big deal I just modified it to the 'new' ID.

      So this is my fstab file:
      proc /proc proc defaults 0 0
      /dev/mmcblk0p1 /boot vfat defaults 0 2
      /dev/mmcblk0p2 / ext4 defaults,noatime 0 1

      /dev/disk/by-uuid/1918-2A41 /home/pi/SDMount vfat auto,nofail,noatime,users,rw,uid=pi,gid=pi,bind 0 0

      /home/pi/SDMount/Emulation/BIOS /home/pi/RetroPie/BIOS none auto,nofail,noatime,users,rw,uid=pi,gid=pi,bind 0 0

      /home/pi/SDMount/Emulation/roms /home/pi/RetroPie/roms none auto,nofail,noatime,users,rw,uid=pi,gid=pi,bind 0 0

      Exactly how I had it on my previous install, except the UUID is different as per $ ls -l /dev/disk/by-uuid/
      However, I've restarted a few times now, and it just doesn't seem to be working at all.

      I can SSH into my RPi with WinSCP and access the mounted sd-card at /home/pi/SDMount/Emulation/roms etc, the directories are there, but there are no files. Also nothing in /home/pi/RetroPie/roms.

      I feel like I've probably forgotten some small step here which is why it's not working, anyone able to help me out?

      Thanks in advance.

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

        Changed fstab to:

        proc /proc proc defaults 0 0
        /dev/mmcblk0p1 /boot vfat defaults 0 2
        /dev/mmcblk0p2 / ext4 defaults,noatime 0 1
        UUID=1918-2A41 /media/usb0 vfat auto,nofail,noatime,users,rw,uid=pi,gid=pi 0 0

        /media/usb0/BIOS /home/pi/RetroPie/BIOS none auto,nofail,noatime,users,rw,uid=pi,gid=pi,bind 0 0

        /media/usb0/roms /home/pi/RetroPie/roms none auto,nofail,noatime,users,rw,uid=pi,gid=pi,bind 0 0

        more streamlined and I think 'bind' in the first of the three additional lines was the cause.

        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.