Duplicate SD card - Raspberry Pi Forums


hi all,

small class set of rpi 3s , running - allow students jump straight coding headless setup, there preferred way copy sd card? i'm using commands below on mac process still slow - 40 mins 8gb card...

diskutil list
sudo dd if=/dev/disk2 of=/users/andrewhowden/desktop/raspberrypi.dmg bs=5m
diskutil unmountdisk /dev/disk2

#insert "blank" card

diskutil list
diskutil unmountdisk /dev/disk2
sudo dd if=/users/andrewhowden/desktop/raspberrypi.dmg of=/dev/disk2 bs=5m

thanks,

andrew

on macs have access raw device otherwise terribly slow.
if device disk2, use rdisk2 in dd command.


raspberrypi



Comments