Powered by Blogger.
Showing posts with label Linux Kernel update. Show all posts
Showing posts with label Linux Kernel update. Show all posts

Linux Kernel Part II

Some notes from my study sessions.

Below notes describe the procedure to Configure, compile and install Linux Kernel ( this process is also called building Linux Kernel)

download the new kernel source from the redhat

make mrproper : execute a script make file
.config file, in usr/linux-2.4

take .config file and save it somewhere else

make mrproper : go through the source tree, to make sure all configs are in right order

after build, copy back the .config file into the /usr/linux-2.4/ directory
smart to at least have some base configurations

copy the config file back to the linux kernel directory

then run

make config [Enter] test based

make menuconfig [Enter] graphical

to use menuconfig, we need ncurses-devel- and ncureses4-* packages

make xconfig [Enter] , only required tck and tkl packages

make dep : to check the dependencies for us

make clean: will get the source for compilation

make bzimage : to install the kernel

make modules

make modules_install : install kernel modules

make install : will copy the kernel files to appropriate directories

check Makefile scripting detai