1

I have openelec on my Raspberry Pi board installed on a 32 GB microsd but it occupies way less space so I'd like to move the whole OS to a 16 GB microsd, I tried to clone using win32diskImager but I got a 32 GB .img file, do you know any other way to do it?

0

1 Answer 1

2
  1. Do a backup of your current 32GB SD
  2. You will get a 32GB *.img file, this is OK
  3. Get any Linux computer and download this tool (PiShrink)
  4. Use it like this: ./pishrink my32Gbfile.img newimagefile.img

Check the size of newimagefile.img file, maybe it will fit on your 16GB SD card.

2
  • can I use a virtual machine? Commented Jun 19, 2016 at 17:19
  • 1
    @ScazzoMatto yes, you can also use your own Pi to run PiShrink :smile:
    – MadAntrax
    Commented Jun 21, 2016 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.