### Ventoy Command Line Install Example Source: https://www.ventoy.net/en/doc_windows_cli.html Example of installing Ventoy on a logical drive D: using the command line. ```bash Ventoy2Disk.exe VTOYCLI /I /Drive:D: ``` -------------------------------- ### Ventoy Command Line Install with Options Example Source: https://www.ventoy.net/en/doc_windows_cli.html Example of installing Ventoy on logical drive D: with GPT partition style and without USB check. ```bash Ventoy2Disk.exe VTOYCLI /I /Drive:D: /GPT /NOUSBCheck ``` -------------------------------- ### Ventoy Command Line Install with Multiple Options Example Source: https://www.ventoy.net/en/doc_windows_cli.html Example of installing Ventoy on physical drive 2 with GPT, no USB check, no Secure Boot, and 4096MB reserved space. ```bash Ventoy2Disk.exe VTOYCLI /I /PhyDrive:2 /GPT /NOUSBCheck /NOSB /R:4096 ``` -------------------------------- ### Ventoy Command Line Update by Physical Drive Example Source: https://www.ventoy.net/en/doc_windows_cli.html Example of updating Ventoy on physical drive 1 using the command line. ```bash Ventoy2Disk.exe VTOYCLI /U /PhyDrive:1 ``` -------------------------------- ### Ventoy JSON Configuration Example Source: https://www.ventoy.net/en/plugin_entry.html This example demonstrates the structure of the ventoy.json file, including control options, theme settings, and auto-install configurations for different operating systems. ```json { "control": [ { "VTOY_DEFAULT_MENU_MODE": "1" }, { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" } ], "theme": { "file": "/ventoy/theme/blur/theme.txt", "gfxmode": "1920x1080" }, "auto_install" : [ { "image": "/ISO/cn_windows_server_2012_r2_vl_x64_dvd_2979220.iso", "template": "/ventoy/script/windows_unattended.xml" }, { "image": "/000/centos.iso", "template": "/ventoy/script/centos_kickstart.cfg" } ] } ``` -------------------------------- ### Ventoy Command Line Update Example Source: https://www.ventoy.net/en/doc_windows_cli.html Example of updating Ventoy on a logical drive D: using the command line. ```bash Ventoy2Disk.exe VTOYCLI /U /Drive:D: ``` -------------------------------- ### Install grub-pc-bin for Deepin Source: https://www.ventoy.net/en/plugin_vtoyboot.html For specific Linux distributions like Deepin, an additional grub package is required for Legacy BIOS bootability. Install it using dpkg. ```bash dpkg -i grub-pc-bin_2.02.24.3-1+eagle_amd64.deb ``` -------------------------------- ### Ventoy GRUB Shell Example Source: https://www.ventoy.net/en/faq.html This is an example of the GNU GRUB version 2.04 minimal BASH-like line editing interface that may appear if Ventoy fails to boot correctly. It indicates potential issues with the USB stick or BIOS limitations. ```bash GNU GRUB version 2.04 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. ESC at any time exits. grub> ``` -------------------------------- ### Initialize Diskpart in Command Prompt Source: https://www.ventoy.net/en/experience_windows-10-boot-repair.html Start the Diskpart utility from the Windows Command Prompt to manage disk partitions and volumes. ```bash diskpart ``` -------------------------------- ### Auto Install Plugin Configuration Source: https://www.ventoy.net/en/plugin_path_match.html Configure the 'auto_install' plugin to specify ISO images and their corresponding template files. Supports fixed paths and fuzzy matching. ```json { "auto_install": [ { "image": "/ISO/CentOS/CentOS-7-x86_64-DVD-1810.iso", "template": "/ventoy/script/centos_kickstart.cfg" } ] } ``` -------------------------------- ### Sample Path Matching Configurations Source: https://www.ventoy.net/en/plugin_path_match.html Demonstrates various path matching scenarios using '*' for fuzzy matching in 'auto_install', 'auto_memdisk', 'menu_alias', and 'password' plugins. Note the specific behavior of '*' matching only one character. ```json { "auto_install": [ { "image": "/ISO/CentOS/CentOS-7-x86_64-DVD-****.iso", "template": "/ventoy/script/centos7_kickstart.cfg" }, { "image": "/ISO/CentOS/CentOS-8-***************.iso", "template": "/ventoy/script/centos8_kickstart.cfg" } ], "auto_memdisk": [ "iKuai8****************************.iso" ], "menu_alias": [ { "image": "/ISO/Ubuntu-20.**-desktop-amd64.iso", "alias": "Ubuntu 20" }, { "image": "/ISO/Ubuntu-21.**-desktop-amd64.iso", "alias": "Ubuntu 21" }, { "image": "/ISO/MX-19.*_x64.iso", "alias": "MX 19 ISO file For me" } ], "password": { "menupwd": [ { "file":"/ISO/MX-****_x64.iso", "pwd":"md5#e10adc3949ba59abbe56e057f20f883e" } ] } } ``` -------------------------------- ### List Installed Packages using DISM Source: https://www.ventoy.net/en/experience_windows-10-boot-repair.html Use DISM to list all installed updates on your computer. Replace 'C:\\' with your system drive letter if it's different. ```bash dism /Image:C:\\ /get-packages /format:list ``` -------------------------------- ### Ventoy Configuration with Multi-Mode Options Source: https://www.ventoy.net/en/plugin_dual_option.html This example demonstrates a comprehensive ventoy.json configuration, setting distinct options for 'control' and 'theme' plugins across various boot modes (legacy, UEFI x86_64, IA32, ARM64, MIPS64). ```json { "control_legacy": [ { "VTOY_DEFAULT_MENU_MODE": "1" }, { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" } ], "control_uefi": [ { "VTOY_DEFAULT_MENU_MODE": "0" }, { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" } ], "control_ia32": [ { "VTOY_DEFAULT_MENU_MODE": "0" }, { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" } ], "control_aa64": [ { "VTOY_DEFAULT_MENU_MODE": "0" }, { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" } ], "control_mips": [ { "VTOY_DEFAULT_MENU_MODE": "0" }, { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" } ], "theme_legacy": { "display_mode": "CLI" }, "theme_uefi": { "file": "/ventoy/theme/theme.txt", "gfxmode": "1920x1080" }, "theme_ia32": { "file": "/ventoy/theme/theme.txt", "gfxmode": "800x600" }, "theme_aa64": { "file": "/ventoy/theme/theme.txt", "gfxmode": "1024x768" }, "theme_mips": { "file": "/ventoy/theme/theme.txt", "gfxmode": "1024x768" } } ``` -------------------------------- ### Perform Non-destructive Install on Linux Source: https://www.ventoy.net/en/doc_non_destructive.html Use the `-n` option with `-i` or `-I` flags when running Ventoy2Disk.sh to perform a non-destructive installation. The partition style of the disk will remain unchanged. ```bash sudo sh Ventoy2Disk.sh -i -n /dev/sdb ``` -------------------------------- ### Example ISO and Checksum File Naming Source: https://www.ventoy.net/en/doc_checksum.html Illustrates the naming convention for ISO files and their corresponding checksum files (.md5, .sha1, .sha256, .sha512). Ensure the checksum file has an additional suffix appended to the original filename. ```text /ISO/Linux/tails-amd64-4.23.iso /ISO/Linux/tails-amd64-4.23.iso.md5 /ISO/Linux/tails-amd64-4.23.img /ISO/Linux/tails-amd64-4.23.img.md5 /ISO/Windows/en_Windows11.iso /ISO/Windows/en_Windows11.iso.sha1 /ISO/ChromeOS/cloudready-free-92.3.4-64bit.img /ISO/ChromeOS/cloudready-free-92.3.4-64bit.img.sha256 ``` -------------------------------- ### Install Ventoy via Linux CLI Source: https://www.ventoy.net/en/doc_start.html Use this command to install or update Ventoy on a specified USB device. Ensure you have root privileges. The USB drive will be formatted, and all data will be lost. ```bash sh Ventoy2Disk.sh { -i | -I | -u } /dev/XXX ``` ```bash Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX CMD: -i install ventoy to sdX (fail if disk already installed with ventoy) -I force install ventoy to sdX (no matter installed or not) -u update ventoy in sdX -l list Ventoy information in sdX OPTION: (optional) -r SIZE_MB preserve some space at the bottom of the disk (only for install) -s enable secure boot support (default is disabled) -g use GPT partition style, default is MBR style (only for install) -L Label of the main partition (default is Ventoy) ``` -------------------------------- ### Add Hotkey Tips to Theme Source: https://www.ventoy.net/en/plugin_theme.html Include these hbox definitions in your `theme.txt` to display hotkey tips. Position and color can be adjusted. ```text + hbox{ left = 30% top = 95% width = 10% height = 25 + label {text = "@VTOY_HOTKEY_TIP@" color = "blue" align = "left"} } + hbox{ left = 90% top = 5 width = 10% height = 25 + label {text = "@VTOY_MEM_DISK@" color = "red" align = "left"} } ``` -------------------------------- ### List Installed Drivers in Windows Recovery Source: https://www.ventoy.net/en/experience_windows-11-boot-repair.html Use this command in the Windows Recovery Environment (WinRE) Command Prompt to list all drivers installed on your system. This helps identify drivers to uninstall if they are causing boot issues. ```bash Dism /online /Get-Drivers / all /Format:Table ``` -------------------------------- ### Create Bootable Media with EaseUS Partition Master Source: https://www.ventoy.net/en/experience_windows-10-wont-boot.html Use this process to create a bootable WinPE media for repairing Windows boot issues. Ensure you have a USB drive or CD/DVD available. ```bash Launch EaseUS Partition Master, and click "Bootable Media" on the toolbar. Select "Create bootable media". Click "Next" to finish the process. ``` -------------------------------- ### Launch Ventoy WebUI on Linux Source: https://www.ventoy.net/en/doc_linux_webui.html Run this command in the terminal to start the Ventoy WebUI. The default address will be printed in the terminal. ```bash sudo bash VentoyWeb.sh ``` -------------------------------- ### Process OpenWrt combined-squashfs.img.gz with script Source: https://www.ventoy.net/en/doc_openwrt.html Use this script to prepare OpenWrt combined-squashfs.img.gz files for booting with Ventoy. Ensure the input file is correctly named. ```shell sh ventoy_openwrt_squashfs.sh openwrt-xxx-combined-squashfs.img.gz ``` ```shell sh ventoy_openwrt_squashfs.sh openwrt-19.07.7-x86-64-combined-squashfs.img.gz ``` -------------------------------- ### Boot from EaseUS Partition Master Bootable USB Source: https://www.ventoy.net/en/experience_windows-11-wont-boot.html Instructions on how to boot your computer from a created EaseUS Partition Master bootable USB drive. This allows the tool to run before Windows loads. ```plaintext Connect the bootable USB or CD/DVD to your PC. Press F2 or Del when you restart the computer to enter the BIOS screen. Set and boot your computer from "Removable Devices" or "CD-ROM Drive". Then, EaseUS Partition Master will run automatically. ``` -------------------------------- ### Ventoy Command Line Usage Source: https://www.ventoy.net/en/doc_windows_cli.html Use this command to install or update Ventoy via the Windows command line. Parameters are case-insensitive. ```bash Ventoy2Disk.exe VTOYCLI CMD DISK [Options] ```