|
@ -31,7 +31,6 @@ fi |
|
|
OS_FOR_16GB=" |
|
|
OS_FOR_16GB=" |
|
|
alpine-standard-3.16.2-x86_64.iso* |
|
|
alpine-standard-3.16.2-x86_64.iso* |
|
|
debian-11.5.0-amd64-netinst.iso* |
|
|
debian-11.5.0-amd64-netinst.iso* |
|
|
Fedora-Workstation-Live-x86_64-36-1.5.iso* |
|
|
|
|
|
guix-system-install-1.3.0.x86_64-linux.iso* |
|
|
guix-system-install-1.3.0.x86_64-linux.iso* |
|
|
manjaro-kde-21.3.7-220816-linux515.iso* |
|
|
manjaro-kde-21.3.7-220816-linux515.iso* |
|
|
netboot.xyz.iso* |
|
|
netboot.xyz.iso* |
|
@ -44,27 +43,25 @@ OS_FOR_16GB=" |
|
|
zdebian-firmware-11.5.0-amd64-netinst.iso* |
|
|
zdebian-firmware-11.5.0-amd64-netinst.iso* |
|
|
" |
|
|
" |
|
|
|
|
|
|
|
|
OS_FOR_32GB=" |
|
|
|
|
|
alpine-standard-3.16.2-x86_64.iso* |
|
|
|
|
|
debian-11.5.0-amd64-DVD-1.iso* |
|
|
|
|
|
debian-11.5.0-amd64-netinst.iso* |
|
|
|
|
|
devuan_chimaera_4.0.0_amd64_netinstall.iso* |
|
|
|
|
|
Fedora-Workstation-Live-x86_64-36-1.5.iso* |
|
|
|
|
|
guix-system-install-1.3.0.x86_64-linux.iso* |
|
|
|
|
|
manjaro-kde-21.3.7-220816-linux515.iso* |
|
|
|
|
|
netboot.xyz.img* |
|
|
|
|
|
netboot.xyz.iso* |
|
|
|
|
|
openwrt-22.03.2-x86-64-generic-ext4-combined.img* |
|
|
|
|
|
pop-os_22.04_amd64_intel_16.iso* |
|
|
|
|
|
proxmox-ve_7.2-1.iso* |
|
|
|
|
|
Qubes-R4.1.1-x86_64.iso* |
|
|
|
|
|
systemrescue-9.05-amd64.iso* |
|
|
|
|
|
tails-amd64-5.6.img* |
|
|
|
|
|
trisquel_10.0.1_amd64.iso* |
|
|
|
|
|
ubuntu-22.04.1-desktop-amd64.iso* |
|
|
|
|
|
LibreELEC-Generic.x86_64-10.0.3.img* |
|
|
|
|
|
zdebian-firmware-11.5.0-amd64-netinst.iso* |
|
|
|
|
|
|
|
|
OS_FOR_32GB_DEBIAN=" |
|
|
|
|
|
DEBIAN/debian-12.1.0-amd64-netinst.iso* |
|
|
|
|
|
DEBIAN/debian-12.1.0-amd64-DVD-1.iso* |
|
|
|
|
|
DEBIAN/debian-live-12.1.0-amd64-kde.iso* |
|
|
|
|
|
DEBIAN/debian-live-12.1.0-amd64-gnome.iso* |
|
|
" |
|
|
" |
|
|
|
|
|
OS_FOR_32GB_OTHER=" |
|
|
|
|
|
OTHER/yunohost-bullseye-11.0.9-amd64-stable.iso* |
|
|
|
|
|
OTHER/AV_Linux_MX_Edition-21.3_ahs_x64.iso* |
|
|
|
|
|
OTHER/netboot.xyz.img* |
|
|
|
|
|
OTHER/netboot.xyz.iso* |
|
|
|
|
|
OTHER/proxmox-ve_8.0-2.iso* |
|
|
|
|
|
OTHER/systemrescue-9.05-amd64.iso* |
|
|
|
|
|
OTHER/tails-amd64-5.16.img* |
|
|
|
|
|
OTHER/trisquel_11.0_amd64.iso* |
|
|
|
|
|
OTHER/ubuntu-22.04.1-desktop-amd64.iso* |
|
|
|
|
|
OTHER/devuan_daedalus_5.0.0_amd64_minimal-live.iso* |
|
|
|
|
|
OTHER/devuan_daedalus_5.0.0_amd64_desktop-live.iso* |
|
|
|
|
|
" |
|
|
|
|
|
|
|
|
RPi=" |
|
|
RPi=" |
|
|
2022-09-22-raspios-bullseye-arm64-lite.img.xz |
|
|
2022-09-22-raspios-bullseye-arm64-lite.img.xz |
|
@ -86,22 +83,26 @@ then |
|
|
else |
|
|
else |
|
|
$ventoy -i /dev/$usb -L MH-USB -I -g |
|
|
$ventoy -i /dev/$usb -L MH-USB -I -g |
|
|
sleep 20 |
|
|
sleep 20 |
|
|
OS=$OS_FOR_32GB |
|
|
|
|
|
|
|
|
OS_DEB=$OS_FOR_32GB_DEBIAN |
|
|
|
|
|
OS_OTH=$OS_FOR_32GB_OTHER |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
## Copy ISOs |
|
|
## Copy ISOs |
|
|
mkdir -p /mnt/mhusb/ |
|
|
mkdir -p /mnt/mhusb/ |
|
|
mount /dev/$part /mnt/mhusb |
|
|
mount /dev/$part /mnt/mhusb |
|
|
mkdir -p /mnt/mhusb/{OS,Tools} |
|
|
|
|
|
|
|
|
mkdir -p /mnt/mhusb/OS/DEBIAN |
|
|
|
|
|
mkdir -p /mnt/mhusb/OS/OTHER |
|
|
|
|
|
mkdir -p /mnt/mhusb/Tools |
|
|
|
|
|
|
|
|
cd MH-USB/OS/ |
|
|
cd MH-USB/OS/ |
|
|
time $rsync $OS /mnt/mhusb/OS/ |
|
|
|
|
|
|
|
|
time $rsync $OS_DEB /mnt/mhusb/OS/DEBIAN |
|
|
|
|
|
time $rsync $OS_OTH /mnt/mhusb/OS/OTHER |
|
|
|
|
|
|
|
|
cd ../Tools/ |
|
|
cd ../Tools/ |
|
|
time $rsync $TOOLS /mnt/mhusb/Tools/ |
|
|
time $rsync $TOOLS /mnt/mhusb/Tools/ |
|
|
|
|
|
|
|
|
cd ../ |
|
|
cd ../ |
|
|
time $rsync ventoy /mnt/mhusb |
|
|
|
|
|
|
|
|
time $rsync /home/vinay/mh/usb/MH-USB/ventoy /mnt/mhusb |
|
|
|
|
|
|
|
|
#if [ $size -eq 32 ] |
|
|
#if [ $size -eq 32 ] |
|
|
#then |
|
|
#then |
|
@ -111,3 +112,4 @@ time $rsync ventoy /mnt/mhusb |
|
|
#fi |
|
|
#fi |
|
|
|
|
|
|
|
|
echo "Done." |
|
|
echo "Done." |
|
|
|
|
|
|