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)
- An Ubuntu Server for Raspberry Pi image
- 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!
2. Prepare the SD card
Download an Ubuntu Server image for your Pi into your
Downloads folder. We recommend you go for the LTS (Long-Term Support) version unless you specifically need the latest features of Ubuntu for your project
Once this is done, insert the microSD card into your computer.
Now you need to Install the right Raspberry Pi Imager for your operating system. You can do this with the following links:
- Raspberry Pi Imager for Ubuntu
- Raspberry Pi Imager for Windows
- Raspberry Pi Imager for macOS
Once this is done, insert the microSD card into your computer. Open the when it has downloaded and it should look 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 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)