Kernel ReCompiling 
 
The following commands/programs will be used/discussed this week:
 
make 
cd /usr/src/linux/ (or /usr/src/linux-2.x.x) 
make mrproper 
make config vs. make menuconfig (gconfig and xconfig don't work ?) 
patch -p0 
diff and colordiff (yum install colordiff) 
make dep 
make clean 
make zImage vs make BzImage 
make modules 
make modules_install 
make install 
lilo 
grub 
ldd 
ldconfig and /etc/ld.so.conf 
depmod -a and the file modprobe.dep (which is not in /etc) 
insmod and modprobe, with modules.conf (which IS in /etc)
 mkbootdisk 
mkbootdisk --device /boot/newkern.iso --iso 2.6.xxxx.EL 
(Make sure you get the FULL kernel version number from the /boot 
directory, which is the part AFTER vmlinux-   and should start with 2.6, 
and on Centos, end with .el5) 
 
  |