User Tools

Site Tools


howto: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
howto:ventoy [2023/01/09 22:23] Wulf Rajekhowto:ventoy [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 10: Line 10:
 <code> <code>
 cd ~/Downloads cd ~/Downloads
-wget https://github.com/ventoy/Ventoy/releases/download/v1.0.86/ventoy-1.0.86-linux.tar.gz +wget https://github.com/ventoy/Ventoy/releases/download/v1.0.91/ventoy-1.0.91-linux.tar.gz 
-tar -xvzf ventoy-1.0.86-linux.tar.gz +tar -xvzf ventoy-1.0.91-linux.tar.gz 
-cd ventoy-1.0.86+cd ventoy-1.0.91
 sudo ./VentoyGUI.x86_64 sudo ./VentoyGUI.x86_64
 +</code>
 +
 +Bash script to check for and download latest ventoy version then start it. Requires wget, curl and jq:
 +<code - ventoy-update.sh>
 +#!/bin/bash
 +
 +get_ventoy_release() {
 +curl -s https://api.github.com/repos/ventoy/Ventoy/releases | \
 +  jq -r '[[.[] |
 +    select(.draft != true) |
 +    select(.prerelease != true)][] |
 +    .assets |
 +    .[] |
 +    select(.name | endswith(".tar.gz")) |
 +    .browser_download_url]' | grep -o "http.*-linux.tar.gz"
 +}
 +
 +VTDLURL=$(get_ventoy_release | head -1)
 +VTFILENAME=$(echo "$VTDLURL" | cut -d "/" -f9)
 +VTDIRNAME=${VTFILENAME::-13}
 +if [ ! -d "$VTDIRNAME" ];
 +then
 +    if [ ! -f "$VTFILENAME" ];
 +    then
 +        echo "$VTDLURL" | xargs -n1 wget
 +    fi
 +    tar -xvzf $VTFILENAME
 +fi
 +
 +cd $VTDIRNAME
 +sudo ./VentoyGUI.x86_64
 +#rm -rf /tmp/ventoy
 </code> </code>
  
Line 31: Line 63:
  
 Copy ISO files to the stick. Copy ISO files to the stick.
 +
 +Windows ISO files should be renamed to end with _VTWIMBOOT (e.g.: win10_english_x64_VTWIMBOOT.iso) to boot properly. Alternatively, CTRL+w can be pressed in the Ventoy menu to activate WIMBOOT mode.
 +
  
 Boot on the Ventoy USB stick. Boot on the Ventoy USB stick.
Line 40: Line 75:
 ===== Configuring Ventoy ===== ===== Configuring Ventoy =====
  
-The "VTOYEFI" partition needs to be mounted manually, e.g.:+All the plugins and their related files must be in a "ventoy" (all lowercase) directory in the first partition of the disk (along with the iso files and created by yourself). Directory and file names are case sensitive.  
 + 
 +A json file ventoy.json must be placed under the ventoy directory (no subdirectory) as the configuration file. The file must match the syntax of json and the outermost layer must be an object( { } ). For json syntax you can check it with the 2 online tools as follows:  
 + 
 +ventoy.json must in UTF-8 encoding.  
 + 
 +VentoyPluson can be used to create and edit this json file. 
 +<code>sudo bash VentoyPlugson.sh /dev/sdX</code>  
 +This loads a web server and provides URL to use the editor via browser. 
 +More details: https://www.ventoy.net/en/plugin_plugson.html 
 +{{:howto:pasted:20230109-224040.png}} 
 + 
 + 
 +===== Mount EFI partition ===== 
 + 
 +The "VTOYEFI" partition needs to be mounted manually if required or desired, e.g.:
 <code> <code>
 sudo mkdir /mnt/vtoyefi sudo mkdir /mnt/vtoyefi
 sudo mount /dev/sdb2 /mnt/vtoyefi/ -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro,uhelper=udisks2  sudo mount /dev/sdb2 /mnt/vtoyefi/ -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro,uhelper=udisks2 
 </code> </code>
 +
  
  
 source: https://linuxmint-user-guide.readthedocs.io/en/latest/winiso.html source: https://linuxmint-user-guide.readthedocs.io/en/latest/winiso.html
 +
 +
 +====== Multi-Boot USB w/ Grub ======
 +
 +https://nixsanctuary.com/how-to-create-multi-boot-usb-drive-without-ventoy-grub-ftw/
 +
  
howto/ventoy.1673303030.txt.gz · Last modified: 2023/05/29 11:53 (external edit)