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

Both sides previous revisionPrevious revision
Next revision
Previous revision
pages:howtos:it-utilities:ventoy [2022/09/22 14:11] – [Ventoy] mischerhpages:howtos:it-utilities:ventoy [2024/06/17 14:11] (current) – [Update Ventoy] rokkitlawnchair
Line 15: Line 15:
 ===== How To get ventoy on your USB flash drive ===== ===== How To get ventoy on your USB flash drive =====
   * https://www.ventoy.net/en/doc_start.html   * 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. Download the installation package, like ventoy-x.x.xx-linux.tar.gz and decompress it.
 <sxh bash; gutter: false> <sxh bash; gutter: false>
-cd ~/Downloads +mkdir -pv ~/repos/download/ventoy 
-wget https://github.com/ventoy/Ventoy/releases/download/v1.0.80/ventoy-1.0.80-linux.tar.gz+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> </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. 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 Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX
   CMD:   CMD:
Line 36: Line 49:
    -g          use GPT partition style, default is MBR style (only for install)    -g          use GPT partition style, default is MBR style (only for install)
    -L          Label of the main partition (default is Ventoy)    -L          Label of the main partition (default is Ventoy)
 +</code>
  
-Attention that the USB drive will be formatted and all the data will be lost after install. +===== Copy Image files =====
-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 affact Ventoy's function. +
- +
-    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). 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 +===== Update Ventoy =====
 If a new version of Ventoy is released, you can update it to the USB drive. 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. 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. +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.1663855888.txt.gz · Last modified: 2022/09/22 14:11 by mischerh