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

    2 Pi4 questions

    Scheduled Pinned Locked Moved Help and Support
    pi4 bexternal hddsplash screen
    43 Posts 7 Posters 4.5k 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.
    • ClydeC
      Clyde @bc320
      last edited by Clyde

      @bc320 What does my command say if you run it now? (Please copy the complete output.) If it worked before, it should now say that these packages are already installed. If so, it would be very strange that the installer says that it can't install them.

      1 Reply Last reply Reply Quote 0
      • B
        bc320
        last edited by

        I was able to get it installed. I ran your code again. This time it said something along the lines of run "apt --fix install" or something.
        I can get the File Manager to see the USB drive. I have yet to try to get the roms to be located on the drive but I think that is just a matter of time.

        1 Reply Last reply Reply Quote 0
        • B
          bc320
          last edited by bc320

          I am able to see my USB drive in the File Manager, however, I cannot transfer anything to or from it. Whenever I try I get an error that says it is read only. I tried via the terminal as well using
          "sudo mv -v /home/pi/RetroPie/* /media/usb0/"

          I keep googling it but I can't find a solution. I keep running into SD cards being stuck in read only or how to run the system as read only.

          I can using my windows pc to read/write to the drive.

          This is a 2TB External Seagate HDD formatted as NTFS

          ClydeC 1 Reply Last reply Reply Quote 0
          • ClydeC
            Clyde @bc320
            last edited by

            @bc320 Please give us the exact output you got from mv, in addition to the output of this command when the drive is mounted:

            mount | grep usb0
            
            1 Reply Last reply Reply Quote 0
            • B
              bc320
              last edited by bc320

              So far here is what I have done and the results.

              1. Reformatted drive completely in NTFS format

              2. Enabled USBROMSERVICES

              3. Plugged in drive

              4. Drive was found in media manger but when trying to transfer from SDCard to drive get the following error
                “Cannot create target file: “media/usb1/ret~t/es_input.cfg” Read-only file system (30)

              5. Rebooted Pi
                Same result

              6. Disabled USBROMSERVICES

              7. Attempted to use
                “Sudo mv –v /home/pi/RetrpPie/* /media/usb0”
                And received following errors
                “mv: inter-device move failed: ‘/home pi/retropie/BIOS’ to /media/usb/BIOS’ ; unable to remove target: Read-Only file system"
                “mv: inter-device move failed: ‘/home pi/retropie/retropiemenu’ to /media/usb/retropiemenu’ ; unable to remove target: Read-Only file system"
                “mv: inter-device move failed: ‘/home pi/retropie/roms’ to /media/usb/roms’ ; unable to remove target: Read-Only file system"

              8. Entered
                “mount | grep usb0”
                Got this
                “/dev/sda2 on /media/usb0 type ntfs (ro,nodev,noexec,noatime,nodiratime,sync,uid=1000,fmask=0177,dmask=077,nls=utf8.errors=continue,mft_zone_multiplier=1)

              9. Tried 7 above again and got the same result

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

                My guess is you're using the Raspbian Desktop edition for your OS and it automatically mounts any removable drives you add. In this particular case, the drive is mounted read-only, hence the errors.

                1 Reply Last reply Reply Quote 1
                • B
                  bc320
                  last edited by

                  I installed Raspbian lite followed by the daily build for the Pi4

                  1 Reply Last reply Reply Quote 0
                  • B
                    bc320
                    last edited by

                    If the OS is the reason, how do I fix?

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

                      @bc320 OS is not the reason - are you sure you've installed the necessary dependencies - namely ntfg-3g ?

                      1 Reply Last reply Reply Quote 0
                      • B
                        bc320
                        last edited by

                        yes.
                        I ran "sudo apt install ntfs-3g exfat-fuse exfat-utils pmount lockfile-progs" and got an error about the about it not working and I have to run apt---fix install. Then it worked

                        1 Reply Last reply Reply Quote 0
                        • B
                          bc320
                          last edited by

                          I ran that command again. A bunch of stuff installed. but still read only

                          1 Reply Last reply Reply Quote 0
                          • ClydeC
                            Clyde
                            last edited by

                            This should re-mount the partition writable, if nothing else prevents it:

                            sudo mount -t ntfs -o remount,rw /dev/sda2 /media/usb0
                            

                            It wil remount the partition with standard options. If this doesn't work or produces any problems, you can try to remount it with all of the options it was mounted automatically before:

                            sudo mount -t ntfs -o remount,rw,nodev,noexec,noatime,nodiratime,sync,uid=1000,fmask=0177,dmask=077,nls=utf8.errors=continue,mft_zone_multiplier=1 /dev/sda2 /media/usb0
                            

                            As before, you can check its mount status with mount | grep usb0.

                            And again, if there are any errors, please post them completely with copy & paste, preferably in a code block like I did.

                            1 Reply Last reply Reply Quote 0
                            • B
                              bc320
                              last edited by

                              Tried the first and got
                              remounting is not supported at present. you have to unmount volume and mount it once again.

                              the 2nd one gave me this
                              Mount: Bad usage

                              note, copy & past not an option. This is on my tv and I have to walk across my house to access pc. no way to copy frm tv to pc.

                              1 Reply Last reply Reply Quote 0
                              • B
                                bc320
                                last edited by

                                I think I may have broke something.
                                I was able to unmount then remoutn using (I forget how I unmounted)
                                sudo mount -t ntfs -o remount,rw /dev/sda2 /media/usb0

                                From there I did
                                sudo mv -v /home/pi/RetroPie/* /media/usb0/

                                Now I have 3 folders added to my drive along with a folder called "retropie-mount'

                                I continued to try to follow the directions found here for setting up the USB drive to be automounted on start up. However, the commands are not recognized.
                                I tried
                                ls /media/usb0 -l to try to view the usb file structure and then, when that didn't work, ls -l /dev/disk/by-uuid/ to find the UUID number. In both cases I received an error at 1s is not a valid command. When I went to emulationstation the only thing I had was favorites. Not even the retropie menu. Rebooted with USB plugged in and still black screen with just favorites. I turned the pi off completely, unplugged the USB drive, rebooted. Again, black screen with just favorites.

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

                                  @bc320 said in 2 Pi4 questions:

                                  I continued to try to follow the directions found here for setting up the USB drive to be automounted on start up. However, the commands are not recognized.

                                  What commands ? Some error messages might help clear up why the commands don't work.
                                  Did you modify the /etc/fstab file to get your disk auto-mounted ?

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bc320
                                    last edited by bc320

                                    Got further along now. I mis-read the ls -l command as 1s -1 (lower case L vs # 1)
                                    I got my UUID number, it is a lot longer then what is in the sample. I entered the following in the /etc/fstab
                                    UUID=0ABC7E228C7E0889 /home/pi/RetroPie vfat nofail,user,uid=pi,gid=pi 0 2
                                    I also tried changing vfat to ntfs since that is how the drive is formatted.
                                    I used the Tab key between each section, not spaces.

                                    I used ctr+x to exit. Entered Y, pressed enter again when it asked me the file name.
                                    Started Emulation Station
                                    Rebooted.

                                    Still just favorites menu

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

                                      • Check if your drive is correctly mounted - run mount -a and see if your drive is mounted under /home/pi/RetroPie.
                                      • Do you have the roms folder - with the sub-folders - on the drive ?
                                      • Download the Emulationstation log file from /home/pi/.emulationstation/es_log.txt and post it on pastebin.com.
                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        bc320
                                        last edited by

                                        • When I enter mount -a I get an error
                                          mount: only root can use "-all" option
                                        • Yes I have roms folder with subfolders
                                        • How do I download? The only way I may be able to is through the file manager but right now I can't access that through emulation station. I installed a theme before I tried to do this and now when I get to emulation station all the I have is favorites. The menu for RetroPie is not there. It was before I moved everything to the USB drive
                                        mituM 1 Reply Last reply Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @bc320
                                          last edited by

                                          @bc320

                                          When I enter mount -a I get an error

                                          Use sudo mount -a and then just run mount to see the mounted filesystems.

                                          How do I download?

                                          Enable SSH on the Pi and then use WinSCP to access the full file system from your PC, just like you do with the file manager.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            bc320
                                            last edited by

                                            This post is deleted!
                                            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.