Ubuntu on BBB

January 6, 2018
BeagleBone Black

Create bootable micro SD

Get image

Get an image bone-ubuntu-16.04.3-console-armhf-2017-12-08-2gb.img.xz from https://elinux.org/BeagleBoardUbuntu#BeagleBone_White.2FBlack.2FGreen

Write image to microSD via Etcher.

First boot from microSD

Press boot button (beside on microSD slot) and wait for few minutes (about 2min).

initial network address is 192.168.6.2.

First login

 $ ssh -lubuntu 192.168.6.2

initial password is temppwd

Change uEnv.txt

 $ cd /
 $ cp bbb-uEnv.txt uEnv.txt

Try to reboot (waiting few minutes).

Change default password of default user

$ passwd

Assign network address to NIC

Edit /etc/network/interfaces

# The primary network interface
auto eth0
#iface eth0 inet dhcp # <--- comment out
iface eth0 inet static
    address 192.168.xxx.34
    netmask 255.255.255.0
    network 192.168.xxx.0
    gateway 192.168.xxx.1
    dns-servers 192.168.xxx0.1 208.67.222.222 208.67.220.220

Edit /etc/resolvconf/resolv.conf.d/base

server 192.168.xxx.1
server 208.67.222.222 
server 208.67.220.220

nameserver と書くと、無視される?

Modify fstab to mount additional partition

Edit /etc/fstab

Set up dev env (with ansible)