Setting Up Pi - Weber-State-Submarine-Project/Submarine GitHub Wiki
Setting Up Ubuntu 24.04 on Raspberry Pi 5
Ubuntu 24.04, as of April 2024, is now supported on the Raspberry Pi 5. This version is required for ROS2 Jazzy to work. Due to the Pi 5 not being able to go lower than Ubuntu 23.04 we are not able to use ROS2 Humble.
Step 1: Download the Ubuntu 24.04 Image
- Visit the official Ubuntu Raspberry Pi downloads page.
- Select the Ubuntu 24.04 (64-bit) image for the Raspberry Pi.
- Download the image to your computer.
Step 2: Flash the Image to the SD Card
- Insert your SD card into your computer.
- Use a tool like Raspberry Pi Imager or Balena Etcher to flash the downloaded image:
- Open the flashing tool.
- Select the downloaded Ubuntu 24.04 image.
- Choose the SD card as the target device.
- Start the flashing process.
- Once completed, eject the SD card safely.
Step 3: Boot the Raspberry Pi 5
- Insert the flashed SD card into the Raspberry Pi 5.
- Connect peripherals (monitor, keyboard, mouse) and a reliable power supply (recommended: 5V/3A).
- Power on the Raspberry Pi 5.
- Follow the on-screen prompts to complete the initial Ubuntu setup (e.g., setting up your username, password, and network connection).
Step 4: Update and Upgrade the System
- Open a terminal on the Raspberry Pi.
- Update the package list and upgrade existing packages:
sudo apt update sudo apt upgrade -y