Convert Knoppix to (almost) pure Debian

It is just a dirty personal memo...
Knoppix is easy to test Debian based linux system, especially for laptops with rather new and not standard peripherials. Moreover, you can easily install it to the hard disk (k2hd). Now the interest is that how to convert the installed Knoppix system in the hard drive to the (almost) pure Debian system.
This memo is based on my work log of the task. Therefore many things must be missing. Just use this as hints.
Fix /etc/apt/*.
remove (purge) knoppix things
knoppix's sysvinit has a conflict with debian's.
get debian's sysvinit files (not deb, since dpkg will not work after knoppix'x sysvinit is once removed)
remove knoppix's sysvinit
extract debian's svsvinit files
reinstall debian's sysvinit
install sysv-rc
activate hdparm at boot, if your drive can use DMA
fix /etc/gtk/gtkrc and /etc/gtk-2.0/gtkrc for your favorites
in knoppix, usb key memory is recognized as ub device.
IMPORTANT: /etc/network/run/ifstate
This file must be cleaned up at boot, but it is not in Knoppix,
since it is cd boot system. Create a symlink of /etc/init.d/ifupdown-clear to /etc/rcS.d/S39-ifupdown-clear. Otherwise, lo device is not activated even if you type ifup lo, and it causes lots of problems, such as stuck at portmap, etc.etc...
/etc/defaults/gdm has LANG configuration de_DE@euro... Remove it.
libpaper1(or libpaper*) to specify the default paper size