|
Search:
Advanced search
|
Browse by category:
|
How to build a custom kernel (short version) |
|||||
Kernel Upgrade: (Short Version) - Make sure you have no stale .o files and dependencies lying around: cd linux make mrproper You should now have the sources correctly installed. "make menuconfig" Text based color menus, radiolists & dialogs. "make xconfig" X windows based configuration tool. - Finally, do a "make dep" to set up all the dependencies correctly. - Do a "make bzImage" to create a compressed kernel image. - If you configured any of the parts of the kernel as `modules', you will have to do "make modules" followed by "make modules_install". - In order to boot your new kernel, you'll need to copy the kernel image (found in .../linux/arch/i386/boot/bzImage after compilation) to the place where your regular bootable kernel is found. If you boot Linux from the hard drive, chances are you use LILO which uses the kernel image as specified in the file /etc/lilo.conf. The kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or /boot/bzImage. To use the new kernel, save a copy of the old image and copy the new image over the old one. Then, you MUST RERUN LILO to update the loading map!! If you don't, you won't be able to boot the new kernel image. |
|||||