| by Arround The Web | No comments

Install and Use Ventoy on Linux [Step-by-Step Guide]

Install and Use Ventoy on Linux [Step-by-Step Guide]

Being a distro hopper, I can relate to the pain of having one ISO image on a flash drive. But not anymore!

If you constantly distro hop, or you just want to carry multiple ISO files in a single pen drive, there is a solution - Ventoy.

In this guide, I'll walk you through the following:

  • Installing Ventoy on Linux
  • Creating a live Linux USB
  • Booting from Ventoy
  • Using multiple Linux distros on a single USB
  • Creating Windows bootable USB

So let's start with the first one.

Install Ventoy on Linux

Ventoy is not available in the default repositories or 3rd party repos on Ubuntu or any other Linux distribution. This simply means you cannot use apt to install the package.

So in this case, we have to install Ventoy from source. Fret not, you just need to follow along the steps below, it is easy.

📋
You can use this method for any Linux distribution as there's one way to install Ventoy and that's from source.

1. Visit the official download page of Ventoy and choose the file ending with linux.tar.gz:

Install and Use Ventoy on Linux [Step-by-Step Guide]

2. Now, open your terminal and use the cd command to navigate to where the Ventoy file was downloaded. For most users, it will be the Downloads directory:

cd Downloads

The Ventoy binaries are shipped in the form of the tarball and to untar (or extract) the package, you can use the tar command as shown:

tar -xzvf ventoy-*.tar.gz

3. Once extracted, you will find a directory of Ventoy. Use the cd command to get into that directory.

In my case, it was ventoy-1.0.93, so I will be using the following:

cd ventoy-1.0.93

If you list the directory contents, you will find that there are multiple scripts:

ls
Install and Use Ventoy on Linux [Step-by-Step Guide]

But what you need is VentoyWeb.sh which allows you to flash your drive using your browser without any commands.

4. To execute the script, use the following command:

sudo ./VentoyWeb.sh
Install and Use Ventoy on Linux [Step-by-Step Guide]

As you can see, it started the Ventoy server and to access it, copy the given URL and paste it to the address bar of your browser.

Once you do that, it will look like this:

Install and Use Ventoy on Linux [Step-by-Step Guide]

By default, it will be enabled to work with the secure boot option and this is the reason it shows the 🔒 (lock) symbol with the version name.

I do not recommend you change this setting, but if you would like to, you can disable this option from the Option→Secure boot Support:

Install and Use Ventoy on Linux [Step-by-Step Guide]

Once done, select the storage path on which you want to install Ventoy and hit the Install button.

