====== Ubuntu Core ARM ======
[[https://wiki.ubuntu.com/Core]]
Deploying Ubuntu Core
Requirements
* Ubuntu Core rootfs
* Linux kernel for target device
* boot-loader for target device
Procedure:
* Format target media: at least one partition should be ext2, ext3, or ext4
* Unpack Ubuntu Core to ext{2,3,4} partition
* Install boot-loader
* Install Linux
* Add a local user and password for the user, then add the user to the adm and sudo groups.
If the Linux kernel requires modules, add these to /lib/modules/$(uname -r) in the ext{2,3,4} file system
On the SD Card rootfs partition, edit the file /etc/shadow, line for the root user, and remove the '*' character in between the semi-colons. Now you will be able to login as root without a password.
* Boot the target device
* Setup the network
/usr/lib/klibc/bin/ipconfig eth0
* Install any additional required software using apt-get (run "apt-get update" first)
Edit your /etc/network/interfaces file and add the bottom 2 lines:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Add this if DNS server is not set by dhcp
echo "nameserver 8.8.8.8" > /etc/resolv.conf
The folowing packages might be necessary for you system:
apt-get update
apt-get install net-tools
apt-get install ppp
apt-get install usbutils
apt-get install inetutils-ping