Installing Ubuntu Server 24.04 LTS on Raspberry Pi and Proxmox VM

Installing Ubuntu Server 24.04 LTS on Raspberry Pi and Proxmox VM

Ubuntu Server 24.04 LTS (codenamed Noble Numbat) is the latest long-term support release that will be supported until 2029. It’s lightweight, stable, and perfect for running on both small devices like the Raspberry Pi and virtualized environments like Proxmox. In this guide, we’ll walk through installing Ubuntu Server 24.04 LTS on a Raspberry Pi and a Proxmox VM.


🐧 Why Ubuntu Server 24.04 LTS?

  • Long-term support: Updates and patches until 2029.
  • Optimized for ARM & x86: Works well on Raspberry Pi (ARM) and traditional x86 servers.
  • Cloud & Homelab Ready: Perfect for self-hosting, Docker, Kubernetes, or lightweight servers.
  • Security: Comes with AppArmor, kernel updates, and snap support out of the box.

1. Installing Ubuntu Server 24.04 on Raspberry Pi

🔹 What You’ll Need

  • Raspberry Pi 4 (2GB, 4GB, or 8GB RAM recommended)
  • A microSD card (16GB or larger, Class 10 or better)
  • A card reader and a computer
  • Stable internet connection
  • Keyboard, HDMI display (for first boot)

🔹 Step 1: Download Ubuntu Server Image

  1. Go to the official Ubuntu Raspberry Pi download page.
  2. Select Ubuntu Server 24.04 LTS (64-bit).
  3. Download the .img.xz file.

🔹 Step 2: Flash Image to microSD

  1. Install Raspberry Pi Imager (Windows, macOS, Linux).
  2. Select → Choose OS → Other general-purpose OS → Ubuntu → Ubuntu Server 24.04 LTS (64-bit).
  3. Select your microSD card and click Write.

🔹 Step 3: First Boot & Setup

  1. Insert the microSD card into the Raspberry Pi and power it on.
  2. Connect HDMI display + keyboard, or use Ethernet for headless setup.
  3. Default login credentials:
    • Username: ubuntu
    • Password: ubuntu (you’ll be prompted to change it at first login).

🔹 Step 4: Update System

sudo apt update && sudo apt upgrade -y

Now your Raspberry Pi is running Ubuntu Server 24.04 LTS.


2. Installing Ubuntu Server 24.04 on Proxmox VM

If you’re running a homelab or want a lightweight VM for services, installing Ubuntu Server on Proxmox is straightforward.

🔹 Step 1: Download Ubuntu Server ISO

  1. Visit Ubuntu Server download page.
  2. Download Ubuntu Server 24.04 LTS ISO (64-bit).

🔹 Step 2: Upload ISO to Proxmox

  1. Log in to your Proxmox web UI.
  2. Go to Datacenter → Storage → ISO Images.
  3. Upload the Ubuntu 24.04 ISO.

🔹 Step 3: Create a New VM

  1. Click Create VM.
  2. Assign:
    • VM ID & Name → ubuntu-2404
    • ISO Image → Select uploaded ISO
    • System → Default (UEFI recommended)
    • CPU → 2 Cores (or more if needed)
    • Memory → 2048MB or more
    • Disk → 20GB or more
  3. Finish setup and boot into the installer.

🔹 Step 4: Install Ubuntu Server

  1. Follow on-screen instructions.
  2. Configure network (DHCP by default, or static if preferred).
  3. Set username, password, and hostname.
  4. Enable OpenSSH during installation for remote access.
  5. Reboot VM.

🔹 Step 5: Update & Enable QEMU Guest Agent

After first login:

sudo apt update && sudo apt upgrade -y
sudo apt install qemu-guest-agent -y
sudo systemctl enable qemu-guest-agent --now

This ensures smooth integration with Proxmox (shutdown/restart commands, IP reporting, etc.).


🎯 Final Thoughts

Ubuntu Server 24.04 LTS is a great choice whether you’re using a Raspberry Pi for lightweight services or running a Proxmox homelab for enterprise-style workloads. With its stability, performance, and security updates guaranteed for five years, you can deploy services confidently.

👉 If you want to take it further, you can install Docker, Kubernetes, or set up a media server like Plex or Jellyfin or make your own DNS Server on your Ubuntu Server.


Block Ads on Websites Using Your Own Self-Hosted DNS with AdGuard Home
If you’ve ever felt annoyed by constant ads, trackers, and pop-ups while browsing the web, you’re not alone. Beyond being distracting, ads and trackers often raise privacy and security concerns. Many companies harvest user data for targeted marketing, while malicious ads can even infect your system with malware.

Thank you so much for taking the time to read my blog! Your support and engagement truly mean a lot and inspire me to keep creating and sharing more valuable content. If you enjoyed this post, I’d love to hear your thoughts—feel free to leave a comment in the box below and join the conversation. And if you’d like to stay updated with the latest posts, tips, and insights, don’t forget to subscribe to my newsletter. By joining, you’ll be the first to know when new content is published, so you never miss an update.