Before installing, it will ask you to check the drive two times as it will format the drive, so make sure to take a backup of critical data (if there's any):

Install and Use Ventoy on Linux [Step-by-Step Guide]
Click to enlarge the image

Once done, you will see a message—"Ventoy has been successfully installed to the device":

Install and Use Ventoy on Linux [Step-by-Step Guide]

And the installation is done.

Create a Live USB with Ventoy

To create a Live USB with Ventoy, first, you need to download an ISO image of your preferred operating system.

While Ventoy should support almost everything, I would still recommend checking the compatibility from their official page.

To make the USB bootable with Ventoy, all you have to do is paste the ISO file to the Ventoy drive. Yes, it is as simple as that! 🤯

Install and Use Ventoy on Linux [Step-by-Step Guide]
📋
If you want to check the hash of the ISO file for file integrity, you can find the steps mentioned below.

Using GtkHash to check the hash (optional)

While Ventoy does can check the hash, it can only be used when you boot with Ventoy and most users won't have another system to compare the hash.

So it is a good idea to check the hash sum on a working system.

To check the hash, I would recommend using GtkHash which is a simple GUI tool that lets you check the hash for the files.

It is available as a Flatpak so if you haven't enabled flatpak, then, you can refer to our detailed guide on using Flatpak on Linux. Your software center may include support for it, so you might want to check that too.

Once setup, you can use the following command to install it on your system:

flatpak install flathub org.gtkhash.gtkhash

After installation, start GtkHash from your system menu and follow two simple steps to check the hash value:

First, select the ISO file:

Install and Use Ventoy on Linux [Step-by-Step Guide]
Click to enlarge the image

And paste the hash from the website you got the ISO file in the Check field, then press the Hash button:

Install and Use Ventoy on Linux [Step-by-Step Guide]
Click to enlarge the image

As you can see, it shows a green signal 🟢 meaning, the hash matched!

Boot Using Ventoy USB Drive

Before I walk you through the boot process, there are two modes that you should consider if the ISO doesn't boot.

  • GRUB2: If any of your Linux distros doesn't boot, you may enable the GRUB2 mode by pressing Ctrl + r. Remember, it will only work with distros having a grub2 config file.
  • WIMBOOT: If you run into problems while booting Windows ISO, you can enable the wimboot mode by pressing Ctrl + w.
📋
You should only be using any of the given modes if the default settings do not work for you.

While you can reboot your system and press F12, del, F2, or other respective keys to get into the BIOS, you can also choose to use the terminal if you like.

To get into the BIOS of your system while using Linux, all you have to do is use the following command in your terminal:

systemctl reboot --firmware-setup

If you want to boot from Ventoy every time you start your system with the flash drive, head to the boot menu and change the boot priorities with Ventoy's USB drive as the first.

If not, you can simply use the boot menu every time and select to boot from it Ventoy manually (overriding the defaults).

Install and Use Ventoy on Linux [Step-by-Step Guide]

Now, save changes and exit from the BIOS (as per your preferences), and you will see a Ventoy screen with one or multiple distros:

Install and Use Ventoy on Linux [Step-by-Step Guide]

Here's how it looks like with multiple distros onboard:

Install and Use Ventoy on Linux [Step-by-Step Guide]

You can use the arrow keys to navigate through the multiple options.

And if you choose the Linux distro as I did, then by pressing the enter key on the distro option, you will see the following options:

Install and Use Ventoy on Linux [Step-by-Step Guide]

Boot from the normal mode (selected by default); if it doesn't work, you can boot from the grub2.

Learn Linux Quickly - Linux Commands for Beginners
Learn Linux Quickly doesn’t assume any prior Linux knowledge, which makes it a perfect fit for beginners. Nevertheless, intermediate and advanced Linux users will still find this book very useful as it goes through a wide range of topics. Learn Linux Quickly will teach you the following topics:Insta…
Install and Use Ventoy on Linux [Step-by-Step Guide]

Use multiple distros in Ventoy

To use the multiple distros on a single USB, all you have to do is copy multiple ISO files in the Ventoy disk drive:

Install and Use Ventoy on Linux [Step-by-Step Guide]

Yes. It's that simple. Want more details? This detailed article will help you with that.

How to Install Multiple Linux Distributions on One USB
Brief: This tutorial shows the steps you can take to create a live USB stick that allows you to boot into more than Linux distributions without needing to re-image the drive. You probably already know that you can create a live USB of a Linux distribution and try it on
Install and Use Ventoy on Linux [Step-by-Step Guide]

Create a Windows bootable USB

The process for creating a bootable Windows USB remains the same, but this time, you have to copy the Windows ISO file to the Ventoy drive. But let me walk you through it so that you can avoid any confusion.

Install and Use Ventoy on Linux [Step-by-Step Guide]

So, now if you will boot from Ventoy, you will see a Windows ISO file. I went with Windows 10, so mine looks like this:

Install and Use Ventoy on Linux [Step-by-Step Guide]

Once you press enter, you will see a little different boot menu compared to what it displayed with Linux distros on the flash drive:

Install and Use Ventoy on Linux [Step-by-Step Guide]

If you notice carefully, it added Boot in wimboot mode an option.

First, try with the normal mode and if it does not work, use the wimboot mode.

How to Create a Bootable Windows 10 USB in Linux
Brief: This tutorial shows you how to create a bootable Windows 10 USB in Linux with and without a GUI tool called Ventoy. I have talked a lot about creating bootable USB of Linux in Windows. How about the other way round? How about creating a bootable Windows 10 USB
Install and Use Ventoy on Linux [Step-by-Step Guide]

Wrapping Up

I've been using Ventoy for the past two years and I can't recall any situation where it backfired! It works like a charm. Some people, like my colleague Ankush, prefer Etcher for creating live USBs. That too is a good tool but I prefer Ventoy.

Install and Use Etcher on Linux for Making Live Linux USB
Etcher is a popular USB flasher app for creating bootable Linux USB drives. Let me show you how to install it and how to use it for making a live Linux disk.
Install and Use Ventoy on Linux [Step-by-Step Guide]

But I'm curious to know how you utilize Ventoy and your experiences 🤔

💬 Don't forget to share your thoughts in the comments box below.

Share Button

Source: It's FOSS

Leave a Reply