Check out section 1.5 of the knoppix remastering howto here: http://www.knoppix.net/wiki/Knoppix_...up_script_text

I haven't done it yet, but it seems fairly simple.