04: Installing Linux
Completion requirements
Make a submission
Due: Thursday, February 12, 2026, 11:00 PM
Learning Target
- Install Ubuntu Server on a Raspberry Pi
- Configure basic boot and login settings for Ubuntu Server
Resources
- Raspberry Pi 3 Model B
- MicroSD card (16 GB)
- HDMI cable
- Raspberry Pi power supply
- Raspberry Pi Imager:
https://www.raspberrypi.com/software/ - Ubuntu Server for Raspberry Pi:
https://ubuntu.com/download/raspberry-pi - SD card reader
Instructions
In this assignment, you will prepare a Raspberry Pi to run Ubuntu Server. You will use Raspberry Pi Imager to install the operating system onto a microSD card, then boot the Raspberry Pi and verify that Ubuntu Server is running correctly.
You will work in pairs. Each student must complete both roles during this step. Switch roles when instructed.
Step 1:
-
- Insert the microSD card into the card reader
- Open Raspberry Pi Imager
-
- Device: Raspberry Pi 3
- OS: Other general-purpose OS → Ubuntu → Ubuntu Server 22.04.x LTS (64-bit)
- Storage: Select your microSD card
- Hostname: first names of your pair separated by a hyphen (e.g. sally-bob)
-
- Capital City: Washington, D.C. (United States)
- Time zone: America/Los_Angeles
- Keyboard: us
-
- Username: <write this down>
- Password: <write this down>
- Note: if your username/password combo can be guessed by others, you will lose points in a future assignment!
-
- Wi-Fi: Open Network -> lcsd-guest
- Enable SSH: turn this on
- Pi Connect: leave this off
- Authentication: Use password
Click Write and wait for the imaging and verification process to complete
Step 2:
-
- Safely eject the microSD card from the card reader
- Insert the microSD card into the Raspberry Pi
- Connect a monitor and keyboard to the Raspberry Pi
- Plug in the power supply to turn on the Raspberry Pi
- Wait for Ubuntu Server to finish booting (first boot may take several minutes and it may restart a couple times)
-
- Log in using the username and password you configured
- At the command prompt, type the following and press Enter
lsb_release -a- If the command runs successfully, the installation is complete
Step 3:
-
- Assign roles
- Student A: Hardware Operator
- Student B: Software Operator
- Student A:
- Be sure Ubuntu is fully installed
- Connect the Ethernet cable from your computer to the Raspberry Pi
- Plug in the power supply to turn on the Raspberry Pi
- Wait 3–5 minutes for the Raspberry Pi to complete its boot
- Student B:
- On the Windows computer, open Command Prompt or Windows Terminal
- Type the following command and press Enter:
ssh username@hostname.local
(Replace username and hostname with the values you set in Raspberry Pi Imager.)
- If the hostname does not connect, try the default name:
ssh username@ubuntu.local
- Or, find the IP address assigned to the Raspberry Pi and connect using:
ssh username@IP_ADDRESS
- When prompted:
- Type yes to accept the SSH key (if requested)
- Enter the password you created during imaging
- If you see a command prompt from the Raspberry Pi, the connection was successful
- Assign roles
Step 4:
-
- Swap roles and repeat step 3.