KernelBuilder is a User Mode Linux image that will build Debian kernel packages for you. This is very useful if you want to compile Debian packages on some other distribution, or if you want to compile packages without having all the dependencies on your system. All you need installed is User Mode Linux.
Downloads: UML image (29.4 MB) | kernel builder script
tar --sparse -xvjf kernelbuilder.tar.bz2kernelbuilder.ext2 disk image somewhere..tar, .tar.gz, or .tar.bz2). Put a configuration file in this same directory, with the name config.kernelbuild-defaults in this directory and modify it, if needed. For example, to build module packages, you need to edit this file.linux mem=128M ubd0=out.cow,kernelbuilder.ext2 con=null hostfs=DIRECTORYThe image will boot and start building. Its output is logged to buildlog. If it hangs, it is probably because the script asked for input. Take a look at buildlog, fix the problem, and restart.
Once it is done, it will produce the .deb packages and quit. You can now delete out.cow and buildlog.