The custom kernel howto should cover what you want to do. You should find the default config for the 2.6 kernel in /boot/