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

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...

64 Best Free WordPress Blog Themes for 2020

Are you looking for a free WordPress blog theme for your website? There are thousands of free blog themes for WordPress, making it hard for beginners to choose between all the different options. The best WordPress themes can be tough to find. Your free theme needs to be reliable and easily customizable. In this article, we have hand-picked some of the best free WordPress blog themes that you can use on your site. Getting Started with WordPress First, you need to make sure that you are using the best blogging platform . Self-hosted WordPress.org is the perfect platform to start your blog because it gives you lots of freedom, flexibility, and control. We have a useful guide on the difference between WordPress.org and WordPress.com . WordPress.org is open source. It comes with support for thousands of free templates (called themes) and extensions (called plugins) that help you grow your blog faster. Take a look at our article on why you should use WordPress to learn more. You can...

Kaifin basira da magunguna 4 da kwallon kankana ke yi a jikin dan Adam

Kankana ta kasance daya daga cikin 'ya'yan itatuwa mafi shahara a doron kasa kuma mutane da dama su kan yi santi kwarai yayin kwankwadar ruwanta musamman wadanda kwayoyin halittun su masu bambance dandano ke aiki kwarai. A yayin da kankana ta kasance cikin dangin itatuwa da ake kiransu 'ya'yan duma, 'ƙwallayen cikin da sun ƙunshi sunadarai masu tarin alfanu da kuma tasiri wajen inganta lafiyar jikin dan Adam. Sai dai kash da yawan mutane su kan watsar da ƙwallon kankana a sakamakon rashin sanin muhimmancin su wajen inganta lafiyar su. Wadannan ƙwallaye da kankana ta kunsa suna da arzikin sunadarai da suka hadar da fatty acids, proteins, minerals (magnesium, poatssium, manganese, iron, zinc, phosphorus, copper), vitamin B (thiamine, niacin, folate) da kuma calories.  Bincike ya tabbatar da cewa, ana amfani da ƙwallayen kankana a matsayin abinci a yankunan nahiyyar Asia da kuma wasu yankunan daular Larabawa ta Tsakiya inda ake gasa su kuma kwadanta da ganyayya...