Set up Beaglebone Black with Ubuntu

This procedure assumes you are running on a PC running Ubuntu itself.

Do not power up the BBB until instructed.

  1. Use 4 GB or larger micro SD card. This procedure assumes the SD card is at /dev/mmcblk0
  2. Download *.img.xz Ubuntu image.
  3. Extract to SD card–This will take 5-10 minutes with a card writing at 5 MB/sec.
    xz -cd BBB*-ubuntu-*armhf*.img.xz > /dev/mmcblk0
    
  4. Confirm that writing to SD card is complete
    sync
    

    then insert micro SD card into the Beaglebone Black

  5. PLUG AN ETHERNET CABLE into your network before booting Beaglebone. Also this assumes you have a monitor and keyboard connected to the Beaglebone.
  6. Boot from SD card: Hold down the user/boot switch (the one closest to the microSD card on the opposite side of the PCB) and keep holding after plugging in Beaglebone power until the third LED from the Ethernet jack starts flashing (indicating the microSD is being accessed).
  7. WAIT about 1 minute. The monitor connected to the Beaglebone is black (not sleeping) during this time. Then you’ll see ubuntu-armhf login. Login/password ubuntu

After this first Ubuntu boot, you do NOT have to hold down user/boot switch on future bootups to use the SD card. Subsequent boots take me 12 seconds to get to login prompt with old Class 4 SD card.

df -h

reveals that ~ 0.5 GB is being used, so you could copy from SD to internal eMMC.

Troubleshoot Beaglebone HDMI

install the useful parse-edid program by typing:

apt install read-edid

Notes

Commentary

Leave a Comment