Install Ubuntu Core on the Intel® Joule

There are two install options for the Intel Joule: Ubuntu Core or Ubuntu Desktop. This page is for Ubuntu Core.

Install Ubuntu Core

We will walk you through the steps of flashing Ubuntu Core on an Intel Joule. At the end of this process, you will have a board ready for production or testing snaps.

Minimum requirements

  • An Ubuntu SSO account with an SSH key
  • An Intel® Joule board with BIOS updated to version #193 (update instructions)
  • 2 USB 2.0 or 3.0 flash drives (2GB minimum)
  • A monitor with an HDMI interface
  • A Mini HDMI to HDMI cable
  • A USB keyboard and a mouse
  • A USB Hub with space for 4 devices
  • An 802.11 a/b/g/n WiFi network with Internet access
  • An Ubuntu 18.04 LTS image
  • An Ubuntu Core image

Installation instructions

  1. 1 Setup an Ubuntu SSO account

    An Ubuntu SSO account is required to create the first user on an Ubuntu Core installation.

    1. Start by creating an Ubuntu SSO account.
    2. Import an SSH Key into your Ubuntu SSO account. (instructions)
  2. 2 Download Ubuntu Core

    Get the correct Ubuntu Core image for your board:

  3. 3 Flash the USB drives

    1. Download and copy the Ubuntu 18.04 LTS image on the first USB flash drive by following the live USB Ubuntu Desktop tutorial for Ubuntu, Windows, or Mac OS X
    2. Download the Ubuntu Core image for Intel Joule and copy the file on the second USB drive.
  4. 4 Install Ubuntu Core

    1. Connect your USB hub, keyboard, mouse, monitor to the Joule.
    2. Insert the first USB flash drive, containing Ubuntu 18.04 LTS.
    3. Power-up the Joule board, boot-up the device from USB and select “Try Ubuntu without installing” in the first boot menu.
    4. Once the system is ready, insert the second USB flash drive.
    5. Open a terminal and run the following command, where <disk label> is the name of the second USB flash drive:

      xzcat /media/ubuntu/<disk label>/ubuntu-core-16-joule.img.xz | sudo dd of=/dev/mmcblk0 bs=32M status=progress; sync
    6. Remove all USB flash drives and reboot the system, it will reboot from the internal memory now containing Ubuntu Core.
  5. 4 First boot setup

    1. The system will boot then become ready to configure.
    2. The device will display the prompt “Press enter to configure”.
    3. Press enter then select “Start” to begin configuring your network and an administrator account. Follow the instructions on the screen, you will be asked to configure your network and enter your Ubuntu SSO credentials.
    4. At the end of the process, you will see your credentials to access your Ubuntu Core machine:

      This device is registered to <Ubuntu SSO email address>.
      Remote access was enabled via authentication with the SSO user <Ubuntu SSO user name>
      Public SSH keys were added to the device for remote access.
  6. 5 Login

    Once setup is done, you can login with SSH into Ubuntu Core, from a machine on the same network, using the following command:

    ssh <Ubuntu SSO user name>@<device IP address>

    Your user name is your Ubuntu SSO user name, it has been reminded to you at the end of the account configuration step.

First boot tips

  • During setup, console-conf will download the SSH key registered with your Store account and configure it so you can log into the device via ssh <Ubuntu SSO account name>@<device IP address> without a password.
  • There is no default ubuntu user on these images, but you can run sudo passwd <account name> to set a password if you need a local console login.

Install and develop snaps

Your board is now ready to have snaps installed — get started with the snap command

You can install a classic Ubuntu environment on top of Ubuntu Core to have a fully-fledged development environment and develop snaps on target

Before you start, get your IoT security story straight

A recent Canonical survey of 2,000 consumers suggests that a shockingly high percentage of connected devices may be vulnerable to botnets, hackers and cyber attacks:

  • Only 31% of consumers update the firmware on their connected devices as soon as updates become available.
  • 40% of consumers have never performed firmware updates on their connected devices
  • 40% of consumers believe that performing firmware updates on their connected devices is the responsibility of either software developers or the device manufacturer
  • All information provided will be handled in accordance with the Canonical privacy policy.