pi+ubuntu

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Spread the love

Although this post is specifically How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10, it should be able to be applied to any version of the Pi if needed. The only think to keep in mind is that the Raspberry Pi 2 is ONLY 32 BITS so you will not be able to install the 64 bit version of Ubuntu 20.04 on a Pi 2.

There is a full tutorial on the Ubuntu Website, but these are the steps that I followed to setup my Raspberry Pi2 with Ubuntu 20.04 server:

Prepare the SD Card using the Raspberry Pi Imager for Windows:

Download the Raspberry Pi Imager for Windows and click on the downloaded executable:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click Yes to allow the app to make changes to your device:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Press the Install button to start the install of the Raspberry Pi Imager Setup:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Wait for the Installer to finish:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click on finish to finish the install and run the Raspberry Pi Installer:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

The Raspberry Pi Installer window will then open:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click on CHOOSE OS:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Select other General purpose OS:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click on Ubuntu:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Select the OS that you want to use (In this case Ubuntu Server 20.04.2 LTS (RPi 3/4/400):

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Insert your SSD into the windows machine and click on CHOOSE STO…

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

There should only be one option in the list but make sure that you select the correct disk:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click on the WRITE button to write the image to the micro SSD Card.

Select YES to over-write the micro SSD and install the Ubuntu Server image on it:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

The image will now be installed to the SSD:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Once finished click on CONTINUE to close the installer:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click on the cross on the Raspberry Pi Installer to close the window:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

You can now remove eject and move the micro SSD from you PC and install it back into the Pi ready to boot the Pi from it.

Once the micro SSD is in your Micro SSD card, connect it up to a monitor, keyboard, mouse, network and Power outlet and wait for it to boot.

Setup Ubuntu on Raspberry PI on first boot

When the PI boots to the Ubuntu 20.04 server login prompt:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Log into the Pi with the username of ubuntu and the password of ubuntu:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

You will be prompted to change the password immediately. Type in a current password again and press enter:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Type the new password and press enter.

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Retype the password and press enter to change the ubuntu user password log into the server:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

The server is now ready to configure for use.

Enable ssh to allow remote access to the server:

The first thing that I always set up is ssh access to my Raspberry Pi so that I no longer need an external keyboard, mouse and monitor connected to the Pi to configure it, This means that I can configure the server directly from my laptop which is much easier and faster for me than using the physical console and means that I do not have to have a second keyboard, mouse and monitor lying around just for my PI. This also means that my Pi can be hidden under my desk to keep it out of view and make the desk look tidier too.

The installation of ssh server on ubuntu 20.04 is very easy and consists of 2 commands:

First of all install ssh with the following command:

sudo apt install ssh
How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

After ssh is installed it then needs to be enabled by running the following command:

sudo systemctl enable --now ssh
How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Ssh access is now setup, Before we can connect to the server remotely we need to find out its ip address by running the following command:

ip a

This will display the servers ip address:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

As you can see from the image above my server currently has an ip of 192.168.0.75 so I can now use this IP to connect to it remotely using ssh:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Click Yes to trust the server:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Log in with username ubuntu:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

And the new password that we changed on the first login:

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

Now we are connected to the server via ssh and con configure it without having to physically connect to its console any more.

How to install Ubuntu 20.04 Server on Raspberry Pi 3 using Windows 10

You are now ready to do the initial setup of your server to get it to a base level before beginning to install applications on the server.

For more ideas of what to install on your freshly installed Ubuntu 20.04 server click HERE.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top