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

  1. Visit the official Ubuntu Raspberry Pi downloads page.
  2. Select the Ubuntu 24.04 (64-bit) image for the Raspberry Pi.
  3. Download the image to your computer.

Step 2: Flash the Image to the SD Card

  1. Insert your SD card into your computer.
  2. 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.
  3. Once completed, eject the SD card safely.

Step 3: Boot the Raspberry Pi 5

  1. Insert the flashed SD card into the Raspberry Pi 5.
  2. Connect peripherals (monitor, keyboard, mouse) and a reliable power supply (recommended: 5V/3A).
  3. Power on the Raspberry Pi 5.
  4. 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

  1. Open a terminal on the Raspberry Pi.
  2. Update the package list and upgrade existing packages:
    sudo apt update
    sudo apt upgrade -y