Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124

Creating bootable USB drives has traditionally required separate tools for each operating system or utility you want to run. Ventoy2Disk changes this paradigm by allowing you to store multiple ISO files on a single USB drive and boot from any of them. This comprehensive guide walks you through using Ventoy2Disk from the command line to create versatile, multi-boot USB drives.
Ventoy2Disk is the command-line installation tool for Ventoy, an open-source bootable USB solution. Unlike traditional methods that require reformatting your USB drive for each new ISO image, Ventoy creates a persistent boot environment. You simply copy ISO files directly to the USB drive, and Ventoy presents a boot menu where you can select which image to launch.
Multi-Boot Capability: Store dozens of ISO files on one USB drive without creating separate partitions or reinstalling the bootloader each time.
Simplicity: After initial installation, adding new bootable images requires only copying ISO files to the drive—no additional configuration needed.
Broad Compatibility: Ventoy supports over 900 ISO files including Windows, Linux distributions, recovery tools, and diagnostic utilities.
Persistence Options: Some Linux distributions can maintain persistent storage, allowing you to save changes between sessions.
Legacy and UEFI Support: Works with both modern UEFI systems and older BIOS-based computers.
Before beginning the installation process, ensure you have the following:
Data Backup: The installation process will erase all existing data on your USB drive. Back up any important files before proceeding.
USB Drive Selection: Double-check which device you’re targeting. Installing Ventoy to the wrong drive can result in permanent data loss.
Operating System Support: Ventoy2Disk works on Windows, Linux, and macOS with slightly different commands for each platform.
The first step involves obtaining the correct Ventoy package for your system.
Visit the official Ventoy releases page and download the appropriate package:
For Linux and macOS:
bash
tar -xzvf ventoy-1.0.99-linux.tar.gz
cd ventoy-1.0.99
For Windows:
Extract the ZIP file using Windows Explorer or your preferred archive tool, then navigate to the extracted folder in Command Prompt or PowerShell.
Before installation, you must identify the correct device identifier for your USB drive. This step is critical to prevent accidental data loss.
Open a terminal and run:
bash
sudo fdisk -l
Look for your USB drive in the output. It typically appears as /dev/sdb, /dev/sdc, or similar. Pay attention to the size to confirm you’ve identified the correct device.
Alternatively, use lsblk:
bash
lsblk
This displays a tree view of all storage devices. Your USB drive will appear with its size and may show as “removable.”
Open Command Prompt as Administrator and run:
cmd
wmic diskdrive list brief
Or use PowerShell:
powershell
Get-Disk
Your USB drive will be listed with a disk number (e.g., Disk 1, Disk 2). Note this number carefully.
Open Terminal and run:
bash
diskutil list
Your USB drive typically appears as /dev/disk2 or /dev/disk3. Verify by checking the size and name.
With your USB drive identified, you can proceed with the installation.
Navigate to the extracted Ventoy directory and run the installation script with sudo privileges:
bash
sudo ./Ventoy2Disk.sh -i /dev/sdX
Replace /dev/sdX with your actual USB drive identifier. For example:
bash
sudo ./Ventoy2Disk.sh -i /dev/sdb
The script will prompt for confirmation before proceeding. Type y and press Enter to continue.
Installation Options:
-i: Install Ventoy (default GPT partition scheme)-I: Force installation without confirmation-g: Use GPT partition scheme (default)-m: Use MBR partition schemeExample with MBR partition scheme:
bash
sudo ./Ventoy2Disk.sh -i -m /dev/sdb
Open Command Prompt or PowerShell as Administrator. Navigate to the extracted Ventoy folder and run:
cmd
Ventoy2Disk.exe /I /D=X
Replace X with your USB drive letter. The /I parameter performs the installation.
Example:
cmd
Ventoy2Disk.exe /I /D=E
Installation Options:
/I: Install Ventoy/D: Specify drive letter/GPT: Use GPT partition scheme/MBR: Use MBR partition schemeThe process on macOS is similar to Linux:
bash
sudo sh Ventoy2Disk.sh -i /dev/diskX
Replace /dev/diskX with your USB drive identifier:
bash
sudo sh Ventoy2Disk.sh -i /dev/disk2
When Ventoy2Disk runs, it performs several operations:
Ventoy creates two partitions on your USB drive:
Partition 1 (Ventoy): This exFAT partition stores your ISO files. It’s the main partition you’ll interact with for adding and removing bootable images.
Partition 2 (VTOYEFI): This small partition contains the Ventoy bootloader and configuration files. You typically don’t need to modify this partition.
Ventoy installs a specialized bootloader that can recognize and boot from ISO files without extraction. This bootloader supports both UEFI and Legacy BIOS modes, automatically detecting which mode your system uses.
After installation completes successfully, you’ll see a confirmation message. The USB drive is now ready to receive ISO files.
With Ventoy installed, adding bootable images becomes remarkably simple.
Mount or access your USB drive through your file manager. Copy your ISO files directly to the root directory or organize them in folders:
bash
cp ubuntu-24.04-desktop-amd64.iso /media/username/Ventoy/
cp windows-11.iso /media/username/Ventoy/Windows/
By Operating System: Create folders like Linux/, Windows/, Utilities/ to categorize your ISOs.
By Purpose: Organize into Recovery/, Installation/, Diagnostic/ folders based on use case.
Alphabetical: Keep all ISOs in the root directory with descriptive filenames for quick browsing.
Ventoy primarily works with ISO files, but also supports:
Once you’ve added ISO files, you’re ready to boot from the USB drive.
Insert the USB Drive: Plug the Ventoy USB into the computer you want to boot.
Access Boot Menu: Restart the computer and press the boot menu key during startup. Common keys include F12, F8, F10, ESC, or DEL depending on your motherboard manufacturer.
Select USB Drive: Choose your USB drive from the boot device list. It may appear as “USB HDD” or show the manufacturer name.
Ventoy Boot Menu: Ventoy will display a menu listing all ISO files on your drive. Use arrow keys to navigate and Enter to select.
Boot Selected ISO: Ventoy will load the selected operating system or utility as if you’d created a dedicated bootable USB for it.
If the USB doesn’t appear in the boot menu, verify that:
Ventoy2Disk provides several advanced options for customization and specific use cases.
For systems with Secure Boot enabled, Ventoy includes experimental support:
bash
sudo ./Ventoy2Disk.sh -i -s /dev/sdb
The -s flag enables secure boot support during installation.
If you want to update Ventoy without reformatting the entire USB drive:
bash
sudo ./Ventoy2Disk.sh -u /dev/sdb
The -u option updates the Ventoy bootloader while preserving your ISO files and the data partition.
You can reserve space on the USB drive for non-ISO data:
bash
sudo ./Ventoy2Disk.sh -i -r 10240 /dev/sdb
The -r parameter followed by a size in MB creates a reserved partition at the end of the USB drive.
Create a ventoy.json file in the root directory to customize behavior:
json
{
"theme": {
"file": "/ventoy/theme/blur.jpg",
"gfxmode": "1920x1080"
},
"menu_alias": [
{
"image": "/ubuntu-24.04-desktop-amd64.iso",
"alias": "Ubuntu 24.04 LTS Desktop"
}
]
}
This configuration file allows you to customize the boot menu appearance, create friendly names for ISOs, and set default boot options.
Understanding how Ventoy2Disk compares to other bootable USB creation tools helps you choose the right solution.
Rufus excels at creating single-boot USB drives with extensive customization options. Ventoy eliminates the need for repeated formatting by supporting multiple ISOs simultaneously. Choose Rufus for single-purpose, highly customized bootable media; choose Ventoy for versatility and convenience.
While YUMI and MultiBootUSB also support multiple ISOs, they require extracting ISO contents to the USB drive and maintaining complex configuration files. Ventoy’s approach of booting directly from ISO files is simpler and faster to manage.
Etcher provides a user-friendly graphical interface for creating bootable drives but only supports one ISO at a time. Ventoy2Disk requires command-line familiarity but offers far greater flexibility for power users.
Customize Ventoy’s behavior with these advanced configuration techniques.
Download or create a theme, then reference it in ventoy.json:
json
{
"theme": {
"file": "/ventoy/theme/custom_background.png",
"fonts": "/ventoy/theme/font.ttf",
"gfxmode": "1920x1080"
}
}
Configure automatic booting of a specific ISO after a timeout:
json
{
"control": [
{
"VTOY_DEFAULT_IMAGE": "/iso/ubuntu-24.04-desktop-amd64.iso"
}
],
"timeout": 30
}
This boots Ubuntu automatically after 30 seconds if no selection is made.
Ventoy supports plugins for advanced features like persistence, password protection, and custom menu entries. Create a ventoy.json configuration to enable them.
Proper maintenance ensures long-term reliability and optimal performance.
Check for Ventoy updates quarterly or when adding ISOs that require newer features. Updates typically take less than a minute and preserve all data.
Develop a consistent naming convention for ISO files:
/Linux/Ubuntu/ubuntu-24.04-desktop-amd64.iso
/Linux/Fedora/fedora-40-workstation-x86_64.iso
/Windows/win11-professional-x64.iso
/Recovery/clonezilla-live-3.1.iso
This structure makes navigation faster during boot and simplifies management.
USB flash drives have limited write cycles. Monitor your drive’s health using:
bash
sudo smartctl -a /dev/sdb
Replace the drive if you notice increasing errors or performance degradation.
Symptom: “Permission denied” when running Ventoy2Disk.
Solution: Ensure you’re running with administrator (Windows) or sudo (Linux/macOS) privileges. On Linux, verify you have write permissions to the USB device.
Symptom: Installation fails because partitions are mounted.
Solution: Unmount all USB partitions before installation:
bash
sudo umount /dev/sdb*
Symptom: Ventoy2Disk refuses to install, claiming the device is invalid.
Solution: Ensure you’re targeting the device itself (e.g., /dev/sdb) and not a partition (e.g., /dev/sdb1). Remove the partition number from your command.
Yes, Ventoy2Disk works with external hard drives and SSDs, not just USB flash drives. The process is identical—just ensure you select the correct device identifier.
Ventoy supports persistence for many Linux distributions through persistence plugin configuration. This allows you to save changes between boot sessions for supported distributions.
Absolutely. The main Ventoy partition appears as a standard USB drive in your operating system. You can store regular files alongside ISO files, though this may clutter your boot menu.
There’s no hard limit imposed by Ventoy itself. The practical limit depends on your USB drive capacity and boot menu navigation preferences. Users commonly store 20-50 ISOs on a 128GB drive.
Ventoy is open-source software with its code publicly available on GitHub. The project has been actively maintained since 2020 with regular updates and a large community. Always download from official sources to ensure authenticity.
Ventoy2Disk transforms bootable USB creation from a repetitive reformatting task into a one-time setup process. By installing Ventoy through the command line, you gain precise control over partition schemes, installation options, and configuration details that graphical tools might obscure.
The ability to maintain multiple bootable operating systems on a single USB drive proves invaluable for IT professionals, developers, educators, and enthusiasts. Whether you’re deploying systems, recovering data, testing distributions, or learning about different operating systems, Ventoy2Disk provides a robust foundation for all these tasks.