I use a mac and used dd to back up my 4GB SD card using this command:
My install is the main Wheezy os with apt-get update and upgrade ran, git-hub installed and the rpi-update ran. So not much new data added to make my SD bigger than I started with.
Code: Select all
sudo dd bs=1m if=/dev/rdisk1 of=~/Desktop/ssbackup01.img
The backup I created is 4.03gb (4,025,483,264 bytes), unlike the official download which is 1.94gb (1,939,865,600 bytes).
Did i do something wrong to create a larger image than the one I start with?
If my file is reporting 4.03gb how can I expect this to fit onto a 4gb SD card, it seems to me that the file is greater than the capacity of a blank SD.
Can anyone help me understand the science? I want a foolproof way to back up my install and flash to any other SD card 4gb or greater.