Skip to main content

How to Dual Boot a Raspberry Pi Using BerryBoot | MakeUseOf

Need more than one operating system on your Raspberry Pi? Several tools are available that help manage the process, such as the Raspberry Pi Foundation's own NOOBS, and its forerunner BerryBoot.

NOOBS is considered by many to be the superior installer, but it misses a few of BerryBoot's options. Interested in trying out BerryBoot to dual boot your Raspberry Pi 3 or 4? Read on!

What Does BerryBoot Do?

Ever had trouble installing an ISO disk image file to your Raspberry Pi's SD card? Want more than one OS (perhaps a retro gaming system and a media center)? The answer is a tool that helps to manage the installation of one or more OSs for your Pi.

That's basically what BerryBoot does. Presenting you with a selection of operating systems to choose from, BerryBoot downloads the OSs and installs them, with minimal interaction from you.

It also provides you with some basic network tools, location settings, and even an editor to adjust the configuration. You might, for example, want to edit your network settings in wpa_supplicant.conf. or you may prefer to change the boot menu timeout in cmdline.txt.

Using BerryBoot is straightforward:

  1. Download BerryBoot.
  2. Extract ZIP file to a formatted SD card.
  3. Configure BerryBoot.
  4. Select and install one or more operating systems.
  5. Choose which OS you wish to use each time you boot your Raspberry Pi.

BerryBoot also makes it possible to install your chosen Raspberry Pi operating systems to a location other than the SD card. If you have network attached storage (NAS), or a hard disk drive (HDD) connected to your Pi, these can be used. This is a great way to reduce data writing on your SD card, and prolong its lifespan.

The SD card will need to remain in the Pi to boot from, however.

How to Get BerryBoot and Dual Boot Your Raspberry Pi

To use BerryBoot, you'll need to download it from Sourceforge. This is an online repository where many applications and utilities are hosted.

BerryBoot is available in one of two downloads. The first option is for all versions of the Raspberry Pi, from the original and the Raspberry Pi Zero through to the Pi 3B+. If you have a Raspberry Pi 4, however, there is a dedicated version available---yes, you can dual boot a Raspberry Pi 4.

Download: Berryboot

Copy BerryBoot to a Formatted SD Card

Once downloaded, the contents of the ZIP file will need to be extracted and copied to your Pi's SD card.

  1. Start by inserting the SD card into your PC
  2. Browse to the downloaded ZIP file in your file manager
  3. Right-click and select Extract all
  4. In the dialogue box that follows, click Browse
  5. Select the drive letter than matches your SD card, then click Extract

Wait while the data is copied, then ensure that the files are copied to the root of the SD card. If they're copied into a directory, the card won't boot. When you're confident the data is correctly copied, safely remove the SD card from your computer.

The next step is simple. Insert the SD card into your Raspberry Pi and power it up. Make sure you have a keyboard and/or mouse attached. You'll need one or both to select your operating systems.

Configure BerryBoot for Raspberry Pi Multiboot

On your Raspberry Pi's display, you'll initially be presented with a quick configuration screen. The first section, Video, establishes the type of TV you're using. If you can see green borders at the top and bottom of the screen, select Yes (disable overscan). Otherwise, select No.

Next, specify the correct type of Network connection. If an Ethernet cable is connected, choose Cabled. Otherwise, select WiFi, then find your network's SSID in the list an input the password.

Finally, ensure the correct Timezone and Keyboard layout are selected under Locale settings. This will ensure that BerryBoot is able to access the server and download your choice of operating system.

Click OK when you're done.

Install Dual or Multiboot Raspberry Pi Operating Systems

The next prompt invites you to select a destination for the operating system(s) you're about to install.

You'll always have the choice of the local SD card, typically labelled mmcblk0. But if you have a NAS box, a USB drive, or both, you'll also see the options for those.

A USB drive is always labelled sda. The NAS will appear as Networked storage.

With the choice made, click Format (if necessary) and proceed. Leave the file system as the default ext4 option---you probably won't be using the drive with any other devices.

Note that when formatting, any existing files on the disk will be deleted. If you're installing to the microSD card, the space aside from the active boot partition will be formatted.

Once complete, the BerryBoot menu editor is displayed. You'll see various operation systems grouped into tabs by category. Spend a few moments to see what's on offer.

At this stage you can only install one operating system. Once this has been added and the system rebooted, further OSs can be added.

Select the OS, then OK to install. The image file will be downloaded and written to the microSD card. Wait for the system to boot, then at the boot menu click Edit.

