2 Pi4 questions
-
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. -
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
-
@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
-
So far here is what I have done and the results.
-
Reformatted drive completely in NTFS format
-
Enabled USBROMSERVICES
-
Plugged in drive
-
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) -
Rebooted Pi
Same result -
Disabled USBROMSERVICES
-
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" -
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) -
Tried 7 above again and got the same result
-
-
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.
-
I installed Raspbian lite followed by the daily build for the Pi4
-
If the OS is the reason, how do I fix?
-
@bc320 OS is not the reason - are you sure you've installed the necessary dependencies - namely
ntfg-3g
? -
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 -
I ran that command again. A bunch of stuff installed. but still read only
-
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.
-
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.
-
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. -
@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 ? -
Got further along now. I mis-read the
ls -l
command as1s -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 changingvfat
tontfs
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
-
- 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.
- Check if your drive is correctly mounted - run
-
- 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
- When I enter
-
-
This post is deleted! -
-
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
-
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.