Set up Beaglebone Black with Ubuntu

This procedure assumes a laptop running Linux and 4 GB or larger micro SD card. This procedure assumes the SD card is at /dev/mmcblk0

  1. Download *.img.xz Ubuntu image.

  2. 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
    
  3. Confirm that writing to SD card is complete

    sync
    

    then insert micro SD card into the Beaglebone Black

  4. PLUG AN ETHERNET CABLE into your network before booting Beaglebone. Connect a monitor and keyboard to the Beaglebone.

  5. 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).

  6. 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. Boot and run faster by copying OS from SD to internal eMMC.

Notes

Commentary