v1ral_ITS

Untitled

Feb 5th, 2026
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.50 KB | None | 0 0
  1.  
  2. ========== Ventoy2Disk.sh ===============
  3.  
  4. sudo bash Ventoy2Disk.sh { -i | -I | -u } /dev/sdX   sdX is the USB device, for example /dev/sdb.
  5.  
  6. Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX
  7.   CMD:
  8.     -i   install ventoy to sdX (fail if disk already installed with ventoy)
  9.     -I   force install ventoy to sdX (no matter installed or not)
  10.     -u   update ventoy in sdX
  11.    
  12.   OPTION: (optional)
  13.    -r SIZE_MB  preserve some space at the bottom of the disk (only for install)
  14.    -s          enable secure boot support (default is disabled)
  15.    -g          use GPT partition style, default is MBR style (only for install)
  16.  
  17. Please refer https://www.ventoy.net/en/doc_start.html for details.  
  18.  
  19.  
  20. ========== VentoyWeb.sh ===============
  21. 1. sudo bash VentoyWeb.sh
  22. 2. open your browser and visit http://127.0.0.1:24680
  23.  
  24.  
  25. ========== VentoyPlugson.sh ===============
  26. 1. sudo bash VentoyPlugson.sh /dev/sdX
  27. 2. open your browser and visit http://127.0.0.1:24681
  28.  
  29. ========== VentoyVlnk.sh ===============
  30. Usage:  sudo bash VentoyVlnk.sh CMD FILE
  31.   CMD:
  32.    -c FILE      create vlnk for FILE
  33.    -l VLNK      parse vlnk file
  34.    -v           print verbose info
  35.    -h           print this help
  36.  
  37.  
  38. ========= VentoyGUI ===================
  39. VentoyGUI is native GUI program for Linux (GTK/QT)
  40. 1. Just double-click the file (e.g. VentoyGUI.x86_64)
  41. 2. If it can not startup after double-click, you can open the terminal and just execute the file (e.g.  ./VentoyGUI.x86_64)
  42.  
  43.  
  44. ========== CreatePersistentImg.sh ===============
  45.  
  46. sudo bash CreatePersistentImg.sh  [ -s SIZE_IN_MB ] [ -t FSTYPE ] [ -l LABEL ]   for example:
  47.  
  48. bash CreatePersistentImg.sh                 ---->  persistence.dat in 1GB size and ext4 filesystem and casper-rw label
  49. bash CreatePersistentImg.sh -l MX-Persist   ---->  persistence.dat in 1GB size and ext4 filesystem and MX-Persist label
  50. bash CreatePersistentImg.sh -s 2048         ---->  persistence.dat in 2GB size and ext4 filesystem and casper-rw label
  51. bash CreatePersistentImg.sh -s 4096 -t xfs  ---->  persistence.dat in 4GB size and xfs  filesystem  (ext2/3/4 xfs are supported)  and casper-rw label
  52.  
  53. Please refer https://www.ventoy.net/en/plugin_persistence.html for details.
  54.  
  55.  
  56.  
  57. ========== ExtendPersistentImg.sh ===============
  58. sudo bash ExtendPersistentImg.sh  file size  
  59. For example:
  60. bash ExtendPersistentImg.sh persistence.dat 2048  ---->  Extend persistence.dat by 2048MB
  61. That is to say, persistence.dat file will grow to 3GB size (assume that it is 1GB size before extend)
  62.  
  63. Please refer https://www.ventoy.net/en/plugin_persistence.html for details.
Advertisement
Add Comment
Please, Sign In to add comment