Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Raspbian system under Mac OS X in raspberry pie

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install Raspbian system under Mac OS X in raspberry pie, which has a certain reference value. Interested friends can refer to it. I hope you can learn a lot after reading this article.

Install Raspbian system for raspberry pie under Mac OS X

First go to the official website of raspberry pie to download a system image. It is recommended to download Raspbian.

If you use a direct extension of WaveShare's TFT screen, go to http://www.waveshare.net/wiki/RPI_IMAGE to download it.

After the download is completed, you get an img image:

[mymacbook@mac: pi] $ls-lhtotal 3788800 ls-1 mymacbook 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:

[mymacbook@mac: pi] $df-hFilesystem Size Used Avail Capacity Mounted on/dev/disk0s2 112Gi 96Gi 15Gi 87% / devfs 183Ki 183Ki 0Bi / devmap-hosts 0Bi 0Bi 0Bi 100% / netmap auto_home 0Bi 0Bi 0Bi 100% / home/dev/disk3s1 15Gi 2.3Mi 15Gi 1% / Volumes/disk3s1

Compare Size and Name to find the corresponding device files for SD card partitions in the system (here is / dev/disk3s1), and if you have multiple partitions, there may be disk1s2 and so on. Uninstall these partitions using diskutil unmount:

[zhangshenjia@mac: pi] $diskutil unmount / dev/disk3s12Volume unnamed on disk1s1 unmounted

Confirm the device through diskutil list:

[mymacbook@mac: 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 Name 15.8 GB disk1s1

Use the dd command to write the system image, you need to pay special attention to the numbers after disk, do not make a mistake!

(note: / dev/disk3s1 is the partition, / dev/disk3 is the block device, / dev/rdisk3 is the original character device)

[mymacbook@mac: 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 has been swiped:

462'1 records in462+1 records out1939865600 bytes transferred in 163.133220 secs (11891297 bytes/sec)

Uninstall the device with diskutil unmountDisk:

[zhangshenjia@mac: pi] $diskutil unmountDisk / dev/disk3Unmount of all volumes on disk3 was successful

Now you can unplug the SD card and plug it into the raspberry pie to start the system.

Thank you for reading this article carefully. I hope the article "how to install Raspbian system under Mac OS X in Raspberry Pie" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report