[TriLUG] Error checking for dd?
bick via TriLUG
trilug at trilug.org
Thu Dec 22 21:09:27 EST 2016
To get rid of the blank space, you can use truncate (e.g., dd your sd
card image back to your pc, then run "truncate --reference
distro_file.img sd_card.img", then run diff). Credit goes not to my own
brain, but to the Pi Foundation (I've used this guide more times than I
should have needed.):
https://www.raspberrypi.org/documentation/installation/installing-images/linux.md
On 12/20/2016 06:44 PM, Nathan Yinger via TriLUG wrote:
> Does anyone know a good/easy way to check for errors when writing an image
> to an SD card with dd? I keep having to flash RPi SD cards multiple times
> before they work properly.
>
> After writing an SD card, I tried using dd to copy it back into a file to
> diff with the original, but it cloned the entire SD card, including blank
> space. (The original image was 45MB, and I stopped the copy back at 100MB).
>
> ~Nathan Yinger
More information about the TriLUG
mailing list