Skip to content

Instantly share code, notes, and snippets.

@gusenov
Created January 15, 2022 16:23
Show Gist options
  • Save gusenov/4771e8c6bed74c77102a1ae11c14d78e to your computer and use it in GitHub Desktop.
Save gusenov/4771e8c6bed74c77102a1ae11c14d78e to your computer and use it in GitHub Desktop.
sudo ./Ventoy2Disk.sh -I -s -g -L Data /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: GPT
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 GPT 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 ...
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