Install Raspbian system to Raspberry Pi under Mac OS x
Go to the official Raspberry Pi website to download a system image, it is recommended to download Raspbian.
If using the direct extension of the waveshare TFT small screen, to Http://www.waveshare.net/wiki/RPI_IMAGE to download.
Get an img image when the download is complete:
[[Email protected]: pi] $ls-lhtotal 3788800-rw-r--r--1 Zhangshenjia staff 1.8G 2 9 03:44 2013-02-09-wheezy-raspbian . img
Insert the SD card and use the DF command to view the currently mounted volumes:
[[email protected]: pi] $df -hFilesystem size used avail capacity mounted on/dev/disk0s2 112Gi 96Gi 15Gi 87% /devfs 183Ki 183Ki 0Bi 100% /devmap -hosts 0Bi 0Bi 0Bi 100% /netmap auto_home 0bi 0bi 0Bi 100% /home/dev/disk1s1 15gi 2.3mi 15gi 1% / Volumes/not named
Compare size and name to find the SD card partition in the system corresponding to the device file (here is/DEV/DISK1S1), if you have multiple partitions, there may be disk1s2 and the like. Use Diskutil unmount to unload these partitions:
[[Email protected]: pi] $diskutil unmount/dev/disk1s12volume not named on DISK1S1 unmounted
Confirm the device by Diskutil list:
[[Email protected]: pi] $diskutil list/dev/disk0 #: TYPE NAME size identifier 0: GUID_partition_scheme *121.3 gb disk0 1: EFI 209.7 mb disk0s1 2: Apple_HFS Macintosh HD 120.5 GB disk0s2 3: Apple_Boot Recovery hd 650.0 mb disk0s3/dev/disk1 #: TYPE NAME size identifier 0: fdisk_partition_scheme *15.8 GB disk1 1: Windows_NTFS not named 15.8 gb disk1s1
Using the DD command to write the system image, you need to pay special attention to the number after disk, can not be mistaken!
(Description:/DEV/DISK1S1 is a partition,/dev/disk1 is a block device,/dev/rdisk1 is a raw character device)
[[Email protected]: pi] $dd bs=4m if=2013-02-09-wheezy-raspbian.img of=/dev/rdisk1
After a few minutes of waiting, the following prompt appears, indicating that the SD card is brushed:
462+1 Records in462+1 records out1939865600 bytes transferred in 163.133220 secs (11891297 bytes/sec)
Uninstalling the device with Diskutil Unmountdisk:
[[Email protected]: pi] $diskutil unmountdisk/dev/disk1unmount of all volumes on Disk1 was successful
You can now unplug the SD card and plug it into the Raspberry Pi boot system.
The first boot will go into the raspi-config, the following configuration method is the same as other platforms, refer to the use of Raspi-config configuration Raspberry Pi.
Mac OSX installs the Raspbian system for Raspberry Pi