Ventoy/INSTALL/README

47 lines
1.9 KiB
Plaintext
Raw Normal View History

2020-07-22 15:30:01 +00:00
========== Ventoy2Disk.sh ===============
2020-08-29 05:12:36 +00:00
sudo sh Ventoy2Disk.sh { -i | -I | -u } /dev/sdX sdX is the USB device, for example /dev/sdb.
2020-07-22 15:30:01 +00:00
Ventoy2Disk.sh CMD [ OPTION ] /dev/sdX
CMD:
-i install ventoy to sdX (fail if disk already installed with ventoy)
-I force install ventoy to sdX (no matter installed or not)
-u update ventoy in sdX
OPTION: (optional)
-r SIZE_MB preserve some space at the bottom of the disk (only for install)
-s enable secure boot support (default is disabled)
-g use GPT partition style, default is MBR style (only for install)
2020-08-29 05:12:36 +00:00
Please refer https://www.ventoy.net/en/doc_start.html for details.
========== VentoyWeb.sh ===============
2021-02-27 09:57:41 +00:00
1. sudo sh VentoyWeb.sh
2. open your browser and visit http://127.0.0.1:24680
2020-08-29 05:12:36 +00:00
2020-07-22 15:30:01 +00:00
========== CreatePersistentImg.sh ===============
2020-08-29 05:12:36 +00:00
sudo sh CreatePersistentImg.sh [ -s SIZE_IN_MB ] [ -t FSTYPE ] [ -l LABEL ] for example:
sh CreatePersistentImg.sh ----> persistence.dat in 1GB size and ext4 filesystem and casper-rw label
sh CreatePersistentImg.sh -l MX-Persist ----> persistence.dat in 1GB size and ext4 filesystem and MX-Persist label
sh CreatePersistentImg.sh -s 2048 ----> persistence.dat in 2GB size and ext4 filesystem and casper-rw label
sh CreatePersistentImg.sh -s 4096 -t xfs ----> persistence.dat in 4GB size and xfs filesystem (ext2/3/4 xfs are supported) and casper-rw label
Please refer https://www.ventoy.net/en/plugin_persistence.html for details.
2020-07-22 15:30:01 +00:00
2021-05-29 11:42:16 +00:00
========== ExtendPersistentImg.sh ===============
sudo sh ExtendPersistentImg.sh file size
For example:
sh ExtendPersistentImg.sh persistence.dat 2048 ----> Extend persistence.dat by 2048MB
That is to say, persistence.dat file will grow to 3GB size (assume that it is 1GB size before extend)
Please refer https://www.ventoy.net/en/plugin_persistence.html for details.
2020-07-22 15:30:01 +00:00