is wath i’ve done and im good , thx !
I’ve written a setup script that can resize your file system and partition to fill the entire SD. It works on the fly and you don’t even have to reboot
You can run it by connecting to your Gameshell via SSH and issuing this command:
To see what else it can do or look at the scripts themselves, check out the repo: https://github.com/hpcodecraft/gameshell-setup
Are these updates compatible with v0.3? Great work btw.
Yes, this will work with 0.3, I use it myself
To backup your home/cpi folder from 0.3 requires a modified scp command:
scp -r cpi@[TinyCloud Address]:/home/cpi [Local Backup location]
I don’t know why it worked without the
-r (recursive) option previously, but it doesn’t now.
I hit y when it asked to resize and it then said “skipped”
Not sure what I did wrong?
There’s a bug in the script. Answering ‘
N’ will do it for you.
I should have known better than to try this on April 1st.
Does this script still work?
I’m at work, so I don’t have it in front of me. But I tried it this morning and it didn’t work.
I pushed Y and it did it’s think .Took a while. Lost connection several times. Didn’t work.
I pushed any key to go past it, and it timed out a couple of times.
I’m trying to use a 128GB card for this, but of course, it only sees it as 8GB.
I’ve had reports of problems with the retroarch updating functionality, but I had no time to look into that yet. The SD card expansion should work fine though, just skip the retroarch update option.
If pushing Y doesn’t work, you can try to push N for the SD card update. Some users reported they needed to do that, but I was unable to reproduce this
First thing, where do I see if I pushed Y or N? Hell, I’m using WinSCP, I just click on the window with the terminal text and it proceeds. I don’t even see that it accepted a Y or N. But this is what I get:
home/cpi/games/MAME$ bash <(curl -s https://raw.githubusercontent.com/hpcodecraft/gameshell-setup/master/run.sh)
mkdir: cannot create directory ‘mods’: File exists
fatal: destination path ‘gameshell-setup’ already exists and is not an empty directory.
e[1;32m Welcome! e[0m
e[1;32m This installer will now update the lists e[0m
e[1;32m of packages known to the GameShell e[0m
e[1;32m Afterwards, it will ask you some questions e[0m
e[1;32m Type ‘y’ to accept e[0m
e[1;32m or hit any other key to skip e[0m
e[1;32mUpdating package lists…e[0m
Ign:1 http://cdn-fastly.deb.debian.org/debian stable InRelease
Hit:2 http://security.debian.org/debian-security stable/updates InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian stable-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stable Release
Reading package lists…
Gets to that point and brings up the Host is not communicating window and aborts.regardless if I hit Y or something else
Your Gameshell needs to be connected to the internet while running my script.
You ran the script in the wrong directory, here’s how to fix this first:
- Delete /home/cpi/games/MAME/mods
- Open /home/cpi
- Run the script again
You should have /home/cpi/mods/gameshell-setup after that.
To re-run start /home/cpi/mods/gameshell-setup/setup_new_gameshell.sh
I ran the script a few days ago to repartition my 32gig card, and the update wiped out the PCSX standalone and FreeDM the Doom game that came with it.
I was able to replace PCSX with the Rearmed standalone, but I haven’t attempted to fix Doom yet.
I’m on Mac, what would be the steps to this? Thank you
Guys my current gameshell cant recognize my new SD Card insert on SD slot, I read all the post here, but my concer is, WE CAN ONLY mount the SD card like directory ? but on /Dev/ i cant find this SDcard, make sense ?
Are you talking about having a card with multiple partitions? Without having some form of Linux loading, we wouldn’t be able to view a /dev table.
If it’s just a new card that you tried to insert into your Gameshell, you’ll need to write an image into it. Everything is entirely run off of the SD card.
Or rather are you trying to mount your Gameshell card onto your computer to read the directories? There are ways to do it that differs depending on what OS you’re using, but it’s probably easier to just SSH into your Gameshell.
no I mean just mount a new sd card into a /home/dictory_sd_name, is possible ?
I suppose if you were to use the USB headers/USB OTG on the main board to rig up a secondary SD reader, you would be able to mount/unmount SD cards on the fly.
I’m guessing you’re thinking of a removable media to store collections of games.
You’d just needs to either have a terminal window/SSH session handy to mount the drive on the fly, reboot every time you change media, or have scripts made to mount/unmount.
Once you create a mount point, you should be able to create aliases fo the partitions correlating to the ROM directories.
Is it necessary to create a live USB copy of Ubuntu with gParted? Do you know any tutorial to create it using a Mac?
Run this script on your gameshell