added clonezilla

This commit is contained in:
technik 2023-04-13 01:33:18 +00:00
parent a3f0309eab
commit 0530ba1edf
3 changed files with 57 additions and 16 deletions

View File

@ -4,6 +4,34 @@
WGET="-nv -nc"
echo "--- Clonezilla ---------------------------------------------------------------------"
echo "------------------------------------------------------------------------------------"
CZURL="https://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/3.0.3-22/clonezilla-live-3.0.3-22-amd64.iso/download"
FILENAME=clonezilla-64bit.iso
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading Clonezilla..."
wget $WGET -O ./temp/$FILENAME $CZURL
elif [ -e ./temp/$FILENAME ]; then
echo "Preparing Clonezilla..."
mkdir -p ${TFTP}/free/cz
7z x -o${TFTP}/free/cz ./temp/${FILENAME}
fi
echo "--- Rescuezilla --------------------------------------------------------------------"
echo "------------------------------------------------------------------------------------"
RZURL="https://github.com/rescuezilla/rescuezilla/releases/download/2.4.2/rescuezilla-2.4.2-64bit.jammy.iso"
FILENAME=rescuezilla-64bit.iso
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading Rescuezilla..."
wget $WGET -O ./temp/$FILENAME $RZURL
elif [ -e ./temp/$FILENAME ]; then
echo "Preparing Rescuezilla..."
mkdir -p ${TFTP}/free/rz
7z x -o${TFTP}/free/rz ./temp/${FILENAME}
fi
echo "--- Knoppix V9.1 ------------------------------------------------------------------"
echo "------------------------------------------------------------------------------------"
KNX9URL="http://ftp.uni-kl.de/pub/linux/knoppix-dvd/KNOPPIX_V9.1DVD-2021-01-25-DE.iso"
@ -12,7 +40,7 @@ FILENAME=KNOPPIX_V9.1DVD.iso
if ! [ -e ./temp/$FILENAME ]; then
echo "Downloading Knoppix..."
wget $WGET -O ./temp/$FILENAME $KNX9URL
else
elif [ -e ./temp/$FILENAME ]; then
echo "Preparing Knoppix..."
mkdir -p ${TFTP}/free/knx
7z x -o${TFTP}/free/knx ./temp/${FILENAME}

View File

@ -53,28 +53,23 @@ label -
MENU LABEL Backup & Restore: ----------------------
MENU DISABLE
LABEL rescue
MENU LABEL * Rescuezilla Live
kernel rescue/vmlinuz
APPEND initrd=rescue/initrd.lz netboot=nfs root=/dev/nfs ramdisk_size=1500000 ip=dhcp nfsroot=__NFSSERVERIP__:/srv/rescue boot=casper locale=de_DE keyboard-configuration/layoutcode=de bootkbd=de console-setup/layoutcode=de quiet
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
MENU BEGIN
MENU LABEL * Weitere Optionen...
LABEL rescue2
MENU LABEL * Rescuezilla Live Fail-Safe
kernel rescue/vmlinuz
APPEND initrd=rescue/initrd.lz netboot=nfs root=/dev/nfs ramdisk_size=1500000 ip=dhcp nfsroot=__NFSSERVERIP__:/srv/rescue boot=casper locale=de_DE keyboard-configuration/layoutcode=de bootkbd=de> xforcevesa nomodeset vga=791 quiet
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
LABEL clonei686
MENU LABEL * Clonezilla Live i686 (Ramdisk)
KERNEL clone/vmlinuz.i686
APPEND initrd=clone/initrd.i686.img boot=live username=user union=overlay config components noswap edd=on nomodeset nodmraid locales=de_DE.UTF-8 keyboard-layouts=de-latin-1 ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://__NFSSERVERIP__/clone/filesystem.i686.squashfs quiet
LABEL clonex64
MENU LABEL * Clonezilla Live x64 (Ramdisk)
KERNEL clone/vmlinuz.x64
APPEND initrd=clone/initrd.x64.img boot=live username=user union=overlay config components noswap edd=on nomodeset nodmraid locales=de_DE.UTF-8 keyboard-layouts=de-latin-1 ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://__NFSSERVERIP__/clone/filesystem.x64.squashfs quiet
LABEL cz
MENU LABEL * Clonezilla Live (Ramdisk)
KERNEL free/cz/live/vmlinuz
APPEND initrd=free/cz/live/initrd.img boot=live username=user union=overlay config components noswap edd=on nomodeset nodmraid locales=de_DE.UTF-8 keyboard-layouts=de-latin-1 ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=tftp://__NFSSERVERIP__/free/cz/live/filesystem.squashfs quiet
LABEL acr11
MENU LABEL * Acronis True Image Home 2011

18
runall.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
. ./settings.sh
# 1. install needed debian packages:
./install-debian-packages.sh
# 2. configure debian system
./configure-debian-system.sh
# 3. configure full system, copy some stuff (not the non-free...)
./config-full.sh
# 4. download free stuff (knoppix...)
./download-free.sh
# 5. setting open file access
chmod a+rwx ${TFTP}/ -R