
Introduction
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.
What is Ventoy2Disk?
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.
Key Advantages
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.
Prerequisites and Requirements
Before beginning the installation process, ensure you have the following:
Hardware Requirements
- USB flash drive with at least 8GB capacity (larger is better for storing multiple ISOs)
- Computer with administrative or root access
- USB 3.0 drive recommended for faster boot times and better performance
Software Requirements
- Downloaded Ventoy package for your operating system from the official GitHub repository
- Terminal or command prompt access
- ISO files you want to make bootable (optional for initial setup)
Important Considerations
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.
Downloading and Extracting Ventoy
The first step involves obtaining the correct Ventoy package for your system.
Download Process
Visit the official Ventoy releases page and download the appropriate package:
- Linux: ventoy-x.x.xx-linux.tar.gz
- Windows: ventoy-x.x.xx-windows.zip
- macOS: Use the Linux package
Extraction Steps
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.
Identifying Your USB Drive
Before installation, you must identify the correct device identifier for your USB drive. This step is critical to prevent accidental data loss.
Linux Identification
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.”
Windows Identification
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.
macOS Identification
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.
Installing Ventoy Using Ventoy2Disk
With your USB drive identified, you can proceed with the installation.
Linux 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 scheme
Example with MBR partition scheme:
bash
sudo ./Ventoy2Disk.sh -i -m /dev/sdb
Windows Installation
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 scheme
macOS Installation
The 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
Understanding the Installation Process
When Ventoy2Disk runs, it performs several operations:
Partition Creation
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.
Bootloader Installation
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.
Completion Verification
After installation completes successfully, you’ll see a confirmation message. The USB drive is now ready to receive ISO files.
Adding ISO Files to Your Ventoy USB
With Ventoy installed, adding bootable images becomes remarkably simple.
File Transfer Process
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/
Organization Strategies
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.
Supported File Types
Ventoy primarily works with ISO files, but also supports:
- IMG files (disk images)
- VHD/VHDX files (Virtual Hard Disk)
- WIM files (Windows Imaging Format)
- EFI files (UEFI boot files)
Booting from Your Ventoy USB Drive
Once you’ve added ISO files, you’re ready to boot from the USB drive.
Boot Process Steps
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.
Troubleshooting Boot Issues
If the USB doesn’t appear in the boot menu, verify that:
- Secure Boot is disabled in UEFI settings (or Ventoy’s secure boot support is configured)
- USB boot is enabled in BIOS/UEFI settings
- The USB port is functioning properly (try different ports)
- Legacy/CSM mode is enabled if booting older ISOs on UEFI systems
Advanced Ventoy2Disk Options and Features
Ventoy2Disk provides several advanced options for customization and specific use cases.
Secure Boot Support
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.
Partition Preservation
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.
Custom Partition Size
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.
Ventoy Configuration
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.
Comparing Ventoy2Disk to Alternative Methods
Understanding how Ventoy2Disk compares to other bootable USB creation tools helps you choose the right solution.
Ventoy vs. Rufus
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.
Ventoy vs. YUMI/MultiBootUSB
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.
Ventoy vs. Balena Etcher
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.
Advanced Configuration Examples
Customize Ventoy’s behavior with these advanced configuration techniques.
Creating a Custom Boot Theme
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"
}
}
Menu Auto-Boot Configuration
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.
Plugin System
Ventoy supports plugins for advanced features like persistence, password protection, and custom menu entries. Create a ventoy.json configuration to enable them.
Maintaining Your Ventoy USB Drive
Proper maintenance ensures long-term reliability and optimal performance.
Regular Updates
Check for Ventoy updates quarterly or when adding ISOs that require newer features. Updates typically take less than a minute and preserve all data.
ISO Organization
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.
Drive Health Monitoring
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.
Troubleshooting Ventoy2Disk Installation Failures
Permission Denied Errors
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.
Disk Already Mounted
Symptom: Installation fails because partitions are mounted.
Solution: Unmount all USB partitions before installation:
bash
sudo umount /dev/sdb*
Wrong Device Type
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.
Frequently Asked Questions
Can Ventoy Boot from External Hard Drives?
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.
Does Ventoy Work with Persistence?
Ventoy supports persistence for many Linux distributions through persistence plugin configuration. This allows you to save changes between boot sessions for supported distributions.
Can I Use the Ventoy USB as Normal Storage?
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.
How Many ISOs Can Ventoy Handle?
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.
Is Ventoy Safe and Trustworthy?
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.
Conclusion
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.
- Design


