KZL
Posts: 66
Joined: Fri May 17, 2013 11:58 pm

Backup and shrink my image

Mon Apr 28, 2014 10:42 pm

Hi !

I want to backup an image and I have a 8go sd card. I don't want to backup all my card. So I want to backup an image .img shrinked and remove unused space.

I only have a macbook. So I can't use gparted of zerofree to shrink my image.
Someone can explain me, how to get a minimal image direct from raspberry ?

I used dd if=... of=... count=... bs=1M, but this command is not general, i already get corrupted image.. :(

Thank for help.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Backup and shrink my image

Mon Apr 28, 2014 11:22 pm

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Beginners”