Installing multiple Linux distros on a USB drive

MultiBootUSB is a cross-platform app developed in Python and runs on both Linux and Windows. It lets you install multiple Linux distros on a single USB flash drive. Below is a comprehensive guide.

A bootable Linux USB drive, which also referred to as a Live USB drive, is a drive containing files that enable a computer to boot into a specific Linux distro. It is most commonly used to test-drive various Linux distros before installing on the computer for use as a daily driver.

A lot of tools like Etcher, Rufus only support single-boot USB drive mode. In that, you can only write distro on a USB drive at a given moment. If you want to install another Linux distro on the same drive, you will have to format the USB stick. Fortunately, we have tools that can create a Multiboot USB drive. One of these tools is MultiBootUSB.

MultiBootUSB disk creator

MultiBootUSB is a cross-platform app developed in Python and runs on both Linux and Windows and lets you install multiple Linux distros on a USB flash drive. It is an open-source application, and so one can get access to the source code and customize it to their wish. It supports a lot of Linux distributions and can run with an interactive graphical user (GUI) interface or via the command-line (CLI).

Downloading MultiBootUSB on Linux

To download the MultiBootUSB application, visit their official download page.

Download MultiBootUSB

You should see all the setups for different Linux distributions and Windows listed. Select one based on your operating system.

Since we will be using Ubuntu for this article, we should choose the ‘.deb.’ file and install it. For Fedora, Suse, and Mageia users, install the ‘.rpm.’ setup. Windows users should go for the ‘.exe.’ file.

MultiBootUSB Downloads page
MultiBootUSB Downloads page

USB drive requirements

  • A USB drive formatted with either of these file systems; FAT32, FAT, NTFS, ext2/3/4, or Btrfs. However, the most recommended file system is FAT since FAT32 cannot work with files larger than 4GB in size, while ext2/3/4 and Btrfs are Linux based file systems.
  • The ISO files of the Linux distros you want to multiboot
  • The latest version/release of MultiBootUSB

Creating a multi-boot USB drive

MultiBootUSB tool has two main ways of creating a bootable USB drive. MultiBootUSB and Write Image to Disk. Let’s start with the MultiBootUSB option.

Step 1) Launch MultiBootUSB GUI. You should see the MultiBootUSB window open. It’s an interactive user interface developed using the python PYQT library.

MultiBootUSB application
MultiBootUSB application

Step 2) Insert your USB drive, preferably formatted in the FAT file system containing only a single primary partition.
Step 3) Select the USB drive you want to MultiBoot.
Click the Detect Drives button to load all USB drives connected to the computer. Note that, MultiBootUSB lists the USB drives as ‘sdb,‘ ‘sdc,‘ and so on. The primary partitions are listed just below each USB drive as ‘sdb1’, ‘sdc1’, and so on. Select the partition of the USB drive you want to use. Here, we will select sdb1.

Detect Connected USB drives
Detect Connected USB drives

Step 4) Select the ISO image of the operating system you want to write to the USB drive. Click the Browse button to import files from your computer.

Select ISO image
Select ISO image

Step 5) Click the MultiBootUSB tab just below the select USB drive section. This option should enable you to burn multiple ISO files on a single USB drive.

MultiBootUSB option
MultiBootUSB option

Step 6) Click the Install Distro button to start writing the image on the USB drive.

MultiBootUSB install distro
MultiBootUSB install distro

Step 7) A warning window should pop-up asking you whether you wish to proceed with the installation. Click Yes.

Proceed with installation
Proceed with installation

The process of writing the ISO image on the USB drive should start. You can view the progress in percent on the bar present at the bottom. Note that you can only write one image at a time.

InstallationProgress
Installation Progress

After the installation process is complete, you should see a pop-up notification on the screen. If it was successful, you should see your distribution name listed on the list box.

Distro list box
Distro list box

To write another ISO image to the USB drive, use the procedure above, starting from step 3. You can add as many ISO files as your USB drive storage can hold.

Test the MultiBoot USB drive and ISO files with QEMU

MultiBootUSB comes with a fantastic QEMU feature that enables you to verify ISO files and your multiboot USB drive without rebooting the computer.

To verify the ISO file:
Step 1) Click on the Boot ISO/USB tab.
Step 2) Click on the Boot ISO tab. Assign the amount of RAM you wish, or you can leave it as default.

This action will load the distro on a separate window without rebooting your computer. In this article, we will ISO Boot Kali Linux ISO image.

ISO Boot Kali Linux Image
ISO Boot Kali Linux Image

