User Tools

Site Tools


howto:ventoy

Differences

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

Link to this comparison view

Next revision
Previous revision
howto:ventoy [2023/01/07 03:59] – created Wulf Rajekhowto:ventoy [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== multiboot USB with Ventoy ======+====== Ventoy (multiboot USB======
  
 To make a USB stick which can boot multiple ISOs, use Ventoy. Ventoy is an open source tool which creates a special USB stick. That stick contains an exFAT partition in which you can copy multiple ISO files and an EFI partition where Ventoy puts its bootable menu. When you boot on the Ventoy USB stick, the menu lists all the ISOs you placed in the exFat partition and you can boot any of them. To make a USB stick which can boot multiple ISOs, use Ventoy. Ventoy is an open source tool which creates a special USB stick. That stick contains an exFAT partition in which you can copy multiple ISO files and an EFI partition where Ventoy puts its bootable menu. When you boot on the Ventoy USB stick, the menu lists all the ISOs you placed in the exFat partition and you can boot any of them.
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 24: Line 56:
 {{:howto:pasted:20230107-035823.png}} {{:howto:pasted:20230107-035823.png}}
  
-Once Ventoy is installed, your USB stick should now be called ventoy.+Once Ventoy is installed two partitions will be available on the USB stick
 +1.) Ventoy - this is empty and is the majority of the free space to copy iso files to 
 +2.) VTOYEFI - this is an EFI partition, not usually auto-mounted, which contains the Ventoy config files
  
-Mount it if’s not already mounted.+The 'Ventoy' partition usually will be auto-mounted and can be used
  
 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 35: Line 72:
  
 The ISOs you copied should appear as bootable options. The ISOs you copied should appear as bootable options.
 +
 +===== Configuring Ventoy =====
 +
 +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>
 +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 
 +</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.1673063949.txt.gz · Last modified: 2023/05/29 11:53 (external edit)