How To Create A Multiboot USB With Ventoy Using Linux¶
Environment¶
These instructions will show how you can create a multiboot USB flash drive with Windows 10 and Arch Linux using a Linux terminal and desired web browser.
Preparation¶
-
Download Microsoft Windows ISO.
Download the desired Windows ISO by going to Download Windows 10 Disc Image (ISO File). Make sure to note the SHA256 hash under "Verify your download" for your downloaded file.
-
Select the desired edition.
Windows 10
-
Select the desired language.
English
-
Download ISO.
Win10_20H2_v2_English_x64.iso
-
-
Download Arch Linux ISO.
Download the desired Arch Linux ISO by going to Arch Linux - Downloads and make sure to also download
sha1sum.txt
. -
Verify Windows Download.
$ sha256sum ~/Downloads/Win10_20H2_v2_English_x64.iso
6c6856405dbc7674eda21bc5f7094f5a18af5c9bacc67ed111e8f53f02e7d13d Win10_20H2_v2_English_x64.iso
Note
Visually compare the outputted hash above to the hash located on the download page. If hashes match then the download was successful.
-
Verify Arch Linux Download.
$ sha1sum -c sha1sum.txt
archlinux-2021.02.01-x86_64.iso: OK sha1sum: archlinux-bootstrap-2021.02.01-x86_64.tar.gz: No such file or directory archlinux-bootstrap-2021.02.01-x86_64.tar.gz: FAILED open or read sha1sum: WARNING: 1 listed file could not be read
Note
In this context only one file was downloaded, "archlinux-2021.02.01-x86_64.iso". Therefore a successful download is when seeing "archlinux-2021.02.01-x86_64.iso: OK".
Instructions¶
Arch Linux¶
-
Install Ventoy.
$ pikaur -Sy ventoy-bin
Note
AUR helper required per these instructions.
-
Plug-in desired USB flash drive.
-
Locate device name of USB flash drive using on of the following commands.
$ mount
$ lsblk
Note
In these instructions the USB flash drive device name is assumed to be "/dev/sde".
-
Install Ventoy to USB.
# ventoy -i /dev/sde
********************************************** Ventoy: 1.0.34 x86_64 longpanda admin@ventoy.net https://www.ventoy.net ********************************************** Disk : /dev/sde Model: SanDisk Cruzer Glide 3.0 (scsi) Size : 57 GB Style: MBR Attention: You will install Ventoy to /dev/sde. All the data on the disk /dev/sde will be lost!!! Continue? (y/n) y
- Continue with installation.
All the data on the disk /dev/sde will be lost!!! Double-check. Continue? (y/n) y
Create partitions on /dev/sde by parted in MBR style ... Done mkfs on disk partitions ... create efi fat fs /dev/sde2 ... mkfs.fat 4.1 (2017-01-24) success mkexfatfs 1.3.0 Creating... done. Flushing... done. File system created successfully. writing data to disk ... sync data ... esp partition processing ... Install Ventoy to /dev/sde successfully finished.
-
Move ISOs to the USB flash drive.
$ mv ~/Downloads/Win10_20H2_v2_English_x64.iso /run/media/adamsdesk/Ventoy/ $ mv ~/Downloads/archlinux-2021.02.01-x86_64.iso /run/media/adamsdesk/Ventoy/
Note
The destination of your USB flash drive mount point (/run/media/adamsdesk/Ventoy/) may vary.
Debian¶
-
Download Ventoy.
Download the latest Ventoy release by going to Releases - ventoy/Ventoy - GitHub. Make sure to note the SHA-256 hash for your downloaded file (e.g. ventoy-1.0.35-linux.tar.gz).
-
Verify Ventoy download.
$ sha256sum ~/Downloads/ventoy-1.0.35-linux.tar.gz
62d611de2addc9e86ec9bc8129352505cf5174e1de4b39da2019ab9898d21009 ventoy-1.0.35-linux.tar.gz
Note
Visually compare the outputted hash above to the hash located on the download page. If hashes match then the download was successful.
-
Decompress downloaded archive.
$ tar -zxvf ventoy-1.0.35-linux.tar.gz
- Change directory.
$ cd ventoy-1.0.35/
- Plug-in desired USB flash drive.
-
Locate device name of USB flash drive using on of the following commands.
$ mount
$ lsblk
Note
In these instructions the USB flash drive device name is assumed to be "/dev/sde".
-
Install Ventoy to USB.
# ./Ventoy2Disk.sh -i /dev/sde
********************************************** Ventoy: 1.0.35 x86_64 longpanda admin@ventoy.net https://www.ventoy.net ********************************************** Disk : /dev/sde Model: SanDisk Cruzer Glide 3.0 (scsi) Size : 57 GB Style: MBR Attention: You will install Ventoy to /dev/sde. All the data on the disk /dev/sde will be lost!!! Continue? (y/n) y
- Continue with Installation.
All the data on the disk /dev/sde will be lost!!! Double-check. Continue? (y/n) y
Create partitions on /dev/sde by parted in MBR style ... Done mkfs on disk partitions ... create efi fat fs /dev/sde2 ... mkfs.fat 4.1 (2017-01-24) success mkexfatfs 1.3.0 Creating... done. Flushing... done. File system created successfully. writing data to disk ... sync data ... esp partition processing ... Install Ventoy to /dev/sde successfully finished.
-
Move ISOs to the USB flash drive.
$ mv ~/Downloads/Win10_20H2_v2_English_x64.iso /run/media/adamsdesk/Ventoy/ $ mv ~/Downloads/archlinux-2021.02.01-x86_64.iso /run/media/adamsdesk/Ventoy/
Note
The destination of your USB flash drive mount point (/run/media/adamsdesk/Ventoy/) may vary.