In this tutorial, we will walk you through creating a bootable Ubuntu microSD card for your Raspberry Pi.
What you’ll learn
- How to use the Raspberry Pi Imager
- How to create a bootable microSD card to run Ubuntu Server on your Raspberry Pi
What you’ll need
- A microSD card (4GB minimum, 8GB recommended)
- A computer with a microSD card drive
- A raspberry pi 2, 3 or 4
Following these steps will erase any existing content on the removable drive!
Prepare the SD card
Insert the microSD card into your computer and install the right Raspberry Pi Imager for your operating system. You can do this with the following links:
Once this it has downloaded install and open the application. It should look something like this:
Open the “CHOOSE OS” menu, scroll down and click “Ubuntu”.
You will then be able to see a list of Ubuntu downloads to choose from. For this tutorial we recommend you select the Ubuntu 18.04 download. As indicated in the imager this will work for the Raspberry Pi 2,3, 3+ and any of the 4’s.
Select the image you want and open the “SD Card” menu. Select the microSD card you have inserted.
Finally, click “WRITE” and wait for the magic to happen… (This magic might take a few minutes)
You did it!
Now you can eject the card, insert it in your Raspberry Pi and boot it up.
For more details about Raspberry Pi specific packages included with this image and further customisations, such as accelerated video drivers and optional package repositories, you can refer to our RaspberryPi wiki.
You also may want to install some software on your Pi. Ubuntu has extensive repositories available, that you can browse at packages.ubuntu.com. You can also use the snap command to install snap packages: the Snap Store is where you can find the best Linux open source and proprietary apps to install on your Raspberry Pi and get started with any project!