Boot up with your cd and use the necessary "cheat-codes" to get X running as you want it, then mount your hd read/write and save the knoppix created /etc/X11/XFC86Config-4 file to your hd in etc/X11, then when you boot up your hd you will have the same XF86Config-4 file on your system as when you boot with the cd and proper cheat-codes.

Note: many of the knoppix cheatcodes are for knoppix hardware detection and setup and are not kernel parameters so you can't pass them to the kernel with lilo.

HTH

~rock