Skip to content
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

How to Use #14

Closed
JourdanDixon opened this issue Jul 6, 2017 · 4 comments
Closed

How to Use #14

JourdanDixon opened this issue Jul 6, 2017 · 4 comments

Comments

@JourdanDixon
Copy link

Hi there, sorry to be a bit dense here. Can I run this on my Mac? The Micro SD for the Pi is 119 Gigs (I hate that they advertise as 128 Gigs and measure at 1000 Mb) and my image file is just under 128 Gigs. So having 2 exist on the Pi wouldn't work. Any suggestions are appreciated. Thanks!

@Drewsif
Copy link
Owner

Drewsif commented Jul 6, 2017

No, you need to run it under Linux. I don't have a Mac to tests or develop against. If you have an external drive to put your image on you can use your pi to run the script.

@Drewsif Drewsif closed this as completed Jul 6, 2017
@JourdanDixon
Copy link
Author

So, I've placed the pishrink on the desktop of the pi and I have the image on an external hard drive. I tried the below script. Any suggestions? It says Permission denied. If I use sudo in front of it, it says command not found. I tried [] around the img file source as well, but no change.

/home/pi/Desktop/pishrink.sh [-s] /media/pi/My Book/RetroPie Image/NoInputs128g_/NoInputs128g.img [/media/pi/My Book/RetroPie Image/NoInputs128g_/NewNoInputs128g.img]

@JourdanDixon
Copy link
Author

FYI... I removed the brackets around the -s, removed all spaces in the paths, and removed the brackets around the last path. It tries to run but says it doesn't have permissions on my external drive. When I check permissions from windows, it shows FULL ACCESS to everyone. Not sure where to go from here.

@Drewsif
Copy link
Owner

Drewsif commented Jul 15, 2017

It looks like you have spaces in your path. You might try putting it in quotes like this sudo /home/pi/Desktop/pishrink.sh "/media/pi/My Book/RetroPie Image/NoInputs128g_/NoInputs128g.img" "/media/pi/My Book/RetroPie Image/NoInputs128g_/NewNoInputs128g.img" The brackets aren't required they just mean that you don't need to add that option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants