In this article, I will show you how to install Ubuntu 18.04 on Raspberry PI 3 (RPi 3)

Step 1. Download Ubuntu 18.04 image file for ARMHF

There are so many Ubuntu 18.04 image for RPi 3 (both official and unofficial). However, I will choose the official image from Wiki Ubuntu to insall.

Link download: ubuntu-18.04.1-preinstalled-server-armhf+raspi2.img.xz


Step 2. Prepare the MicroSD card

  • I choose the MicroSD card class 10 to have the fastest speed. The size is at least 8GB.
  • Push you MicroSD card in to you Laptop


Step 3. Create the Ubuntu installation card

  • Download Etcher:
  • Run Etcher:
    • Choose the Ubuntu image that you have downloaded above.
    • Choose your MicroSD card on your Laptop.
    • Click Flash!
Use Etcher to make the Ubuntu installation card


Step 4. Change the bootloader

  • The official Ubuntu images use u-boot as the bootloader. The u-boot binary built for the Pi 2 does not work on the Pi 3 and this is why there are separate images for the Pi 2 and Pi 3. However, the Raspberry Pi has its own built in bootloader. This can be used with a few changes to the config.txt file on the system-boot partition.

  • Write the image to an SD card as normal, but before you insert it into the Pi mount the two partitions so that you can make changes. Open the config.txt on the first partition (labelled system-boot). Change the kernel line, add an initramfs line, and comment out (#) the device_tree_address line as follows:

initramfs initrd.img followkernel

  • Save it


Step 5. Let’s start your RPi

  • Push your MicroSD card into the RPi
  • You need to wait about 2 – 5 minutes to boot into Ubuntu.
Ubuntu booting screen
  • After that let’s login to Ubuntu with:
    • Username: ubuntu 
    • Password: ubuntu
  • At the first time, Ubuntu request you to change the default password.
After login to Ubuntu

So, you have finished install Ubuntu 18.04 on RPi 3

In the next post, I will show you how to install and config Ubuntu 18.04 on RPi 3 B+

Phuong Duong – Mechasolution