Comments (4)
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.
from pishrink.
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]
from pishrink.
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.
from pishrink.
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
from pishrink.
Related Issues (20)
- Detect when parted changes PARTUUID
- Add image cleanup support
- Remove current image cleanup code
- Add better detection of existing /etc/rc.local changes HOT 1
- FEATURE REQUEST: BTRFS support HOT 2
- ERROR occurred in line 300: tune2fs failed. Unable to shrink this type of image. HOT 1
- unexpected end of file error HOT 1
- File System not expanding HOT 2
- possibility to add costum scripts to the new iso?
- Raspbian not completly booting - No GUI underscore blinking HOT 3
- Filesystem not expanding if rc.local does not exist
- Option to resize partition to a given size? HOT 1
- Typo in line 394 trunate to truncate
- pishrink writes to stderr instead of stdout
- new shrink image is not running. HOT 3
- After the image is clipped, the power indicator is off after the system is shut down
- ERROR occurred in line 304: tune2fs failed HOT 7
- shrinkPi for Sonoma HOT 2
- [Tip/Idea]: Make Releases to check if update is necessary
- it could shrink the Debian/Ubuntu image on my PC. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pishrink.