Comments (8)
I got exactly the same error.
from pishrink.
What's the result of
ls -la pi.img
?
from pishrink.
pi@pi:/media/pi/THUMBZILLA $ ls -la *
-rw-r--r-- 1 pi pi 4294967295 Jul 18 09:44 oldpi.img
from pishrink.
Hm ... according this description
-f file
True if file exists and is a regular file.
A regular file is something that isn't a directory, symlink, socket, device, etc.
you shouldn't get the error message 😕
from pishrink.
It is very peculiar. The image in on a mounted thumb drive. I tried gzip, then reloaded it on another SD card with the PI Imager - nothing weird about the image. I've also used successfully used pishrink.sh before...
from pishrink.
pishrink doesn't work correctly if run directly on an external drive. you'll need to copy the file over to your filesystem and then back again once you've shrank the file.
from pishrink.
I get the same error. No, its not on a external drive.
from pishrink.
Try giving the full path to the file instead of a relative path. If there are spaces in the path be sure to put it in quotes
from pishrink.
Related Issues (20)
- filesystem not expanded on first boot
- Error: Can't have a partition outside the disk! HOT 7
- Check if loopback automatically gets mounted by OS
- 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
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.