If using same source as current kernel, modify EXTRAVERSION in Makefile
Consider renaming .config to .configBAC
make menuconfig (create .config file)
Consider renaming .config to .configBAC
make menuconfig (create .config file)
make dep (2.4.x kernels)
make clean (possibly run this before previous step)
make bzImage (makes the kernel in arch/i386/boot/bzImage)
make modules
make modules_install (copies modules to /lib/modules/kernelVersion)
cp /usr/'Linux_kernel_source'/src/arch/i386/boot/bzImage /boot/newkernel (make install does this)
make install (not using, I don't think)
cp /System.map /boot/System.map-kernelVersion
Add the following to /etc/lilo.conf
image = /boot/vmlinux-kernelVersion
root = /dev/hda2 (or whichever partition the / filesystem resides)
label = kernelVersion
read-only
cp /System.map /boot/System.map-kernelVersion
Add the following to /etc/lilo.conf
image = /boot/vmlinux-kernelVersion
root = /dev/hda2 (or whichever partition the / filesystem resides)
label = kernelVersion
read-only
http://kernelnewbies.org/FAQ/KernelCompilation
No comments:
Post a Comment
Note: only a member of this blog may post a comment.