. $config
askyes "inner-extract" "Extract the inner knoppix iso"

mkdir $knxmnt || true
mount -r -o loop $tmpiso $knxmnt
rm -rf $newtree || true
mkdir -p $newtree 
cd $newtree
echo "Creating directory $newtree and copying KNOPPIX content..."
tar -C $knxmnt -cf - . | tar -C $newtree -xf -
umount $knxmnt
rmdir $knxmnt
