The original post: /r/selfhosted by /u/Dungeon_Crawler_Carl on 2025-01-17 20:59:59.
I am trying to create a disk image backup of a 32gb SD card I use for my Raspberry Pi.
On my macbook I am using this command to copy the SD card:
sudo dd if=/dev/disk4 of=/Users/name/Desktop/raspberry_pi_backup.img bs=1m status=progress
but the hash is different:
% sudo dd if=/dev/disk4 bs=1m count=30437 | md5
md5 /Users/name/Desktop/raspberry_pi_backup.img
30436+1 records in
30436+1 records out
31914983424 bytes transferred in 1428.081052 secs (22348160 bytes/sec)
85b115d5d6a41ec849401b5212ef3225
MD5 (/Users/name/Desktop/raspberry_pi_backup.img) = c04a5f3cfd51ef4e238905fc0ffc12f0
Not sure what I’m doing wrong??
You must log in or register to comment.