Create squashfs

#!/bin/bash
 
mount -t squashfs /cdrom/KANOTIX/KANOTIX /mnt/ -o loop
cp -a * /root/KANOTIX/
rm -rf 2.6.24-3-kanotix
cp -a /lib/modules/2.6.24-3-kanotix/ /root/KANOTIX/lib/modules/
umount /mnt
mksquashfs * ../KANOTIX.squa