Backup/Restore SD card to/from image
Post ReplyBackup/Restore SD card to/from imagePosted: Wednesday, February 15, 2017 [15:23:34] - 1
On Mac OS X: In terminal: you will see similar to the this: #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 499.8 GB disk0s2 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme *41.9 MB disk1 1: Apple_partition_map 32.3 KB disk1s1 2: Apple_HFS data 41.9 MB disk1s2 /dev/disk3 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *15.7 GB disk3 1: Windows_FAT_32 NO NAME 15.7 GB disk3s1 To backup your SD card use DD command: where /dev/rdiskX is the disk name copied from the screen before (/dev/disk3 in our case). Process may take a long time depending on SD card size and connection speed of the media where backup image is stored. |
RE: Backup/Restore SD card to/from imagePosted: Wednesday, February 15, 2017 [15:35:00] - 2
Restoring on Mac OS X is just as easy. Use the same "diskutil list" to identify the mounted SD card. Unmount the SD card (important!): Format SD card, process is fast and ensures clean restore: where "/dev/diskX" is the Disk name taken from "diskutil list". Once SD card is formatted, image can be restored from the image using DD program: "if" - input file "of" - output file Restore process can take a long time as well. |