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.
    • 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
                                  • B
                                    bc320
                                    last edited by

                                    • I see the drive. Not sure what it all means.
                                      `/dev/sda2 on edia/usb0 type fuseblk (rw,nodev,noexe,noatime,sync,suer_id=0,goup_id=0,defaul_permissions,allow_other,blksize-4096)

                                    • log can be found here

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

                                      From the log file, it looks like none of the ROMs folders are found. Your drive is not mounted under /home/pi/RetroPie/, but under /media/usb0, so it's normal that Emulationstation doesn't find them.
                                      Did you disable the usbmount service before adding your drive to /etc/fstab ? Do you see the ROM folders under /home/pi/RetroPie/roms ?

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

                                        • Yes, usbmountservice is disabled.
                                        • no, /home/pi/RetroPie folder is empty. I believe the contents of this folder was moved to the USB drive when I did
                                          sudo mv -v /home/pi/RetroPie/* /media/usb0/
                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bc320
                                          last edited by

                                          I looked at the HDD and noticed that there are 4 folders in the root directory. One I created called retropie-mount and then the three copied over from the Pi. Should those 3 be in the retropie-mount folder? Could that folder be part of the issue? This is from when I tried to do the automatic method setting the usb hdd to store the roms.

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

                                            think I got it
                                            changed the ect/fstab from what the directions said to
                                            UUID=0A8C7E228C7E0889 /home/pi/RetroPie ntfs-3g nofail,user,uid=pi,gid=pi,umask=0000 0 2

                                            Not sure the difference but found this on a redit thread. now to try read/write.

                                            Another question now that I have this set up (I hope)
                                            To add roms can I do the following?

                                            • Power off Pi4 using the ES system shut down
                                            • Turn power off at switch
                                            • remove HDD and attach to PC
                                            • load other roms, bios, etc
                                            • plug hdd back in
                                            • power system on

                                            Or is there another method I should be using? I like this for large files compared to Samba or WinSCP

                                            mituM ClydeC 2 Replies 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.