I'm trying to figure out a way to create an image on my SD card. My SD card is 16 GB but I have not changed the original partition size. All the software that I use to create an IMG file with always creates a 16 GB file and not a 2 GB as I would expect.
# df -H Filesystem Size Used Avail Use% Mounted on rootfs 1.9G 1.3G 508M 72% / /dev/root 1.9G 1.3G 508M 72% / devtmpfs 122M 0 122M 0% /dev tmpfs 122M 0 122M 0% /dev/shm tmpfs 122M 275k 121M 1% /run tmpfs 122M 0 122M 0% /sys/fs/cgroup tmpfs 122M 0 122M 0% /tmp /dev/mmcblk0p1 99M 21M 79M 21% /boot
The programs I have tried are:
I have downloaded and ran Arch Linux for RPi, installed some software and now I want to create a new image for distribution. But it is creating a 16GB file rather than a 2 GB file (hoping for a 1.5 GB file or less).
I have the original 2 partitions on the SD card: #fdisk -l
Device Boot Start End Blocks Id System /dev/mmcblk0p1 * 2048 194559 96256 c W95 FAT32 (LBA) /dev/mmcblk0p2 194560 3862527 1833984 83 Linux
I need to create the IMG file from a Windows computer.