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
make dep
make clean
make zImage vs make BzImage
make modules
make modules_install
make install
lilo
ldd
ldconfig and /etc/ld.so.conf
depmod -a and the file modules.dep (which is not in /etc)
insmod and modprobe, with modules.conf (which IS in /etc)
mkbootdisk
mkbootdisk --device /boot/newkern.iso --iso 2.4.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.4,
and on whitebox, end with .EL)
|