Hi there,

I wrote two scripts to automate the remaster process: knoppix_extract.sh and knoppix_master.sh. By now, I wasn't able to run any of that created isos successfully
even if I took a plane knoppix iso as source and changed nothing in the root file system. The boot process breaks simultaneously when the boot message "Done. \n Starting init process." appears.

Your help would be appreciated. thx

p.s. already tried some other cd burner and cdr media.

knoppix_extract.sh
Code:
#!/bin/bash
#
# extracts the knoppix_fs, mounts it and makes a copy to /home/<user>/knoppix/root
#
#
cd /home/<user>
sudo -u root mount -o loop /home/<user>/20gig/iso/knoppix.iso /mnt/knoppix
cp -a /mnt/knoppix/* /home/shoenig/knoppix/iso_edit

cd /home<user>/knoppix
/usr/sbin/extract_compressed_fs iso_edit/KNOPPIX/KNOPPIX > knoppix_root.iso
sudo -u root mount -o loop knoppix_root.iso /mnt/knoppix_root
cp -a /mnt/knoppix_root/* /home/<user>/knoppix/root/

sudo -u root umount /mnt/knoppix_root
sudo -u root umount /mnt/knoppix
knoppix_master.sh
Code:
#!/bin/bash
#
# masters the whole KNOPPIX-LiveCD
#
#
cd /home/<user>/knoppix
mkisofs -R -hide-rr-moved root | /usr/sbin/create_compressed_fs - 65536 > iso_edit/KNOPPIX/KNOPPIX
cd iso_edit
mkisofs -r -J -o /home/<user>/20gig/iso/knoppix_lucy_`date +%Y%m%d`.iso \
	-b boot/isolinux/isolinux.bin \
	-c boot/isolinux/boot.cat \
	-no-emul-boot \
	-boot-load-size 4 \
	-boot-info-table \
	.
rm -rf /home/<user>/knoppix/root/*
rm -rf /home/<user>/knoppix/iso_edit/*