You can now install as many additional operating systems as you need---just make sure your storage media doesn't fill up. The numbers in the bottom left corner will display how much space is left on the destination device. Too many operating systems will fill the disk, so keep it down to two or three.

To install an operating system:

  1. Click Add OS to browse for an operating system
  2. Check the box for the OSs you want
  3. Click OK when you're done
  4. Select the OS you wish to Set default, which will boot when your Raspberry Pi powers up
  5. Click Exit to download and install the chosen operating systems.

This may take a while depending on which operating systems you chose, and how many.

Other Advanced Options for BerryBoot

Note that Berryboot offers further menu options for your set up. For instance, the Clone option creates a copy of the selected operating system.

Meanwhile, Backup lets you create backups of single operating systems (or all installed OSs) to a different storage device. You can also use Delete to remove an OS.

One setting you may have overlooked is Advanced configuration, accessed via the chevrons on the right of menu.

Here, you can edit the cmdline.txt and config.txt files (as well as the Wi-Fi configuration file, wpa_supplicant.conf). In cmdline.txt, for example, you can edit the bootmenutimeout property, specifying how many seconds should pass before the default OS is loaded.

bootmenutimeout=<number of seconds>

Also available in the Advanced configuration menu is a Console, while Set password lets you protect installations. Filesystem problems can be fixed with Repair filesystem. This should also run automatically if the file system is damaged (perhaps following a power outage).

Dual Booting Your Raspberry Pi With BerryBoot

With your operating systems installed, the Raspberry Pi will reboot and present you with a boot screen. As noted, the default option will load automatically after 10 seconds. You can make a manual selection using your keyboard or mouse.

Moments later, you'll be enjoying your chosen Raspberry Pi operating system. Want to use a different one? Simply use the restart option and choose again at the boot menu!

Comments

Popular posts from this blog

25 Awesome iPhone App Icon Packs to Customize Your Home Screen

With the release of iOS 14, Apple made it possible to customize the app icons on your iPhone's Home Screen without worrying about duplicates. Of course, most of us aren't graphic designers, so we need to rely on iOS app icon packs made by other people to change the look of our Home Screen. We've scoured the web to find the coolest, most unique, and best-designed iOS app icon packs for you to download. Before You Customize Your iOS App Icons There are a few important points you need to know before you customize the app icons on your iPhone Home Screen: It's time-consuming: For every app icon you want to change, you need to create a new shortcut in the Shortcuts app, then add it to your Home Screen and hide the original app. If you have a lot of apps, this could take hours. Custom icons don't show notification badges: Customized app icons act as a shortcut to the original app. For this reason, they don't show red notification badges like normal apps. The o...

The 9 Different Types of NFTs

Jack Dorsey, the creator of Twitter, sold the world's first tweet for $2.9 million; this bit of news is what introduced most people to the world of NFTs (Non-Fungible Tokens). Now all the rage, NFTs are being bought and sold like priceless pieces of art. The NFT market is seemingly swarming with digital Mona Lisas, but the question is: besides tweets and pictures, what other types of NFTs are there in the wild? Let's take a dive into the world of NFTs and find that answer. First Off: What Are NFTs? Digital media can be replicated easily and redistributed; however, try making an honest-to-goodness copy of the Mona Lisa down to the brush strokes and the original paper. Think of NFTs as digital non-replicable pieces of art. These are properties that can not be copied or replaced at all. Sure, the media itself can be copied and posted to a person's social media, but the buyer will retain ownership of the NFT, regardless. Hitting Ctrl + C on an NFT and posting it is the equi...

The 7 Best Wired Headphones

Premium pick Sony WH1000XM4/B Over-Ear Headphones See On Amazon Brand Sony Battery Life 30 hours Material Synthetic leather Editors choice PeohZarr On-Ear Headphones See On Amazon Brand PeohZarr Material Synthetic leather Bluetooth No Best value Vogek On-Ear Headphones See On Amazon Brand Vogek Material Protein leather Bluetooth No Grado SR80e Prestige See On Amazon Brand Grado Battery Life N/A Material Leather Sony MDR-XB50AP Extra Bass See On Amazon Brand Sony Bluetooth No Additional Tips Yes Summary List 9.20 /10 1. Premium pick: Sony WH1000XM4/B Over-Ear Headphones 9.00 /10 2. Editors choice: PeohZarr On-Ear Headphones 9.00 /10 3. Best value: Vogek On-Ear Headphones 9.00 /10 4. Grado SR80e Prestige 9.00 /10 5. Sony MDR-XB50AP Extra Bass 8.60 /10 6. Panasonic ErgoFit 9.20 /10 7. Apple Ear...