IGate: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The following instructions are for creating an SD card using OSX. The process is similar with other operating systems. | The following instructions are for creating an SD card using OSX. The process is similar with other operating systems. | ||
Download http://downloads.raspberrypi.org/raspbian_latest and unzip | |||
Obtain an SD card of at least 4Gb in size | |||
Determine the device name of your SD card reader on your mac by running the following command before and after inserting the SD card. Look for the newly added disk drive. It is important that you get the correct disk name. If you pick the wrong name, you could wipe out the hard drive in your Mac. | |||
<pre> | <pre> | ||
$ diskutil list | $ diskutil list | ||
</pre> | </pre> | ||
In this example, the drive name is /dev/disk4 | |||
Copy the Raspbian image you downloaded to the SD card. Note that I've added an 'r' to the front of 'disk' in the 'dd' command line. This is the unbuffered device and will result in a quicker copy. | |||
<pre> | <pre> | ||
$ diskutil unmountDisk /dev/disk4 | $ diskutil unmountDisk /dev/disk4 | ||
$ sudo dd if=2014-01-07-wheezy-raspbian.img of=/dev/rdisk4 | $ sudo dd if=2014-01-07-wheezy-raspbian.img of=/dev/rdisk4 | ||
</pre> | |||
This will take some time to finish. Once done, unmount the volume, then remove the SD card. | |||
<pre> | |||
$ diskutil unmountDisk /dev/disk4 | |||
</pre> | </pre> |
Revision as of 21:15, 23 March 2014
The following instructions are for creating an SD card using OSX. The process is similar with other operating systems.
Download http://downloads.raspberrypi.org/raspbian_latest and unzip
Obtain an SD card of at least 4Gb in size
Determine the device name of your SD card reader on your mac by running the following command before and after inserting the SD card. Look for the newly added disk drive. It is important that you get the correct disk name. If you pick the wrong name, you could wipe out the hard drive in your Mac.
$ diskutil list
In this example, the drive name is /dev/disk4
Copy the Raspbian image you downloaded to the SD card. Note that I've added an 'r' to the front of 'disk' in the 'dd' command line. This is the unbuffered device and will result in a quicker copy.
$ diskutil unmountDisk /dev/disk4 $ sudo dd if=2014-01-07-wheezy-raspbian.img of=/dev/rdisk4
This will take some time to finish. Once done, unmount the volume, then remove the SD card.
$ diskutil unmountDisk /dev/disk4