Skip to content

Instantly share code, notes, and snippets.

@gusenov
Created January 15, 2022 15:34
Show Gist options
  • Save gusenov/8d268e471275c9840dd8ffe517d9f686 to your computer and use it in GitHub Desktop.
Save gusenov/8d268e471275c9840dd8ffe517d9f686 to your computer and use it in GitHub Desktop.
sudo ./Ventoy2Disk.sh -i -r 153600 -L Main /dev/sdc
**********************************************
Ventoy: 1.0.64 x86_64
longpanda admin@ventoy.net
https://www.ventoy.net
**********************************************
Disk : /dev/sdc
Model: StoreJet (scsi)
Size : 223 GB
Style: MBR
You will reserve 153600 MB disk space
Attention:
You will install Ventoy to /dev/sdc.
All the data on the disk /dev/sdc will be lost!!!
Continue? (y/n) y
All the data on the disk /dev/sdc will be lost!!!
Double-check. Continue? (y/n) y
Create partitions on /dev/sdc by parted in MBR style ...
Done
Wait for partitions ...
partition exist OK
create efi fat fs /dev/sdc2 ...
mkfs.fat 4.1 (2017-01-24)
success
Wait for partitions ...
/dev/sdc1 exist OK
/dev/sdc2 exist OK
partition exist OK
Format partition 1 /dev/sdc1 ...
mkexfatfs 1.3.0
Creating... done.
Flushing... done.
File system created successfully.
mkexfatfs success
writing data to disk ...
sync data ...
esp partition processing ...
Open ventoy efi file 0x610ac0
ventoy x64 efi file size 1757184 ...
Open bootx64 efi file 0x610ac0
Open ventoy ia32 efi file 0x610f10
ventoy efi file size 1183744 ...
Open bootia32 efi file 0x610ac0
Install Ventoy to /dev/sdc successfully finished.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment