diff --git a/download-free.sh b/download-free.sh index 139de9c..2e433aa 100755 --- a/download-free.sh +++ b/download-free.sh @@ -3,6 +3,21 @@ . ./settings.sh WGET="-nv -nc" +Z7="-aos" + +echo "--- FreeDOS -- ---------------------------------------------------------------------" +echo "------------------------------------------------------------------------------------" +CZURL="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/FD13-LiveCD.zip" +FILENAME=fdfullcd.zip + +if ! [ -e ./temp/$FILENAME ]; then + echo "Downloading FreeDOS..." + wget $WGET -O ./temp/$FILENAME $CZURL +fi +if [ -e ./temp/$FILENAME ]; then + echo "Preparing FreeDOS..." + 7z x $Z7 -o${TFTP}/free ./temp/${FILENAME} +fi echo "--- Clonezilla ---------------------------------------------------------------------" echo "------------------------------------------------------------------------------------" @@ -12,10 +27,11 @@ FILENAME=clonezilla-64bit.iso if ! [ -e ./temp/$FILENAME ]; then echo "Downloading Clonezilla..." wget $WGET -O ./temp/$FILENAME $CZURL -elif [ -e ./temp/$FILENAME ]; then +fi +if [ -e ./temp/$FILENAME ]; then echo "Preparing Clonezilla..." mkdir -p ${TFTP}/free/cz - 7z x -o${TFTP}/free/cz ./temp/${FILENAME} + 7z x $Z7 -o${TFTP}/free/cz ./temp/${FILENAME} fi echo "--- Rescuezilla --------------------------------------------------------------------" @@ -26,10 +42,11 @@ FILENAME=rescuezilla-64bit.iso if ! [ -e ./temp/$FILENAME ]; then echo "Downloading Rescuezilla..." wget $WGET -O ./temp/$FILENAME $RZURL -elif [ -e ./temp/$FILENAME ]; then +fi +if [ -e ./temp/$FILENAME ]; then echo "Preparing Rescuezilla..." mkdir -p ${TFTP}/free/rz - 7z x -o${TFTP}/free/rz ./temp/${FILENAME} + 7z x $Z7 -o${TFTP}/free/rz ./temp/${FILENAME} fi echo "--- Knoppix V9.1 ------------------------------------------------------------------" @@ -40,10 +57,11 @@ FILENAME=KNOPPIX_V9.1DVD.iso if ! [ -e ./temp/$FILENAME ]; then echo "Downloading Knoppix..." wget $WGET -O ./temp/$FILENAME $KNX9URL -elif [ -e ./temp/$FILENAME ]; then +fi +if [ -e ./temp/$FILENAME ]; then echo "Preparing Knoppix..." mkdir -p ${TFTP}/free/knx - 7z x -o${TFTP}/free/knx ./temp/${FILENAME} + 7z x $Z7 -o${TFTP}/free/knx ./temp/${FILENAME} cp ./resources/knx-miniroot.gz ${TFTP}/free/knx/boot/isolinux/miniroot.gz fi @@ -61,7 +79,8 @@ do if ! [ -e ./temp/${FILENAME} ]; then echo "Downloading Debian installer ${DIST}/${ARCH}..." wget $WGET -O ./temp/${FILENAME} $DEBURL - else + fi + if [ -e ./temp/${FILENAME} ]; then echo "Create directory in ${TFTP}/free/deb-${DIST}..." mkdir -p ${TFTP}/free/deb-${DIST} echo "Unpacking files..." diff --git a/resources/default-full b/resources/default-full index ed9517b..fbe6eea 100644 --- a/resources/default-full +++ b/resources/default-full @@ -56,7 +56,7 @@ label - LABEL rescue MENU LABEL * Rescuezilla Live kernel free/rz/casper/vmlinuz - APPEND initrd=free/rz/casper/initrd.lz netboot=nfs root=/dev/nfs ramdisk_size=1500000 ip=dhcp nfsroot=192.168.75.3:/srv/tftp/free/rz/ boot=casper locale=de_DE keyboard-configuration/layoutcode=de bootkbd=de console-setup/layoutcode=de quiet + APPEND initrd=free/rz/casper/initrd.lz netboot=nfs root=/dev/nfs ramdisk_size=1500000 ip=dhcp nfsroot=__NFSSERVERIP__:/srv/tftp/free/rz/ boot=casper locale=de_DE keyboard-configuration/layoutcode=de bootkbd=de console-setup/layoutcode=de quiet MENU BEGIN MENU LABEL * Weitere Optionen... @@ -64,7 +64,7 @@ MENU BEGIN LABEL rescue2 MENU LABEL * Rescuezilla Live Fail-Safe kernel free/rz/casper/vmlinuz - APPEND initrd=free/rz/casper/initrd.lz netboot=nfs root=/dev/nfs ramdisk_size=1500000 ip=dhcp nfsroot=192.168.75.3:/srv/tftp/free/rz/ boot=casper locale=de_DE keyboard-configuration/layoutcode=de bootkbd=de console-setup/layoutcode=de xforcevesa nomodeset vga=791 quiet + APPEND initrd=free/rz/casper/initrd.lz netboot=nfs root=/dev/nfs ramdisk_size=1500000 ip=dhcp nfsroot=__NFSSERVERIP__:/srv/tftp/free/rz/ boot=casper locale=de_DE keyboard-configuration/layoutcode=de bootkbd=de console-setup/layoutcode=de xforcevesa nomodeset vga=791 quiet LABEL cz MENU LABEL * Clonezilla Live (Ramdisk) @@ -154,6 +154,15 @@ MENU BEGIN MENU LABEL * Memtest86 kernel free/memtest86 + LABEL fdos + MENU LABEL * iPXE FreeDOS Live-CD + KERNEL ipxe.lkrn dhcp && sanboot http://__NFSSERVERIP__/free/FD13LIVE.iso + + LABEL fdos + MENU LABEL * FreeDOS Bootdisk + KERNEL memdisk + APPEND initrd=free/FD13BOOT.img + label win98 MENU LABEL * Windows 98 Bootdisk (DOS 7) kernel memdisk