PiShrink
PiShrink copied to clipboard
Make your pi images smaller!
This change allows proper expansion of ArmbianOS on eMMc module on RockPro.
pi@raspberrypi:/usr/local/bin $ sudo pishrink.sh pi.img pishrink.sh v0.1.2 pishrink.sh: ERROR occurred in line 216: pi.img is not a file...
How can i fix this error : rootfs: Inode 772 extent tree (at level 1) could be shorter. IGNORED. ??? i only get this error with Raspberry Bullseye 32bit. Raspberry...
So, there is a bug in this script. I have a PiShrink image I had created but I wrote it to an SD card, expanded the file system and had...
Add the capability of expanding the fs in readonly systems Tasks: [T-2066]
Hi, PiShrink does not work properly with Home Assistant (Hassio). It does the shrink without complaining (via Windows Subsystem for Linux - 5.10.16.3-microsoft-standard-WSL2) , but the momemt I write the...
I have installed PiShrink on WSL Ubuntu 18.04. I tried to run it with 'sudo pishrink.sh RPi-backup-Hipot-18-07-19-shrunk.img' . When I run it I receive the following error. `Kernel not configured...
Enable regenerate_ssh_host_keys.service after deleting host-keys. Issuing #168
Can we do, so it work from USB and not only SD . ??? ``` do_expand_rootfs() { ROOT_PART=$(mount | sed -n 's|^/dev/\(.*\) on / .*|\1|p') PART_NUM=${ROOT_PART#mmcblk0p} if [ "$PART_NUM" =...
Hi! I've been shrinking a 64 GB image with -z argument. Here's the output: ``` $ sudo pishrink.sh -z osmc.img osmc-shrinked.img pishrink.sh v0.1.2 pishrink.sh: Copying osmc.img to osmc-shrinked.img... ... pishrink.sh:...