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

USB stick w/Emulator+Roms automatically used?



  • @mitu
    Sorry noob question, but how would I PrintScreen to capture the output to post here. I got it hooked up to a separate TV.
    Is there certain line in question? I'll just type it out one I think you are looking for:
    /dev/sda1 on /media/usb0 type vfat (rw, no suid, nodev, noatime, nodiratime, sync, uid=1000, gid=1000, fmask=0022, dmast=0022, codepage=437, iocharset=ascii, shortname=mixed, errors=remount-ro)

    I dont see anything else mentioning the USB drive besides that.


  • Global Moderator

    @DarkkMatter said in USB stick w/Emulator+Roms automatically used?:

    @mitu
    Sorry noob question, but how would I PrintScreen to capture the output to post here. I got it hooked up to a separate TV.

    Usually through SSH.

    Is there certain line in question? I'll just type it out one I think you are looking for:
    /dev/sda1 on /media/usb0 type vfat (rw, no suid, nodev, noatime, nodiratime, sync, uid=1000, gid=1000, fmask=0022, dmast=0022, codepage=437, iocharset=ascii, shortname=mixed, errors=remount-ro)

    So the drive is mounted ok - the usbmount service is working. Do you have another line that mounts the /media/usb0/retropie-mount to /home/pi/RetroPie ?



  • @mitu
    Thx about SSH.
    No, that line is not present.


  • Global Moderator

    @DarkkMatter Then give the manual method a try. What USB disk/stick is it ?



  • @mitu
    Ok, going to give manual a try and then type mount again to see if that line appears.
    It's Corsair 512GB with Fat32 file system. Came preformatted w/FAT 32. System labels it as usb0.
    So: UUID=E44B-FC4E /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2
    ...would be correct obviously replacing my UUID instead of the example?

    Update: I typed in the above in fstab file, saved changes, reopened and confirmed changes were saved, exited. Then full shutdown, started up again and those roms are not present yet, so I went to terminal typed mount and I did not see that line you mentioned before. I did use my USB drives UUID.

    Update2: Checked fstab file and made typo...put uid-pi instead of uid=pi.... Going to shutdown and restart. Still no luck.

    Update3: I typed in the UUID=E44B-FC4E /home/pi/RetroPie vfat rw,exec,uid=pi,gid=pi,umask=022 0 2 Substituting my UUID, and when it booted up I got a Time(timeout error for the USB disk), Depend(dependency error for File System Check, for /home/pi/Retropie, for Local File Systems, and it would not load further.



  • Well I think I've gone and broke the file system now. As it says its in emergency mode and to hit enter, and I'm not able to do anything beyond that.
    "Cannot access console, the root account is locked."
    Looks like I gotta format the card and reload the image =(

    Another update: Through some forum searching and lucky I had a Linux laptop available, I figured out how to undo the fstab modification and I'm able to load emulation station again fine.

    I'll await any further input before I mess with it again.



  • @DarkkMatter said in USB stick w/Emulator+Roms automatically used?:

    So: UUID=E44B-FC4E /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2
    ...would be correct obviously replacing my UUID instead of the example?

    Yes, replace with your uuid, also make sure that that EVERY space is a tab space not a space-bar space; that part hung me up.

    Also look at the directory structure on the usb drive, if it still has the auto-mount structure that is different than the manual mount. Make sure your roms are backed up, then make sure the directory structure on your usb drive looks like /home/pi/RetroPie (if it is still the same as when you tried the auto mount then the first folder will still be RetroPie-mount, which will cause problems)



  • @GoldManSex778
    When I typed in fstab I did use tab instead of spaces, but I found one thing to be strange: When I typed in UUID=E44B-FC4E /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2 Using my UUID of course, the 0 near the end was tabbed farther out rather than close as on the page with instructions.
    Earlier when I also tried this: In the case you want to allow execution of file with fat32 file system (E.g : OpenBOR), use

    UUID=E44B-FC4E /home/pi/RetroPie vfat rw,exec,uid=pi,gid=pi,umask=022 0 2 The 0 was properly spaced as in the instructions. Not sure if that means anything, but thought it strange and worth mentioning. I also thought to try this method b/c the filesystem is FAT 32, but got the errors listed above in previous posts.

    At this point in time I have altered the fstab file with the: UUID=E44B-FC4E /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2 Line using my UUID instead of the examples.
    When I plug the USB into my Windows machine the first and only folder shown is: retropie-mount, clicking that only 1 folder is shown: Retropie, and clicking that: BIOS, retropiemenu, roms, splashscreen folders.

    I'm sorry I do not understand the difference between auto-mount structure and manual mount structure. I do have a full backup image for my sd card on an external drive.
    How can I do what you asked here: "then make sure the directory structure on your usb drive looks like /home/pi/RetroPie " as the first folder is retropie-mount there are issues?

    Do I just rename retropie-mount to "pi"? Or create a new main folder called "home" and place the renamed retropie-mount(which is now "pi") into the home folder to create the correct structure?

    Thx, again for your guys help on this. Sounds like we are getting closer to solving the issue...I think.



  • @DarkkMatter said in USB stick w/Emulator+Roms automatically used?:

    Do I just rename retropie-mount to "pi"? Or create a new main folder called "home" and place the renamed retropie-mount(which is now "pi") into the home folder to create the correct structure?

    Yes, you posted earlier: retropie-mount-->Retropie-->Bios, retropiemenu, roms, splashscreens folders, change it to home-->pi-->RetroPie-->roms.... Everything else being equal, I am willing to bet that will fix the problem. If you look at the first step in the manual mount method it is to copy that file structure.

    About the two lines the author gives as options, the second appears to set permissions, i am not exactly sure so don't quote me. That must be needed for launching some applications, either one should work. I used the first and have had no problems launching anything (all systems, including ports). About the weird spacing, that is probably normal, those tabs do funny things sometimes. So you are editing this in Nano or file manager? that's pretty hardcore. You can edit those lines in WinCP from a windows computer.

    Thx, again for your guys help on this. Sounds like we are getting closer to solving the issue...I think.

    No prob, it took all of us several tries to get it right; except for mitu, that guy is a legend.



  • @GoldManSex778
    I did try that and still ran into issues so said hell with it...erased everything off of USB drive and started from scratch at instructions for manually mounting. Since I had copied everything over using a previous copy method and that might have been causing issues.
    Right now I'm copying the correct directory structure over, so hopefully everything will work properly now once I do the rest of the steps lol. If anything I've learned some things about Linux from the experience.

    Final Update: Success! Thank you all for helping!

    For anyone ever going through this, one of two things I think was the issue: NOT following the instructions to the letter manually mounting, or my UUID was wrong. I had the last char wrong, but could have sworn it was something different before(either new copy changed UUID, or was my error). Resolution on a laptop helps reading the characters much more clearly than on the TV screen where its almost a guessing game.
    I used WinSCP to confirm that its working, and booting up was much faster!


Log in to reply
 

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.