Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 10 / Create a Multi-OS Bootable USB Flash Drive with Ventoy

May 8, 2024 LinuxWindows 10Windows 11

Create a Multi-OS Bootable USB Flash Drive with Ventoy

If you want to create a multi-boot USB flash drive with multiple operating system images, Ventoy is one of the best tools available. Ventoy allows you to create a bootable USB stick onto which you can copy ISO images with the OS distros you need. When booting from this USB stick, you can choose which operating system to install on your computer, or which LiveCD image to boot from.

How to Create a Multi-ISO Bootable Flash Drive Using Ventoy

Ventoy is a free open-source tool available on Windows and Linux (https://github.com/ventoy/Ventoy/releases ).

  1. Download the archive, extract it to a local drive, and run Ventoy2Disk.exe as an administrator;
  2. Select the USB flash drive you want to burn the Ventoy bootloader to and click Install; Write Ventoy bootloader to Multiboot USB Drive
  3. The USB drive will be cleared. By default, Ventoy creates an MBR partition table with two partitions: a small FAT32 partition for the EFI boot loader (based on grub2) and a large exFAT partition. This configuration allows the USB flash drive to boot on both BIOS and UEFI computers with Secure Boot. Almost any operating system can access the exFAT partition, and there is no maximum file size limit of 4 GB as with FAT32. You can change these settings in the Options menu. Ventoy parttions
  4. Now copy to the main partition of the Ventoy drive the ISO image files containing the operating system distros you need; Copy ISO images to Ventoy boot USB stick
  5. When booting from this USB drive, the Ventoy GUI menu will appear with a list of available ISO images. By default, Ventoy will scan all directories and display a list of the ISO, WIM, VHDX, and IMG image files it has found. Create a .ventoyignore file in a folder to exclude it from scanning. ventoy boot menu
  6. You can proceed with the installation of any of the available operating systems in the ISO files, or boot from your LiveCD.

An error may occur when booting from a Ventoy flash drive on a computer with UEFI Secure Boot mode enabled:

Verification failed: 0x1A Security Violation

To fix this, you must add Ventoy keys to the computer’s MOK (Machine Owner Key).

  1. Click OK -> and press any key;
  2. Select Enroll key from disk; Enroll key from disk
  3. Then go to VTOYEFI -> select ENROLL_THIS_KEY_IN_MOKMANAGER.cer file VTOYEFI -> ENROLL_THIS_KEY_IN_MOKMANAGER.cer
  4. Continue -> Yes -> Yes
  5. Restart your computer. With the Ventoy keys added to UEFI NVRAM, the computer will consider them trustworthy and continue booting from the USB key.

Ventoy can load ISO contents into RAM in several ways:

  • Normal mode — only the files needed to boot are loaded into RAM. This mode can cause boot problems with some ISO images and computers (especially those with legacy BIOSes).
  • Memdisk mode – The entire ISO image will be loaded into memory (you will need enough RAM on your computer). This boot mode is more stable and reliable.
Winboot mode allows to boot directly from the WIM Windows image.

For example, for the WinPE-based images (including Hiren’s BootCD PE) to work correctly, I had to boot them in Memdisk mode on my computer. To do this, press F1 -> Ctrl + D. This allows the full WinPE ISO image to be loaded into memory:

Loading ISO file to memory

Memdisk boot mode on Ventoy

Using Ventoy Extension Plugins

You can customize your Ventoy multi-boot USB flash drive with plug-ins. The ventoy/ventoy.json file on the data partition is used to customize boot manager settings (this file is missing by default).

Previously, I showed how to manually boot a WinPE image in the memdisk mode. Add the following lines to ventoy.json to automatically boot certain ISO images in this mode:

{
    "auto_memdisk": [
        "/ISO/HBCD_PE_x64.iso",
        "/ISO/Win11PE.iso"
    ]
}

ventoy.json - plugins config file

Now all specified ISO images will always be loaded in RAM.

In the control section, you can set global options. For example:

    "control":[
        { "VTOY_DEFAULT_SEARCH_ROOT": "/ISO" }
        { "VTOY_WIN11_BYPASS_CHECK": "1" },
        { "VTOY_WIN11_BYPASS_NRO": "1" },
    ]
  • VTOY_DEFAULT_SEARCH_ROOT — set the image search directory
  • VTOY_WIN11_BYPASS_CHECK — bypass minimum system requirements when installing Windows 11 (How to install Windows 11 on unsupported hardware)
  • VTOY_WIN11_BYPASS_NRO – setup Windows 11 with a local account

The Injection plugin allows you to include additional files or archives in the installation environment (drivers, tools).

{
  "injection": [
      {
          "image": "/ISO/win7.iso",
          "archive": "/driver/win-driver.zip"
      } 
  ]
 }

In the case of Windows PE, the specified extracted archive will be available in the installation environment under drive letter X:

The Auto_Install plugin allows you to configure the automatic installation of the operating system. For Windows, the unattended.xml answer file is supported.

  "auto_install" : [
        {
            "image": "/ISO/windows_server_2022.iso",
            "template": "/windows2022_unattended.xml"
        }
  ]

For Linux, you can also create answer files: kickstart8.cfg (RHEL, Rocky, Centos) or preseed.cfg (Debian, Ubuntu).

Using plugins, you can customize the appearance of the Ventoy boot menu, use themes, add icons to ISO files and folders. etc.

Use the VentoyPlugson.exe tool to configure the Ventoy plugin parameters from the GUI. The tool generates the correct ventoy.json file and automatically saves it to the Ventoy data partition.

VentoyPlugson.exe global control plugin GUI

With Ventoy, you can do away with the need for multiple flash drives with different OS install images. All your distros can now be stored on a USB stick. To write a new image to the USB key, simply copy the ISO image file.

0 comment
2
Facebook Twitter Google + Pinterest
previous post
Read, Modify, and Parse JSON File (Object) with PowerShell
next post
Check Windows 11 Hardware Readiness with PowerShell Script

Related Reading

WMIC Command Not Found on Windows

May 20, 2025

Configuring Windows Protected Print Mode (WPP)

May 19, 2025

Unable to Map Drive: An extended error has...

May 13, 2025

Map a Network Drive over SSH (SSHFS) in...

May 13, 2025

How to Cancel Windows Update Pending Restart Loop

May 6, 2025

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMware
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fixing ‘The Network Path Was Not Found’ 0x80070035 Error Code on Windows
  • Recovering Files from BitLocker Encrypted Drive
  • Install Any OS from ISO Image over Network with iVentoy
  • Monitoring Domain Name Expiration Date with Zabbix
  • Get Started with Docker on Windows (WSL2) without Docker Desktop
  • Turn Linux Computer into Wi-Fi Access Point (Hotspot)
  • Printing from Linux to a Windows Shared Printer
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top