Skip to content
Upgrading from Bullseye to Bookworm on a Raspberry Pi

Upgrading from Bullseye to Bookworm on a Raspberry Pi

Upgrading from Bullseye to Bookworm on a Raspberry Pi involves a few steps. Here's a simplified outline based on the information provided:

Easy Upgrade Path

This is a straightforward approach for those looking to upgrade with minimal fuss. However, it may not fully configure new features such as PipeWire and NetworkManager.

  1. Backup Your Data: Always start with a backup of your important files.
  2. Perform a Full Upgrade of your existing Bullseye installation:
    • Update package lists and upgrade all packages:
      sudo apt update
      sudo apt full-upgrade
      sudo reboot
      
  3. Edit the Sources List to point to the new Bookworm repositories:
    • Open the sources.list file:
      sudo nano /etc/apt/sources.list
      
    • Replace bullseye with bookworm and add non-free-firmware to the end of the line.
    • Update raspi.list similarly.
  4. Perform Another Full Upgrade:
    • Update package lists and upgrade all packages again to pull from the Bookworm repositories:
      sudo apt update
      sudo apt full-upgrade
      sudo reboot
      

A Better Way to Upgrade

For those seeking a more comprehensive upgrade that better integrates Bookworm's new features, a more detailed process is recommended, involving the replacement of certain components and ensuring the system is fully updated to Bookworm's specifications.

  1. Update to the Latest Bullseye before switching to Bookworm repositories.
  2. Switch Repositories to Bookworm:
    • Use sed to update /etc/apt/sources.list and /etc/apt/sources.list.d/raspi.list.
  3. Perform the Upgrade:
    • Execute a full system upgrade.
    • Clean up and remove unnecessary packages.
  4. Kernel and Firmware Updates:
    • Replace the old kernel and bootloader with new versions.
    • Adjust boot configurations for the new setup.
  5. Network Configuration:
    • Switch to NetworkManager from dhcpcd if needed.
    • Configure your network settings, such as setting a static IP if necessary.

The Best Way to "Upgrade"

For the most reliable upgrade experience, starting fresh with a new installation of Bookworm is recommended.

  1. Backup Your Data: Save all important files and directories.
  2. Use the Raspberry Pi Imager to install a fresh copy of Bookworm on an SD card.
  3. Restore Your Data: Copy your backed-up files back to the Pi after the installation.

Post-Upgrade

This outline provides a general approach to upgrading from Bullseye to Bookworm, with options ranging from a simple update to a more involved, clean installation for those seeking the best possible upgrade experience.

Previous article How can I sleep a raspberry pi and wake it again with an interrupt?
Next article Introducing Koi

Leave a comment

Comments must be approved before appearing

* Required fields