-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using both SD Cards #158
Comments
There are still issues regarding mount points that are going to be fixed in a new release. Those issues are part of what's preventing batocera mount points to work, and also would probably allow for users to mount two different locations. |
A quick update here, having tried the v40 version. If I ssh in and run the following: ... I can successfully mount and map the storage partition of the first SD card. (Obviously - I know that my storage disk is called '/dev/mmcblk0p4' here, and set my mapped folder name to be 'Roms2'). This works, but is forgotten again on reboot. So I then tried adding a 'boot-custom.sh' script on the Batocera partition's boot folder. This didn't work, so I also tried renaming the script to 'postshare.sh' and rebooting. This didn't work either. My script is below - I'm not sure it is written correctly, I must admit. But any further guidance would be appreciated. Also - I hope this helps someone get farther than I :) The script:
|
You need to have both data partitions on both cards formatted to ext4 (the Batocera will format its self and just leave it alone. Insert the firmware card into the device and boot. SSH into the device, run lsblk to check the drive IDs and grab the ID of the large partition on the boot device. mkdir /userdata2 Boot your device and in OD Commander (ports) you should see both userdata and userdata 2 Confirmed working on latest release, Batocera V40 Beta. All credit to and further detail to |
Well, thank you very much indeed for taking the time to reply. It's all so confusing. It seems ext4 formatting is only needed for the boot-custom.sh to be able to work. Even then - I don't see why the sh file is needed since batocera-save-overlay is meant to be working now. (ext4 is 100% not needed if you just map the paths through ssh, but of course, that mapping is lost on reboot). Well done for getting this working, but yeah... ext4 is a bridge too far for me. I hope next bato release offers a more straight forward solution. Thanks again. |
ext4 is required for symlink as far as I know. I tried this method previously while using exFAT on my partitions and it didn't work. I'm using dual 64gb cards, which made this quite necessary. If you do decide to try ext4, a third party program does work but for longevity I'd recommend using a USB Linux distro. I tried fiddling through WSL but it was more headache than it was worth. |
I believe this is a known issue, but while it is possible to mount a partition on the 1st SD card, it is not possible to save the overlay. As such, the drive needs to be mapped each time the system is restarted.
I have personally verified this machine can read at least 1TB SD cards, so the prospect of this machine having 2TB of storage space with Batocera is very exciting :)
The text was updated successfully, but these errors were encountered: