corrections...
This commit is contained in:
parent
bfefe2ef37
commit
a3f0309eab
@ -2,16 +2,44 @@
|
|||||||
|
|
||||||
. ./settings.sh
|
. ./settings.sh
|
||||||
|
|
||||||
# --- Debian 11 Installer
|
WGET="-nv -nc"
|
||||||
DIST="bullseye"
|
|
||||||
|
echo "--- Knoppix V9.1 ------------------------------------------------------------------"
|
||||||
|
echo "------------------------------------------------------------------------------------"
|
||||||
|
KNX9URL="http://ftp.uni-kl.de/pub/linux/knoppix-dvd/KNOPPIX_V9.1DVD-2021-01-25-DE.iso"
|
||||||
|
FILENAME=KNOPPIX_V9.1DVD.iso
|
||||||
|
|
||||||
|
if ! [ -e ./temp/$FILENAME ]; then
|
||||||
|
echo "Downloading Knoppix..."
|
||||||
|
wget $WGET -O ./temp/$FILENAME $KNX9URL
|
||||||
|
else
|
||||||
|
echo "Preparing Knoppix..."
|
||||||
|
mkdir -p ${TFTP}/free/knx
|
||||||
|
7z x -o${TFTP}/free/knx ./temp/${FILENAME}
|
||||||
|
cp ./resources/knx-miniroot.gz ${TFTP}/free/knx/boot/isolinux/miniroot.gz
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "--- Debian Installer ---------------------------------------------------------------"
|
||||||
|
echo "------------------------------------------------------------------------------------"
|
||||||
|
DISTS="bullseye bookworm"
|
||||||
ARCHS="amd64 i386"
|
ARCHS="amd64 i386"
|
||||||
for ARCH in ${ARCHS};
|
|
||||||
|
for DIST in $DISTS;
|
||||||
do
|
do
|
||||||
|
for ARCH in ${ARCHS};
|
||||||
|
do
|
||||||
DEBURL="https://deb.debian.org/debian/dists/${DIST}/main/installer-${ARCH}/current/images/netboot/netboot.tar.gz"
|
DEBURL="https://deb.debian.org/debian/dists/${DIST}/main/installer-${ARCH}/current/images/netboot/netboot.tar.gz"
|
||||||
wget -nc -O ./temp/netboot-${ARCH}.tar.gz $DEBURL
|
FILENAME="netboot-${DIST}-${ARCH}.tar.gz"
|
||||||
if [ -e ./temp/netboot-${ARCH}.tar.gz ]; then
|
if ! [ -e ./temp/${FILENAME} ]; then
|
||||||
mkdir -p ${TFTP}/free/deb
|
echo "Downloading Debian installer ${DIST}/${ARCH}..."
|
||||||
tar xfvzC ./temp/netboot-${ARCH}.tar.gz ${TFTP}/free/deb
|
wget $WGET -O ./temp/${FILENAME} $DEBURL
|
||||||
|
else
|
||||||
|
echo "Create directory in ${TFTP}/free/deb-${DIST}..."
|
||||||
|
mkdir -p ${TFTP}/free/deb-${DIST}
|
||||||
|
echo "Unpacking files..."
|
||||||
|
tar xfzC ./temp/${FILENAME} ${TFTP}/free/deb-${DIST}
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
chmod a+rwx ${TFTP}/ -R
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apt install -y git tftpd-hpa nfs-kernel-server lighttpd ipxe pxelinux syslinux syslinux-common sudo
|
apt install -y git tftpd-hpa nfs-kernel-server lighttpd ipxe pxelinux syslinux syslinux-common sudo p7zip p7zip-full
|
||||||
|
@ -17,18 +17,18 @@ label -
|
|||||||
MENU LABEL Live-Systeme: --------------------------
|
MENU LABEL Live-Systeme: --------------------------
|
||||||
MENU DISABLE
|
MENU DISABLE
|
||||||
|
|
||||||
LABEL knx9g
|
LABEL knx
|
||||||
MENU LABEL * Knoppix 9.1 Live, Grafisch
|
MENU LABEL * Knoppix 9.1 Live, Grafisch, 32Bit
|
||||||
KERNEL knx9/linux
|
KERNEL free/knx/boot/isolinux/linux
|
||||||
APPEND nfsdir=__NFSSERVERIP__:/srv/knx9 nodhcp lang=de ramdisk_size=100000 init=/sbin/init apm=power-off nomce loglevel=1 initrd=knx9/miniroot.gz libata.force=noncq tz=localtime hpsa.hpsa_allow_any=1 hpsa.hpsa_allow_any=1 BOOT_IMAGE=knoppix
|
APPEND nfsdir=__NFSSERVERIP__:/srv/tftp/free/knx nodhcp lang=de ramdisk_size=100000 init=/sbin/init apm=power-off nomce loglevel=1 initrd=free/knx/boot/isolinux/miniroot.gz libata.force=noncq tz=europe/Berlin hpsa.hpsa_allow_any=1 BOOT_IMAGE=knoppix
|
||||||
|
|
||||||
MENU BEGIN
|
MENU BEGIN
|
||||||
MENU LABEL * Weitere Optionen...
|
MENU LABEL * Weitere Optionen...
|
||||||
|
|
||||||
LABEL knx9t
|
LABEL knx
|
||||||
MENU LABEL * Knoppix 9.1 Live, Textmode
|
MENU LABEL * Knoppix 9.1 Live, Textmodus, 32Bit
|
||||||
KERNEL knx9/linux
|
KERNEL free/knx/boot/isolinux/linux
|
||||||
APPEND nfsdir=__NFSSERVERIP__:/srv/knx9 nodhcp lang=de ramdisk_size=100000 init=/sbin/init apm=power-off nomce loglevel=1 initrd=knx9/miniroot.gz libata.force=noncq tz=localtime hpsa.hpsa_allow_any=1 hpsa.hpsa_allow_any=1 BOOT_IMAGE=knoppix 2
|
APPEND nfsdir=__NFSSERVERIP__:/srv/tftp/free/knx nodhcp lang=de ramdisk_size=100000 init=/sbin/init apm=power-off nomce loglevel=1 initrd=free/knx/boot/isolinux/miniroot.gz libata.force=noncq tz=Europe/Berlin hpsa.hpsa_allow_any=1 BOOT_IMAGE=knoppix 2
|
||||||
|
|
||||||
LABEL slitazfull
|
LABEL slitazfull
|
||||||
MENU LABEL * Slitaz Linux Live, Grafisch
|
MENU LABEL * Slitaz Linux Live, Grafisch
|
||||||
@ -105,19 +105,23 @@ label -
|
|||||||
MENU BEGIN
|
MENU BEGIN
|
||||||
MENU LABEL * Debian Installer...
|
MENU LABEL * Debian Installer...
|
||||||
|
|
||||||
LABEL deb
|
LABEL deb12
|
||||||
menu label * Debian 12 Installer 64Bit Textmodus
|
MENU LABEL * Debian 12 Installer 64Bit Textmodus
|
||||||
kernel deb/linux
|
CONFIG free/deb-bookworm/debian-installer/amd64/pxelinux.cfg/default
|
||||||
append vga=788 initrd=deb/initrd.gz --- quiet
|
APPEND free/deb-bookworm/
|
||||||
|
LABEL deb12
|
||||||
|
MENU LABEL * Debian 12 Installer 32Bit Textmodus
|
||||||
|
CONFIG free/deb-bookworm/debian-installer/i386/pxelinux.cfg/default
|
||||||
|
APPEND free/deb-bookworm/
|
||||||
|
|
||||||
LABEL deb64
|
LABEL deb11
|
||||||
MENU LABEL * Debian 11 Installer 64Bit Textmodus
|
MENU LABEL * Debian 11 Installer 64Bit Textmodus
|
||||||
CONFIG deb/debian-installer/amd64/pxelinux.cfg/default
|
CONFIG free/deb-bullseye/debian-installer/amd64/pxelinux.cfg/default
|
||||||
APPEND deb/
|
APPEND free/deb-bullseye/
|
||||||
LABEL deb32
|
LABEL deb11
|
||||||
MENU LABEL * Debian 11 Installer 32Bit Textmodus
|
MENU LABEL * Debian 11 Installer 32Bit Textmodus
|
||||||
CONFIG deb/debian-installer/i386/pxelinux.cfg/default
|
CONFIG free/deb-bullseye/debian-installer/i386/pxelinux.cfg/default
|
||||||
APPEND deb/
|
APPEND free/deb-bullseye/
|
||||||
|
|
||||||
LABEL zurueck...
|
LABEL zurueck...
|
||||||
MENU EXIT
|
MENU EXIT
|
||||||
|
BIN
resources/knx-miniroot.gz
Normal file
BIN
resources/knx-miniroot.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user