Skip to content
person encoding in laptop

How to Boot Multiple Operating Systems on a Raspberry Pi with BerryBoot

April 13, 2026 Hardware hacking Linux raspberry pi

Introduction

If you use your Raspberry Pi for more than one purpose – say, a general-purpose Raspberry Pi OS setup for tinkering and a Kali Linux build for security testing – you’ve probably wished you could switch between them without swapping SD cards. BerryBoot solves exactly this problem. It’s a bootloader and OS installer for the Raspberry Pi that lets you store multiple operating systems on a single SD card and choose which one to boot at startup. It’s a clean, practical solution that saves money on SD cards and makes your Pi considerably more versatile. Here’s how to set it up.

What Is BerryBoot?

BerryBoot is essentially a boot menu combined with an OS installer, designed specifically for the Raspberry Pi. When your Pi powers on, BerryBoot presents a graphical menu listing all the operating systems you’ve installed. You select one, it boots – simple as that. If you don’t make a selection within a configurable timeout, it will boot the default OS automatically, making it suitable as a permanently headless device too.

BerryBoot stores each operating system as a compressed image file, which makes it space-efficient. A 32 GB SD card can comfortably hold Raspberry Pi OS, Kali Linux, and a third distro with room to spare. You can also point BerryBoot at an external USB hard drive or thumb drive for additional capacity.

Preparing Your SD Card

Start by downloading the BerryBoot files from the official website at berryterminal.com/doku.php/berryboot. Make sure you download the correct version – there are separate builds for the Pi 2/3 and Pi 4. The download is a ZIP file containing the BerryBoot bootloader files.

You’ll need to format your microSD card as FAT32. On a Mac, open Disk Utility, select your SD card, click Erase, choose MS-DOS (FAT) as the format, and click Erase. Once formatted, unzip the BerryBoot download and copy all of the extracted files directly to the root of the SD card. Eject the card, insert it into your Pi, and connect a monitor, keyboard, and mouse for the initial setup – BerryBoot’s first-run configuration requires a display.

First Boot and Installing Operating Systems

On first boot, BerryBoot walks you through a short configuration wizard covering display output, network connection, and storage location for OS images. Once the network is configured, BerryBoot downloads the available OS list from the internet.

The OS installer presents a categorised list: under “Security” you’ll find Kali Linux; under “Default” are the standard Raspberry Pi OS builds; other categories include media centre distros and developer options. Select the ones you want and click OK. BerryBoot downloads and installs each one sequentially – Kali will take several minutes depending on your internet speed.

Once installation is complete, BerryBoot reboots and presents the boot menu. Select your desired OS and it loads normally. Each OS runs as if it were the only one installed – there’s no performance penalty from BerryBoot’s presence.

Managing Your Installations

BerryBoot includes a management tool accessible from the boot menu that lets you add, remove, clone, and set default operating systems. To access it later, hold Shift during boot to open the BerryBoot editor rather than booting into an OS.

The clone feature is particularly useful: you can clone a clean Kali installation, load the clone with your preferred tools and configurations, and keep the original as a fallback. For custom images not in BerryBoot’s online list, copy the image file to a USB drive and use the “Copy OS from USB stick” option.

Tips for Getting the Most Out of BerryBoot

Set a sensible boot timeout for headless setups – 10 to 15 seconds gives you the window to intervene if needed while still booting automatically into your default OS. Individual OS installations within BerryBoot can also be configured to use encrypted home directories for security-conscious deployments.

Conclusion

BerryBoot is one of the most underrated utilities in the Raspberry Pi ecosystem. The ability to maintain multiple operating systems on a single SD card – switching between a clean Raspberry Pi OS desktop, a Kali Linux pentesting environment, and anything else you need – adds genuine versatility to what is already a remarkably capable piece of hardware. The setup process is straightforward, the management interface is intuitive, and once it’s running you’ll find yourself reaching for your Pi far more often than before.

You must be <a href="https://jonathansblog.co.uk/wp-login.php?redirect_to=https%3A%2F%2Fjonathansblog.co.uk%2Fberryboot-raspberry-pi-multiple-os">logged in</a> to post a comment.