Skip to main content

Posts

Showing posts from April, 2014

Compiling and Building Linux kernel with your Name

1. Download the latest stable kernel  from https://www.kernel.org/ or clone from git repository [root@localhost linux]# cd /usr/src [root@localhost linux]# git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2. Move to the cloned repository if you cloned using git [root@localhost linux]# cd /usr/src/linux or extract the tar ball if you have downloaded from kernel.org [root@localhost linux]# tar -xf linux-3.15-rc1.tar.xz -C /usr/src 3. Install the Development tools [root@localhost linux]# yum install gcc ncurses-devel  4. Configure the kernel before compiling the kernel you need to configure the kernel with different tools xconfig,gconfig,menuconfig,nconfig. menuconfig and nconfig needs ncurses-devel to be installed. [root@localhost linux]# make menuconfig select the configurations based on your hardware and save.It will create .config file in current directory. 5. open the Make f