User Tools

Site Tools


pages:howtos:it-utilities:ventoy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
pages:howtos:it-utilities:ventoy [2022/09/22 14:06] – created mischerhpages:howtos:it-utilities:ventoy [2024/06/17 14:11] (current) – [Update Ventoy] rokkitlawnchair
Line 1: Line 1:
 {{tag>howto ventoy}} {{tag>howto ventoy}}
-====== Ventoy ======+====== ventoy ======
   * https://www.ventoy.net/en/index.html   * https://www.ventoy.net/en/index.html
-  * https://www.ventoy.net/en/download.html+  * https://github.com/ventoy/Ventoy/releases/latest 
  
 Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files. Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.
Line 12: Line 13:
 Most types of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen...)  Most types of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen...) 
  
 +===== How To get ventoy on your USB flash drive =====
 +  * https://www.ventoy.net/en/doc_start.html
 +  * https://github.com/ventoy/Ventoy/releases/latest
 +
 +Download the installation package, like ventoy-x.x.xx-linux.tar.gz and decompress it.
 +<sxh bash; gutter: false>
 +mkdir -pv ~/repos/download/ventoy
 +wget https://github.com/ventoy/Ventoy/releases/download/v1.0.91/ventoy-1.0.91-linux.tar.gz -O ~/repos/download/ventoy/ventoy-1.0.91-linux.tar.gz
 +sha256sum -c ~/repos/download/ventoy/ventoy-1.0.91-linux.tar.gz
 +tar -xzvf ~/repos/download/ventoy/ventoy-1.0.91-linux.tar.gz -C ~/repos/download/ventoy/
 +</sxh>
 +<WRAP center round important 60%>
 +Attention that the USB drive will be formatted and all the data will be lost after install.
 +You just need to install Ventoy once, after that all the things needed is to copy the iso files to the USB.
 +You can also use it as a plain USB drive to store files and this will not affect Ventoy's function.
 +</WRAP>
 +
 +Run the shell script as root sh Ventoy2Disk.sh { -i | -I | -u } /dev/XXX   XXX is the USB device, for example /dev/sdb.
 +<sxh bash; gutter: false>
 +# as root
 +lsblk
 +"$HOME"/repos/download/ventoy/ventoy-1.0.91/Ventoy2Disk.sh -i /dev/mmcblk0
 +</sxh>
 +<code>
 +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)
 +</code>
 +
 +===== Copy Image files =====
 +After the installation is complete, the USB drive will be divided into 2 partitions. The 1st partition was formated with exFAT filesystem (You can also reformat it manually with NTFS/FAT32/UDF/XFS/Ext2/3/4 ... See Notes). You just need to copy iso files to this partition. You can place the iso/wim/img/vhd(x) files any where. Ventoy will search all the directories and subdirectories recursively to find all the image files and list them in the boot menu alphabetically. Also you use plugin configuration to tell Ventoy only to search for image files in a fixed directory (and its subdirectories).
 +<sxh bash; gutter: false>
 +mount | grep Ventoy
 +cp -av /home/<USER>/Downloads/systemrescue-9.04-amd64.iso /run/media/<USER>/Ventoy/
 +cp -av /home/<USER>/Downloads/kubuntu-22.04.1-desktop-amd64.iso /run/media/<USER>/Ventoy/
 +</sxh>
 +
 +===== Update Ventoy =====
 +If a new version of Ventoy is released, you can update it to the USB drive.
 +It should be noted that the upgrade operation is safe, all the files in the first partition will be unchanged.
 +Upgrade operation is in the same way with installation. Ventoy2Disk.exe and Ventoy2Disk.sh will prompt you for update if the USB drive already installed with Ventoy.
 +<sxh bash; gutter: false>
 +# as root
 +/home/<USER>/repos/download/ventoy/ventoy-1.0.80/Ventoy2Disk.sh -u /dev/sdb
 +</sxh>
 ---- ----
-~~DISCUSSION~~+
  
pages/howtos/it-utilities/ventoy.1663855586.txt.gz · Last modified: 2022/09/22 14:06 by mischerh