Replies: 2 comments 1 reply
-
Hey @jestern77 you can use PiShrink dockerized | Docker Hub PiShrink. Hi @Drewsif, would it be possible to update the README and include a note about PiShrink for macOS? Thanks so much! macOS Setup
cd ~/Directory-with-RPi-image
docker run --privileged=true --rm \
--volume $(pwd):/workdir \
monsieurborges/pishrink \
pishrink -Zv IMAGE_NAME.img NEW-IMAGE_NAME.img |
Beta Was this translation helpful? Give feedback.
1 reply
-
Instructions in so closing this! Check the README for the latest |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI there I correctly installed PiShrink using the three command lines. When I run the code though it give me an error.
sudo pishrink.sh /Users/jestern/Desktop/Rpi.img
/usr/local/bin/pishrink.sh: line 11: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/bin/pishrink.sh: line 12: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
/usr/local/bin/pishrink.sh: line 13: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
pishrink.sh v0.1.4
pishrink.sh: ERROR occurred in line 257: parted is not installed.
Can you help me understand what is wrong? I did the image with diskutil on Mac from my Rapsberry pi.
Beta Was this translation helpful? Give feedback.
All reactions