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

    Pi 4 + Running ROMS from USB stick

    Scheduled Pinned Locked Moved Help and Support
    raspberrypi4usb romusb rom service
    22 Posts 2 Posters 1.9k 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.
    • mituM
      mitu Global Moderator @Chapster5
      last edited by mitu

      @Chapster5 Did you modify the /etc/fstab file to mount the stick ? It's not needed if you use the usbromservice.

      C 1 Reply Last reply Reply Quote 0
      • C
        Chapster5 @mitu
        last edited by

        @mitu I have the usbromservice installed an ld enabled. Unless I have to modify that file aswell?

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

          @Chapster5 No, you shouldn't, but for some reason the boot process stops because of the USB stick.
          Can you remove the stick, see if your system boot, then run the following commands on the command line and post the output:

          sudo lsblk -zf
          cat /etc/fstab
          cat /boot/cmdline.txt
          
          C 1 Reply Last reply Reply Quote 0
          • C
            Chapster5 @mitu
            last edited by

            @mitu boots just fine without the USB in here's the commands you asked me to run

            https://ibb.co/ZXCXK4Q
            https://ibb.co/GCcCzZ7

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

              The fstab seems fine. To get access to the system when the error occurs, you should set the root password:

              sudo su
              passwd
              
              # enter the new password for user "root"
              

              Then insert the USB stick and - when you get the boot error - you should be able to access the console and run journalctl -xb to view the logs.

              C 1 Reply Last reply Reply Quote 0
              • C
                Chapster5 @mitu
                last edited by

                @mitu I apologise in advance for app the links I don't know how to copy and paste to a paste bin dump site so there's a lot of mention of not being able to find a clock then it mentioned the file system a but further down failing to mount it.

                https://ibb.co/Nx9YB72
                https://ibb.co/ZgQhLTh
                https://ibb.co/h7DFwzF
                https://ibb.co/Trp6YSg
                https://ibb.co/60g8VTx
                https://ibb.co/VYwgQC7
                https://ibb.co/19Z9Trd
                https://ibb.co/W2kq5K1
                https://ibb.co/F65G27J
                https://ibb.co/D19f10z
                https://ibb.co/H4SCX3Y
                https://ibb.co/Bg4bphR
                https://ibb.co/F6VzQS0

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

                  Ha, that was interesting, no need to apologize. The error is in the following picture:

                  https://ibb.co/D19f10z

                  Seems like the 1st USB disk partition is mistakenly mounted as /boot/ (well at least tried to mount), instead of the actual /boot partition on the SDcard. I wonder if the card and the /boot partition have the same PARTITION_UUID.

                  As a workaround, modify /etc/fstab and, instead of

                  PARTUUID=9b2d5bc6-01  /boot           vfat    defaults          0       2
                  

                  write

                  LABEL=boot  /boot           vfat    defaults          0       2
                  

                  You'll have to use sudo nano /etc/fstab and edit the file. Make sure you're not adding any extra chars or erasing something else, it's a sensitive file.
                  After saving the file, reboot with your USB stick inserted.

                  If everything works ok, then run the following command and post the output (the USB stick must be present):

                  blkid
                  
                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Chapster5 @mitu
                    last edited by

                    @mitu aha!

                    Seems to boot with the USB plugged in now does this look correct:

                    https://ibb.co/kJXyT8j

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

                      @Chapster5 said in Pi 4 + Running ROMS from USB stick:

                      does this look correct:
                      https://ibb.co/kJXyT8j

                      It does, but it's missing a partition. Your USB partition is at /dev/sda5, which is the 1st logical partition, but you also have another primary partition (/dev/sda1) which might be un-formatted and I assume it was that partition that was causing issues with the boot.

                      Anyway, all is well when it ends well. Out of curiosity, how did you format the USB drive - did you use Windows or other OS ?

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Chapster5 @mitu
                        last edited by

                        @mitu perfect thank you

                        I formatted using the USB formatting guide here:

                        https://www.makeuseof.com/tag/format-large-hard-drive-fat-fat32/

                        Using FAT32 Format

                        Plugged the stick in, clicked format and waited haha.

                        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.