backing_up_sd_card_using_a_macintosh_computer
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
backing_up_sd_card_using_a_macintosh_computer [2013/07/02 16:45] – created k9dc | backing_up_sd_card_using_a_macintosh_computer [2014/01/26 16:57] (current) – k9dc | ||
---|---|---|---|
Line 1: | Line 1: | ||
It is easy to make a backup of your SD card on a Macintosh. | It is easy to make a backup of your SD card on a Macintosh. | ||
- | THe instructions below assume you have become root on the Mac. The root account is deactivated | + | The instructions below assume you have become root on the Mac. The root account is not activated |
The process described below is a two step maneuver. The first part creates an image file copy of the SD drive, on your local hard disk. The second part copies that image file to a new SD card in the slot. If you need to make more than one copy, simply perform the second part more than once. | The process described below is a two step maneuver. The first part creates an image file copy of the SD drive, on your local hard disk. The second part copies that image file to a new SD card in the slot. If you need to make more than one copy, simply perform the second part more than once. | ||
Line 9: | Line 9: | ||
We need to determine what the SD card is called by the OS. Use the command below... | We need to determine what the SD card is called by the OS. Use the command below... | ||
- | [If you only have a single hard drive in your Mac (disk0), it will probably | + | < |
- | be disk1. | + | |
- | | + | |
- | diskutil list | + | ---- |
+ | Note: If you only have a single hard drive in your Mac (disk0), the SD card will probably | ||
+ | be disk1. | ||
+ | examples below. | ||
+ | ---- | ||
- | dave@DGingrich-MBPr:~$ diskutil list | + | < |
/dev/disk0 | /dev/disk0 | ||
#: | #: | ||
Line 26: | Line 28: | ||
| | ||
| | ||
- | | + | |
In the sample output above, disk0 is the main hard drive. The SD card is called " | In the sample output above, disk0 is the main hard drive. The SD card is called " | ||
- | Part 1 - Making a local copy of the SD card on your local hard drive. | + | |
+ | ==== Part 1 - Making a local copy of the SD card on your hard drive. | ||
+ | |||
The partitions must be unmounted. Use the command... | The partitions must be unmounted. Use the command... | ||
- | diskutil unmountDisk disk1 | + | < |
To make a copy of the SD card to your local drive... | To make a copy of the SD card to your local drive... | ||
- | [in the example below, replace < | ||
- | | ||
- | dd if=/ | + | ---- |
+ | Note: In the example below, replace < | ||
+ | ---- | ||
+ | |||
+ | |||
+ | < | ||
The command above (dd) reads the input file (the SD card) and makes a file copy of it in your user home directory on the MAC. | The command above (dd) reads the input file (the SD card) and makes a file copy of it in your user home directory on the MAC. | ||
- | Part 2 - Copying the local disk image to a new SD card. | + | ==== Part 2 - Copying the local disk image to a new SD card. ==== |
Replace the SD card with a new one. | Replace the SD card with a new one. | ||
Line 51: | Line 60: | ||
The partitions must be unmounted. Use the command... | The partitions must be unmounted. Use the command... | ||
- | diskutil unmountDisk disk1 | + | < |
The command to copy the file to a new SD... | The command to copy the file to a new SD... | ||
- | dd if=/ | + | < |
It can take some time for the copy to complete, like 60-80 minutes. The speed is on the order of 1 MB/sec, regardless of the rated speed of the card. You do the math. | It can take some time for the copy to complete, like 60-80 minutes. The speed is on the order of 1 MB/sec, regardless of the rated speed of the card. You do the math. |
backing_up_sd_card_using_a_macintosh_computer.1372783529.txt.gz · Last modified: 2013/07/02 16:45 by k9dc