2 ========== Ventoy2Disk.sh ===============
4 sudo sh Ventoy2Disk.sh { -i | -I | -u } /dev/XXX XXX is the USB device, for example /dev/sdb.
6 Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX
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
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)
18 ========== CreatePersistentImg.sh ===============
20 sudo sh CreatePersistentImg.sh
22 sh CreatePersistentImg.sh [ -s SIZE_IN_MB ] [ -t FSTYPE ] [ -l LABEL ] for example:
24 sh CreatePersistentImg.sh ----> persistence.img in 1GB size and ext4 filesystem and casper-rw label
25 sh CreatePersistentImg.sh -l MX-Persist ----> persistence.img in 1GB size and ext4 filesystem and MX-Persist label
26 sh CreatePersistentImg.sh -s 2048 ----> persistence.img in 2GB size and ext4 filesystem and casper-rw label
27 sh CreatePersistentImg.sh -s 4096 -t xfs ----> persistence.img in 4GB size and xfs filesystem (ext2/3/4 xfs are supported) and casper-rw label