If you created the SD card like this: (/dev/sdx being the cardreader device)
Code:
dd bs=1M if=sdcard.image of=/dev/sdx
sync
Then you can verify it like this:
Code:
# unplug and re-plug sd card reader or clear caches
echo 3 > /proc/sys/vm/drop_caches
# compare
cmp sdcard.image /dev/sdx && echo OK
# should say EOF on /dev/sdx or OK
On Ubuntu you might have to use sudo -s first to get a root shell, or adapt above commands for use with sudo
Note I don't know what type of file davidfor gave you. Like if it's an image.gz then you have to gunzip first.