0
Linux Kernel 3.11.6 Stable version Released last month 18th. Check the announcement HERE.  So now i'm gonna to say about installing kernel 3.11.6 in your machine. If you are using older version, just follow this tutorial to update it.


Step 1 : Before installing kernel 3.11.6 , you need to install following tools in your machine.

--> gcc 
--> ncurses development package

Open your terminal by Accessories -> Terminal or CTRL+ALT+T

Now copy the below command and paste into the terminal to install the above two packages, if these are not existing in your machine.

sudo apt-get install gcc libncurses5-dev

Step 2 : To install/update to kernel 3.11.6 you must be keep your system packages are up-to date. To update it, enter the following command in your terminal.

sudo apt-get update && sudo apt-get upgrade


Step 3 : Download the Linux Kernel 3.11.6

Click below to download it.


https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.11.6.tar.xz



Download page : http://kernel.org/


Step 4 : After downloaded the package, set the current path as Downloads from home directory.  To do this

cd Downloads

Step 5 : Now extract the downloaded tar.gz file

 sudo tar -xvf linux-3.11.6.tar.xz -C /usr/src/

Step 6 : Then move to /usr/src/linux-3.11.6/ directory in your terminal

cd /usr/src/linux-3.11.6/


Step 7 : Before start to install the kernel 3.11.6 , you have to configure it. To configure the setup, copy the below command and paste in to your terminal.

sudo make menuconfig

It will open a pop up window to ask you to configure the setup.  Just find out the File Systems in the list and check out whether the ext4 is selected. If not then, set file system as ext4. Leave the other settings as default.

If you like to use existing configuration, then enter the following command in your terminal.

sudo make oldconfig

Step 8 : Now install the kernel 3.11.6 by

sudo make modules_install install

This command will create some files under /boot/ directory in your machine. Check whether your process is in correct way or not.

 To check, find the following files is in under /boot/ director

--> system.map-3.11.6
--> vmlinuz-3.11.6
--> initrd.img-3.11.6
--> config-3.11.6


If you are not find initrd.img-3.11.6 file then create it by

 sudo update-initramfs -u -k 3.11.6

Step 9 : After created initrd update  / generate the initramfs by

 sudo update-initramfs -c -k 3.11.6

Step 10 : To configure grub bootloader enter the following command in your terminal.

sudo gedit /boot/grub/grub.cfg

After update grub by

sudo update-grub

Step 11 : That's all you are successfully installed / updated to kernel 3.11.6, to check the kernel version enter the following command in your terminal

uname -r

you will get kernel version is 3.11.6 as result.

Enjoy!!!

If you have any queries, post it in comments. We will help you!

Post a Comment

 
Top