Hopefully by now you’re well aware of Ubuntu Core — the snappiest way to run Ubuntu on a Raspberry Pi…
Well, you’re in luck! Follow these instructions, and you’ll be up in running in minutes!
First, download the released image (214MB):
$ wget http://cdimage.ubuntu.com/releases/16.04/release/ubuntu-16.04.3-preinstalled-server-armhf+raspi2.img.xz
Next, uncompress it:
$ unxz *xz
Now, write it to a microSD card using dd. I’m using the card reader built into my Thinkpad, but you might use a USB adapter. You’ll need to figure out the block device of your card, and perhaps unmount it, if necessary. Then, you can write the image to disk:
$ sudo dd if=ubuntu-16.04-preinstalled-server-armhf+raspi2.img of=/dev/mmcblk0 bs=32M
Now, pop it into your rpi2, and power it on.
If it’s connected to a USB mouse and an HDMI monitor, then you’ll land in a console where you can login with the username ‘ubuntu‘ and password ‘ubuntu‘, and then you’ll be forced to choose a new password.
Assuming it has an Ethernet connection, it should DHCP. You might need to check your router to determine what IP address it got, or it sets it’s hostname to ‘ubuntu’. In my case, I could automatically resolve it on my network, at ubuntu.canyonedge, with IP address 10.0.0.113, and ssh to it:
$ ssh firstname.lastname@example.org
Again, you can login on first boot with password ‘ubuntu‘ and you’re required to choose a new password.
On first boot, it will automatically resize the filesystem to use all of the available space on the MicroSD card — much nicer than having to resize2fs yourself in some offline mode!
Heck, you’ll even find the snap command, where you’ll be able to install snap packages, right on top of your classic Ubuntu Server! And if that doesn’t just bake your noodle…
Ubuntu offers all the training, software infrastructure, tools, services and support you need for your public and private clouds.
As part of a personal drive to be less dependent on 3rd party Internet services, I’ve moved some things in house, under my own control. This includes self-hosting important shared files, photos and media at home. Which can pose a…
Another month passes and we’ve got a collection of applications which crossed our “desk” (Twitter feed) towards the end of 2018. Take a look down the list, and discover something new today. 1. MiniZinc MiniZinc MiniZinc…
Canonical has released MicroK8s – a fast and efficient upstream Kubernetes delivered as a single snap package that installs on 42 flavours of Linux. With a small disk and memory footprint, MicroK8s provides an efficient way to deploy…