#!/bin/bash # make USB stick with OS for PINN install # this file must be in root of stick and executable # even start sudo bash ./PINN_OS.sh # or # https://askubuntu.com/questions/23128/how-do-i-execute-a-file-from-a-fat-usb-drive # umount /dev/sda1 # mount -o umask=000 -t vfat /dev/sda1 /media/sda1 # 2 # using the NOOBS LIST mkdir os cd os mkdir LibreELEC_RPi2 cd LibreELEC_RPi2 wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/LibreELEC_RPi2.png wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/marketing.tar wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/os.json wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/partition_setup.sh wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/partitions.json wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/LibreELEC_RPi2_System.tar.xz wget -N http://releases.libreelec.tv/noobs/LibreELEC_RPi2/LibreELEC_RPi2_Storage.tar.xz cd .. mkdir Raspbian_Lite cd Raspbian_Lite wget -N http://downloads.raspberrypi.org/raspbian_lite/Raspbian_Lite.png wget -N http://downloads.raspberrypi.org/raspbian_lite/marketing.tar wget -N http://downloads.raspberrypi.org/raspbian_lite/os.json wget -N http://downloads.raspberrypi.org/raspbian_lite/partition_setup.sh wget -N http://downloads.raspberrypi.org/raspbian_lite/partitions.json wget -N http://downloads.raspberrypi.org/raspbian_lite/boot.tar.xz wget -N http://downloads.raspberrypi.org/raspbian_lite/root.tar.xz cd .. mkdir Raspbian cd Raspbian wget -N http://downloads.raspberrypi.org/raspbian/Raspbian.png wget -N http://downloads.raspberrypi.org/raspbian/marketing.tar wget -N http://downloads.raspberrypi.org/raspbian/os.json wget -N http://downloads.raspberrypi.org/raspbian/partition_setup.sh wget -N http://downloads.raspberrypi.org/raspbian/partitions.json wget -N http://downloads.raspberrypi.org/raspbian/boot.tar.xz wget -N http://downloads.raspberrypi.org/raspbian/root.tar.xz cd .. mkdir Data_Partition cd Data_Partition wget -N http://downloads.raspberrypi.org/data_partition/Data_Partition.png wget -N http://downloads.raspberrypi.org/data_partition/os.json wget -N http://downloads.raspberrypi.org/data_partition/partitions.json wget -N http://downloads.raspberrypi.org/data_partition/data.tar.xz cd .. mkdir OSMC_Pi2 cd OSMC_Pi2 wget -N http://download.osmc.tv/installers/noobs/NOOBS-Logo-2.png wget -N http://download.osmc.tv/installers/noobs/marketing.tar wget -N http://download.osmc.tv/installers/noobs/os-pi2.json wget -N http://download.osmc.tv/installers/noobs/partition_setup.sh wget -N http://download.osmc.tv/installers/noobs/partitions-pi2.json wget -N http://download.osmc.tv/installers/noobs/boot-rbp2.tar.xz wget -N http://download.osmc.tv/installers/noobs/root-rbp2.tar.xz cd .. mkdir recalboxOS-rpi3 cd recalboxOS-rpi3 wget -N https://archive.recalbox.com/noobs/recalboxOS.png wget -N https://archive.recalbox.com/noobs/marketing.tar wget -N https://archive.recalbox.com/noobs/rpi3/os.json wget -N https://archive.recalbox.com/noobs/partition_setup.sh wget -N https://archive.recalbox.com/noobs/partitions.json wget -N https://archive.recalbox.com/updates/v1.0/stable/rpi3/boot.tar.xz wget -N https://archive.recalbox.com/updates/v1.0/stable/rpi3/root.tar.xz cd .. mkdir Screenly cd Screenly wget -N https://releases.screenlyapp.com/NOOBS/Screenly_OSE.png wget -N http://releases.screenlyapp.com/NOOBS/marketing.tar wget -N https://releases.screenlyapp.com/NOOBS/os.json wget -N https://releases.screenlyapp.com/NOOBS/partition_setup.sh wget -N https://releases.screenlyapp.com/NOOBS/partitions.json wget -N https://releases.screenlyapp.com/NOOBS/boot.tar.xz wget -N https://releases.screenlyapp.com/NOOBS/root.tar.xz cd .. mkdir Windows_10_IoT_Core cd Windows_10_IoT_Core wget -N https://iottools.blob.core.windows.net/win10iotnoobs/Windows_IoT.png wget -N https://iottools.blob.core.windows.net/win10iotnoobs/marketing.tar wget -N https://iottools.blob.core.windows.net/win10iotnoobs/os.json wget -N https://iottools.blob.core.windows.net/win10iotnoobs/partitions.json wget -N https://iottools.blob.core.windows.net/win10iotnoobs/partition_setup.sh wget -N https://iottools.blob.core.windows.net/win10iotnoobs/scratch.tar.xz cd .. mkdir TLXOS cd TLXOS wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/TLXOS.png wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/marketing.tar wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/os.json wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/partition_setup.sh wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/partitions.json wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/boot.tar.xz wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/tfm.tar.xz wget -N http://rpi.thinlinx.com/NOOBS/TLX_RPi/root.tar.xz cd .. # noobs OSs (RPI3) 2.5G # now add matthuisman/pinn-os mkdir batocera_RPi3 cd batocera_RPi3 wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/batocera/os.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/batocera/partitions.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/batocera/partition_setup.sh wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/batocera/batocera.png wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/batocera/marketing.tar wget -N http://batocera-linux.xorhub.com/upgrades/rpi3/stable/last/boot.tar.xz cd .. mkdir Kano_OS cd Kano_OS wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Kano_OS/os.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Kano_OS/partitions.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Kano_OS/partition_setup.sh wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Kano_OS/Kano_OS.png wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Kano_OS/marketing.tar wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/Kano_OS/boot.tar.xz wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/Kano_OS/root.tar.xz cd .. mkdir RasPlex_RPi2 cd RasPlex_RPi2 wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RasPlex_RPi2/os.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RasPlex_RPi2/partitions.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RasPlex_RPi2/partition_setup.sh wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RasPlex_RPi2/RasPlex_RPi2.png wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RasPlex_RPi2/marketing.tar wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/RasPlex_RPi2/RasPlex_RPi2_System.tar.xz wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/RasPlex_RPi2/RasPlex_RPi2_Storage.tar.xz cd .. mkdir Pi_MusicBox cd Pi_MusicBox wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Pi_MusicBox/os.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Pi_MusicBox/partitions.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Pi_MusicBox/partition_setup.sh wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Pi_MusicBox/Pi_MusicBox.png wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/Pi_MusicBox/marketing.tar wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/Pi_MusicBox/pmb_boot.tar.xz wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/Pi_MusicBox/pmb_root.tar.xz cd .. mkdir RetroX_Frambu cd RetroX_Frambu wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RetroX_Frambu/os.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RetroX_Frambu/partitions.json wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RetroX_Frambu/partition_setup.sh wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RetroX_Frambu/RetroX_Frambu.png wget -N http://raw.githubusercontent.com/matthuisman/pinn-os/master/os/RetroX_Frambu/marketing.tar wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/RetroX_Frambu/boot.tar.xz wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/RetroX_Frambu/system.img.gz wget -N http://downloads.sourceforge.net/project/pinn-matthuisman/os/RetroX_Frambu/userdata.tar.xz cd .. # total 4.3G