2 Pi4 questions
-
@bc320 said in 2 Pi4 questions:
Then I get the following error
Could not install package(s): ntfs-3g exfat pmount lockfile progsThere are no packages named
exfat
,lockfile
, andprogs
in the Retropie repositories. Did you copy & paste the error into your forum post or typed it in? If possible, it's better to copy errors to avoid typing errors.There are packages named
exfat-fuse
,exfat-utils
, andlockfile-progs
however. Assuming these are the missing ones, you can install them and the others with this command:sudo apt install ntfs-3g exfat-fuse exfat-utils pmount lockfile-progs
Maybe you can install usbromservice via the Retropie Setup after that.
-
@Clyde Odd, usbromservice installed without issues. I use raspbian lite buster and cloned the retropie pi4 branch repo but yea, if a dependency is missing...then install it
-
to use splashscreens go to RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh with a text editor and remove everything in rp_module_flags but keep the quotes then it should appear in the setup script for you to install
-
I just installed usbromservice on my Pi 4 for this branch but upon reboot it says usbromservice cannot be started.
EDIT: Apparently the Retropie folder wasn't copying over. Got it to copy over by unplugging the drive, rebooting and making sure error disappeared, and then plugging in the ssd and giving it a minute. Restarted ES and the systems were detected that were on the SSD from the Pi 3. I forgot I deleted all folders except for the roms and BIOS in order to let the new Pi 4 scripts build a compatible Retropie folder.
-
@Clyde
I ran the code you said then repeated my install attempt. Got the same result. A black screen with a lot of text popping up then back to the set up screen with the following note (I double checked before I submitted)Could not install package(s): ntfs-3g exfat-fuse pmount lockfile-progs.
next page:
please see
/home/pi/retropie-setup/logs/rps_2019-09-19_021621.log.gz for more in depth information regarding the errors.I then went back to the main screen, plugged in a USB Drive with a folder named retropie-mount and rebooted to see if anything would happen. Nothing did. USB drive is still not seen by retropie nor are the folders and roms moved over.
I wonder if it is an issue with the branch and wonder if it is known. Or, more likely, I am messing something up.
-
@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.
-
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 ?
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.