tl;dr: When you shrink your Raspbian images for storage, make sure to fold them carefully.Copying your Pi image
In Windows, you can use Win32 Disk Imager's READ function instead of the WRITE function you usually use for writing images to your SD card.
In Linux, you can use Andrew Oaklay's instructions:
sudo umount /dev/partition1 /dev/partition2.
.imgfile on your computer -
sudo dcfldd if=/dev/sdcardmountingpoint of=imagename.img.
We're doing well! Time to shrink that image using a Linux computer (we use the latest Ubuntu LTS):
.shscript executable -
sudo chmod +x pishrink.sh.
.imgfile you generated earlier -
sudo ./pishrink.sh imagefile.img imagefile_shrunk.img.