Drewsif / PiShrink

Make your pi images smaller!
MIT License
3.5k stars 644 forks source link

Pishrink doesn't shrink BookWorm image file #299

Open Docteur-No opened 2 hours ago

Docteur-No commented 2 hours ago

I wanted to shrink a bookworm 64bits image which is on a USB key (µSD). Using Bookworm or Buster OS result is the same.

Here is the result :

`phil@PhilBox64:/media/phil/9286-4DB0 $ sudo pishrink.sh -d toto.img pishrink.sh: Creating log file /media/phil/9286-4DB0/pishrink.log PiShrink v24.10.23 - https://github.com/Drewsif/PiShrink

pishrink.sh: Gathering data pishrink.sh: Checking filesystem rootfs: 281729/942080 files (0.2% non-contiguous), 3359370/3757440 blocks resize2fs 1.47.0 (5-Feb-2023) pishrink.sh: Filesystem already shrunk to smallest size. Skipping filesystem shrinking pishrink.sh: Shrunk toto.img from 15G to 15G ` Unable to shrink my image (pishrink.log empty) ?!?! What is wrong ?