I have a SanDisk Extreme SD card contaning my Homeserver runing on the RaspberryPI. I want to move this sytsem to another 4GB SD card using dd. But unfortunaltely when I make an image via dd it has the size of the entire SanDisk (16GB) althought just ca. 13.5 of them are partitioned. The Server SD consists of 2 partitions one small 50MB and a second 3 GB. I expected that dd makes an image of the size of the sum of the two partitions. Is there a way to make an image that contains just the really used disk space?