Mac Install Raspberry system to machine

来源:互联网 发布:那个软件接收香港电台 编辑:程序博客网 时间:2024/06/05 21:54

1.Download The zip in the official website
2.unzip the zip and you get the iso file
3.insert the tf card to your mac
4.use disk tool to format the tf card to fat
5.open the terminal do the next steps:

  • df -lh to see the tf card disk info
Filesystem     Size   Used  Avail Capacity   iused    ifree %iused  Mounted on/dev/disk0s2  465Gi  393Gi   72Gi    85% 103167366 18760835   85%   //dev/disk2s2  *  *   *    * * *   *   /
  • diskutil umount /dev/disk2s2
  • sudo dd bs=1m if=./2017-07-05-raspbian-jessie.img of=/dev/rdisk2

It takes a long time and you can get a cup of tea.

6.cd Boot:

touch ssh

7.Ready ! insert the card to raspberry and turn on.

The default username: pi password: raspberry use this to add root

sudo passwd root
原创粉丝点击