Clone SD card on Mac

Cloning SD Card on Mac 

1. Insert the source SD card into your computer and open the Terminal.

2. Then, list out all of your disks. The commands is: 
          diskutil list
3. Make a note of your SD card’s disk name. It should be something like /dev/disk2 on Mac.

4: Unmount the disk using the following command while replacing the disk name with that from step 3: 
           diskutil unmountDisk /dev/disk2
5. Write the image of the SD card to your local drive using the command below: sudo dd if=“disk name” of=~/backup_image.img 
           Here, replace “disk name” with your disk name on either OS. You can also use any name for the .img file.
6. Now insert the destination drive on your computer.

7. Copy steps 2 to 4 to determine its disk name and unmount the drive.

8. Enter the command sudo dd if=~/backup_image.img of=“disk name”. Use your disk name and, if necessary, image file name.


Creation date: 7/17/2024 3:52 PM (brandonrf@southern.edu)      Updated: 10/2/2024 4:19 PM (brandonrf@southern.edu)