A tool for distro hoppers
Updates and Persistence
If you repeat the installation routine, the Ventoy2Disk script will abort with the message that Ventoy is already installed on the USB stick. However, by using the switches -u
and -I
(i.e., say, sudo ./Ventoy2Disk.sh -u /dev/sd<X>
), Ventoy gives you the option of updating Ventoy on the USB stick (-u
, preserving the images) or completely reformatting the stick with Ventoy and deleting all data (-I
).
Ventoy can also be extended to include additional functions thanks to a plugin system. For example, the program supports the installation of your own themes to change the look or the contents of the boot manager [5]. Since Ventoy itself is based on GRUB 2, there is a wide selection on the web [6]. Further plugins allow the integration of logos, titles instead of file names in the menus, and the ability to add descriptions. You can also automate the installation process for operating systems with your own scripts (Kickstart for RHEL or Fedora, Preseed for Debian or Ubuntu, AutoYaST for SUSE).
The Persistence plugin is also interesting; it lets users define a separate image file as nonvolatile memory [7]. This means that you can work with a distribution you booted started as a Live system as if it were permanently installed on the system. All data and settings are kept on restarting. The distributions tested for this operating mode include Ubuntu, Linux Mint, elementary OS, and Zorin. Persistence images are either created with the CreatePersistentImg.sh
script, or you can download a prepared image from the project website.
To configure the plugins, you first need to create a ventoy/
subfolder on the Ventoy stick's data partition or create a file there named ventoy.json
. Then enter the desired settings in line with the specifications in the documentation. The example in Listing 3 activates the Tela theme [8], which I copied to ventoy/theme/tela/
, defines aliases for the three Linux ISOs stored on the stick, and defines nonvolatile memory for the Ubuntu image (Figure 4). The root folder of the USB memory stick acts as the root for all paths. If a configuration does not work, the error can be analyzed using Ventoy's debug mode, which you enable by pressing F5.
Listing 3
Tela Theme
{ "theme": { "file": "/ventoy/theme/tela/theme.txt", "gfxmode": "1920x1080" }, "menu_alias": [ { "image": "/images/ubuntu-20.04-desktop-amd64.iso", "alias": "Ubuntu 20.04 LTS" }, { "image": "/images/tahr64-6.0.5.iso", "alias": "Puppy Linux: Tahrpup64 6.0.5" }, { "image": "/images/manjaro-gnome-20.0.3-minimal-200606-linux56.iso", "alias": "Manjaro Gnome 20.0.3 Minimal" } ], "persistence": [ { "image": "/images/ubuntu-20.04-desktop-amd64.iso", "backend": "/persistence/ubuntu-20.04-desktop-amd64.img" } ] }
Conclusions
Ventoy proves to be an extremely practical tool for users who frequently try out new distributions. A USB memory stick, once equipped with a boot manager, removes the need to "burn" images in the future. To boot a new distribution, you simply move the ISO file there using your choice of file manager. This saves time, can also be done on Windows, and reduces the risk of accidentally overwriting a disk. This makes Ventoy ideal for sharing your favorite new distributions. For example, you could present a colorful bouquet of distributions to the participants at an installation party.
Infos
- Ventoy: https://www.ventoy.net
- Releases: https://github.com/ventoy/Ventoy/releases
- Tested distributions: https://www.ventoy.net/en/isolist.html
- Secure Boot: https://www.ventoy.net/en/doc_secure.html
- Ventoy theme plugin: https://www.ventoy.net/en/plugin_theme.html
- Themes for GRUB 2: https://www.gnome-look.org/browse/cat/109/order/latest/
- Ventoy Persistence plugin: https://www.ventoy.net/en/plugin_persistence.html
- Tela theme for GRUB 2: https://www.gnome-look.org/p/1307852/
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs