I've built a beautifully crafted SD card for my application using a Raspberry Pi Zero. Before shipping it to my customer I've made a backup.
What I did on my Mac BookPro is
- Open DiskUtility
- Menu `File/New Image.../Image from "APPLE SD Card Reader Media"
- Choose "Compress image"
and wait.
The original SD card was 16GB.
The resulting DMG file (if mounted) gives
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme +16.1 GB disk3
1: Windows_FAT_32 boot 43.0 MB disk3s1
2: Linux 15.9 GB disk3s2
Then, using Etcher, I usually etch the resulting DMG to a new SD. But this time the resulting size is too big for the SD. Of course the original Card was a 16GB and I'm trying to copy it to another SD. I've tried changing several SD and the result is always the same. I don't know why.
I've done another backup of another SD card (different content) without compressing the image, and it seems to write back correctly.
Any idea on how to recover my data? Thanks Walter