It would be easier to name your script knoppix.sh and adding it to your /KNOPPIX folder on the cd, where it will be automatically executed.
I am trying to run two commands at startup on my remastered CD. I created a script in /etc/init.d named ARIstartup:
I then created a link to this called /etc/rc5.d/S99ARIstartup.Code:sudo mount /mnt/hda1 sudo cupsd
When I boot the system it starts Runlevel: 5 and gets to Starting X11.....
then displays the following messages:
Retrying with Server XFree86(vesa) .
Retrying with Server XFree86(fbdev) .
Error: No suitable X-Server found for your card.
The system has run fine before this script was executed. In fact all I did was change the permissions so the script could run, because it was skipping the script without execute permissions.
I am running this script because I need the hda1 to be mounted with rw permissions and I need print services.
Any help either working around this script or fixing it wouold be greatly appreciated.
Update:
This was not caused by the rc5.d script. The script works fine. There was a problem building the isofs. Problem solved.
It would be easier to name your script knoppix.sh and adding it to your /KNOPPIX folder on the cd, where it will be automatically executed.

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)
$10.00
KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99
KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$20.85
VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.57
$8.00
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$21.42
$7.00
Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$33.72