captain-sensible
Well-Known Member
available tools for getting on iso onto a usb stick and in a state that it can be booted both from Linux or using Windows
a work in progress...
1) ventoy
ventoy
├── KNOPPIX_V8.6-2019-08-08-EN.iso
├── System Volume Information
├── bionicpup64-8.0-uefi.iso
├── bodhi-5.1.0-64.iso
├── linuxmint-19.3-mate-64bit.iso
├── linuxmint-19.3-xfce-64bit.iso
├── lubuntu-18.04-alternate-i386.iso
├── rescatux-0.73.iso
└── slackware64-current-install-dvd.iso
the above is a"tree" view of whats on my 14+ gig usb stick . It might surprise some that there is a bunch of iso's and not only that that the iso's are in tact and in the same state as they were when downloaded .
How did i arrive at the above and whats going on ?
Well its the ventoy system
first lets see how to get it and use it from Linux
get download (latest release is 1.0.12) :
get the tar.gz and navigate to where it is(probsbly /home/usr/downloads) :
open terminal
//go to downloads
bash-5.0$ cd /home/andrew/Downloads
bash-5.0$ ls --color
ventoy-1.0.12-linux.tar.gz
//move it to somewhere convenient maybe Desktop
mv ventoy-1.0.12-linux.tar.gz /home/andrew/Desktop/
//navigate to Desktop
bash-5.0$ cd ~/Desktop
//see if its there
$ ls --color
CI4.zip southend.jpg
ZAP_2.9.0 ventoy-1.0.12-linux.tar.gz
persistence.img ventoy-1.0.12-windows.zip
//now we unpack the tar.gz
$ tar -xzf ventoy-1.0.12-linux.tar.gz
with the new release we will now get :
ventoy-1.0.12
├── CreatePersistentImg.sh
├── Ventoy2Disk.sh
├── boot
├── tool
└── ventoy
now we navigate inside currently we are at :
bash-5.0$ pwd
/home/andrew/Desktop
$ cd ventoy-1.0.12
//confirm contents
bash-5.0$ ls --color
CreatePersistentImg.sh Ventoy2Disk.sh boot tool ventoy
Now we are going to use Ventoy2Disk.sh to format a usb stick. First detach everything from pc that might confuse; connect usb and get name:
$ su ->password->#
# fdisk -l
i got /dev/sda1
/dev/sda2
/dev/sda3
and ..
Disk /dev/sdb: 3.75 GiB, 4007624704 bytes, 7827392 sectors
Disk model: DataTraveler G2
here application of common sense is needed. disks normally start with sda , then sdb, sdc etc usually with hd's first. So my usb stick of circa 4gig called /dev/sdb is the one is need.
the code to run as root will be
# sh Ventoy2Disk.sh -i /dev/sdb
//but first we need to give it permission to run so before that we do
# chmod +x Ventoy2Disk.sh
you will get output such as data will be lost ,will eraze etc ..
when finished the label for the usb will change to "ventoy" also when you look inside its just a blank space.. what happened ? well the script did 2 things it set up 2 partitions ; one you can not see but does the heavy lifting when used and the blank area where you can drag and drop linux.iso
..go back to start and have another look at my 14 gig stick. When i power down hit
F9 to get boot menu i will see ventoy splash ,listing all iso's. By up and down keyboard arrows i can select any to boot. When i do that the stuff unseen in partition 2 does the magic
a work in progress...
1) ventoy
ventoy
├── KNOPPIX_V8.6-2019-08-08-EN.iso
├── System Volume Information
├── bionicpup64-8.0-uefi.iso
├── bodhi-5.1.0-64.iso
├── linuxmint-19.3-mate-64bit.iso
├── linuxmint-19.3-xfce-64bit.iso
├── lubuntu-18.04-alternate-i386.iso
├── rescatux-0.73.iso
└── slackware64-current-install-dvd.iso
the above is a"tree" view of whats on my 14+ gig usb stick . It might surprise some that there is a bunch of iso's and not only that that the iso's are in tact and in the same state as they were when downloaded .
How did i arrive at the above and whats going on ?
Well its the ventoy system
first lets see how to get it and use it from Linux
get download (latest release is 1.0.12) :
Releases · ventoy/Ventoy
A new bootable USB solution. Contribute to ventoy/Ventoy development by creating an account on GitHub.
github.com
get the tar.gz and navigate to where it is(probsbly /home/usr/downloads) :
open terminal
//go to downloads
bash-5.0$ cd /home/andrew/Downloads
bash-5.0$ ls --color
ventoy-1.0.12-linux.tar.gz
//move it to somewhere convenient maybe Desktop
mv ventoy-1.0.12-linux.tar.gz /home/andrew/Desktop/
//navigate to Desktop
bash-5.0$ cd ~/Desktop
//see if its there
$ ls --color
CI4.zip southend.jpg
ZAP_2.9.0 ventoy-1.0.12-linux.tar.gz
persistence.img ventoy-1.0.12-windows.zip
//now we unpack the tar.gz
$ tar -xzf ventoy-1.0.12-linux.tar.gz
with the new release we will now get :
ventoy-1.0.12
├── CreatePersistentImg.sh
├── Ventoy2Disk.sh
├── boot
├── tool
└── ventoy
now we navigate inside currently we are at :
bash-5.0$ pwd
/home/andrew/Desktop
$ cd ventoy-1.0.12
//confirm contents
bash-5.0$ ls --color
CreatePersistentImg.sh Ventoy2Disk.sh boot tool ventoy
Now we are going to use Ventoy2Disk.sh to format a usb stick. First detach everything from pc that might confuse; connect usb and get name:
$ su ->password->#
# fdisk -l
i got /dev/sda1
/dev/sda2
/dev/sda3
and ..
Disk /dev/sdb: 3.75 GiB, 4007624704 bytes, 7827392 sectors
Disk model: DataTraveler G2
here application of common sense is needed. disks normally start with sda , then sdb, sdc etc usually with hd's first. So my usb stick of circa 4gig called /dev/sdb is the one is need.
the code to run as root will be
# sh Ventoy2Disk.sh -i /dev/sdb
//but first we need to give it permission to run so before that we do
# chmod +x Ventoy2Disk.sh
you will get output such as data will be lost ,will eraze etc ..
when finished the label for the usb will change to "ventoy" also when you look inside its just a blank space.. what happened ? well the script did 2 things it set up 2 partitions ; one you can not see but does the heavy lifting when used and the blank area where you can drag and drop linux.iso
..go back to start and have another look at my 14 gig stick. When i power down hit
F9 to get boot menu i will see ventoy splash ,listing all iso's. By up and down keyboard arrows i can select any to boot. When i do that the stuff unseen in partition 2 does the magic
Last edited: