![]() |
N2100 Building a new KernelDownload the latest kernel from http://www.kernel.org, or patch a kernel tree with the latest patches. You can use 'ketchup' which downloads and applies the patches automatically. For the kernel kernel sourcetree:
For the initramfs
Be patient! Unless your kernel is stripped down to the absolute minimum you should expect a clean build to take four hours. You can also use an installkernel script, to automate the kernel image copy and run update-initramfs. This will avoid mistakes like omitting the vital -c option. Create a script called installkernel and place it in your ~/bin. The script will receive four arguments:
In the script you can copy the kernel binary to /boot, run update-initramfs and possibly copy the files over to your tftp server ready for a network boot. Page last modified on July 16, 2007, at 09:05 AM
|