Boot BeagleBone Black via microSD Card - mozilla/project_haiku.iot GitHub Wiki

Steps to install Debian and start BBB off microSD card via mac

  1. Download latest Debian firmware image on your mac http://beagleboard.org/latest-images/ under Jessie for BeagleBone via microSD card. I downloaded bone-debian-8.4-lxqt-4gb-armhf-2016-05-13-4gb.img.xz which was latest.

  2. On mac, download UnArchiver utility from app store https://itunes.apple.com/us/app/the-unarchiver/id425424353?mt=12 to unarchive the downloaded image

  3. Plugin the microSD card in your mac using microSD card to SD adapter or a USB adapter. Flash microsdcard from command line. Here's the link explaining how to. https://learn.adafruit.com/beaglebone-black-installing-operating-systems/mac-os-x#using-the-command-line

  4. Insert the microSD card into the slot on the back of the BeagleBone Black. Make sure the BeagleBone Black is powered down, and unplugged from the power source. Hold down the USER/BOOT button and apply power, either by the USB cable or 5V adapter. You should see two of the blue lights come on. At this point you can let go of the User Boot button.

  5. When it boots, the Beaglebone Black should bring up a sshd server. SSH to your server e.g. ssh 192.168.7.2 -l root. If your device is plugged into your mac via usb cable, you can see IP address under network preferences. Open http://192.168.7.2 to read on how to connect using cloud9 IDE.
    Note: If you have previoulsy booted your BBB off emmc and ssh into it, booting off microsdcard and trying ssh might give you error 'offending key to ssh into system'. To remove the offending ssh key use:
    perl -pi -e 's/\Q$_// if ($. == 8);' ~/.ssh/known_hosts
    where 8 is the id for which the offending key is logged in the error e.g Offending key in ~/.ssh/known_hosts: 8

  6. To configure WiFi follow steps https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black/overview.

  7. By default the microSD image is only about 4GB in size, to fully expand the partition to the full size of your microSD card, follow steps under 'Expanding File System Partition On A microSD' http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

Useful links