To verify the multiboot USB drive:
Step 1) Click on the Boot ISO/USB tab.
Step 2) Click on the Boot USB button. Assign the amount of RAM you wish, or you can leave it as default.

This action will boot the USB drive on a separate window, listing all the distros present.

Boot multiboot USB drive
Boot multiboot USB drive

Write ISO image to USB drive directly

Note, this method will erase all the data on the USB drive and cannot be used to create a multiboot USB. It acts as an option in case the MultiBootUSB does not work for you.

Step 1) Choose the target USB drive, ISO file, and click the Write Image to Disk tab.
Please note that with this option, you need to select the USB drive and not the partition. For this article, we will choose sdb instead of sdb1.

Step 2) Click the Write Image to the USB button just below the Warning message.

Write Image to Disk
Write Image to Disk

Uninstalling a Distro from the USB drive

This method only works for distros installed using MultiBootUSB and not any other USB creator tools.
Step 1) Insert your USB and select the ISO image you want to remove on the list box.
Step 2) Click the Uninstall distro button.
You will get a warning notification which you will choose, Yes.

Uninstall Distro
Uninstall Distro

Conclusion

That’s all about installing multiple Linux distros on a USB flash drive. MultiBootUSB is a reliable and efficient tool to create a bootable USB drive. Also, the fact that it’s an open-source application, if you are a developer, you can access the source code and add custom features to it and share it with everyone.

Arun Kumar
Arun did his bachelor in computer engineering and loves enjoying his spare time writing for FOSS Linux. He uses Fedora as the daily driver and loves tinkering with interesting distros on VirtualBox. He works during the day and reads anything tech at night. Apart from blogging, he loves swimming and playing tennis.

5 COMMENTS

  1. What an educative document keep them coming !!!!!so passionate on this I followed the steps and everything worked with kali linux.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,417FansLike
377FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

Basics of Working with the SQLite Database in Python

A database is one of the most useful and popular files for storing data; they can be used to store any kind of data, including text, numbers, images, binary data, files, etc. SQLite is a relational database management system based on the SQL language. It is a C library, and it provides an API to work with other programming languages, including Python. It does not require a separate server process to be run as needed in large database engines like MySQL and Postgresql.

5 Ways to Check the Linux Version

When most people talk of Linux, they are always referring to a Linux distribution. However, this is not the case. Linux itself is a kernel which acts as a bridge between user applications and the hardware. When we talk of a Linux distribution, we refer to an operating system developed from the Linux kernel. A distribution comes with a package manager, pre-installed applications, a Desktop Environment, and several more features.

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.

How to Create a Comprehensive Mail Server on Ubuntu

Postal is a free and open-source mail server used to send and receive emails. It comes loaded with tons of excellent features and functionalities, making it extremely popular among large organizations as well as in enterprise settings.

The 10 Best Linux Performance Monitoring Tools

Do you want to monitor the performance of your Linux system? Are you looking for some powerful performance monitoring tools to help you out? If you agree, it's your day as we have put together a detailed list of the ten best Linux performance monitoring tools.

How to Boot your Windows or Linux PC from a USB Drive

Sometime back, the process of installing an operating system required users to pop a bootable media disk into their DVD or CD drive and use it to boot the PC. But times have changed. Nowadays, the most common way of installing an OS is booting from a USB drive. The use of USB drives is further propelled by the current production of slim and lightweight laptops with no support for DVD/CD drives.

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

Test drive a Linux distro online before you hate it

Enter DistroTest.net, a website that allows Linux users to test various distros online, without downloading the ISO or installing the distro. With DistroTest.net, you can check a distro with no muss, no fuss.

5 Best Download Managers for Linux

We often need to download large files that can go corrupt due to various reasons such as slow internet or interrupted download. Using a broken downloaded file is not something one wants. Download managers make sure that the downloaded file maintains its integrity and also presents you with the ability to pause and resume downloads, provided the server supports it. When you are downloading a massive file, it's recommended to use a download manager.

Linux Mint vs. Ubuntu – which is best for you?

The conundrum is that which one among them? The best solution is to try both of them out, and then choose whatever seems to work the best for your needs. But here, we're giving you some distinctions between the both that might make it easier for you to make a choice.

VIDEO: Linux Lite 4.8 Features and Desktop Tour

Linux Lite eases Windows 7 users transition to Linux much more comfortable by offering simple software like Team Viewer, VLC, Firefox, TimeShift backup utility, and a full Microsoft Office compatible office suite in LibreOffice.