0
Linux Kernel 3.11.9  stable version out now. It comes with lots of bug fixes and improved features. It brings lots of driver updates (USB, wireless, etc), as well as ALSA fix, USB fix, and ipv6 network fix and more.

Features / Changes in Kernel 3.11.9 :


-->ALSA: hda - hdmi: Fix reported channel map on common default layouts
-->cxgb3: Fix length calculation in write_ofld_wr() on 32-bit architectures
-->media: sh_vou: almost forever loop in sh_vou_try_fmt_vid_out()
-->net: sctp: do not trigger BUG_ON in sctp_cmd_delete_tcb
-->tcp: gso: fix truesize tracking
-->hyperv-fb: add pci stub and more.

Check more details about changes in 3.11.9 at HERE.



We can install/upgrade kernel v3.11.9 LTS in multiple ways. For users who they not have a net connection or low speed connection offline installation is good one. But offline installation is also comes in two ways.

  1. Using deb file to insall/upgrade the latest version of kernel ( EASIEST METHOD )
  2. Kernel Compilation, Configuration and installation ( Somewhat Hard )


INSTALLATION OF KERNEL 3.11.9 LTS


1. Using deb file to insall/upgrade the latest version of kernel 3.11.9 [ For Ubuntu users ]( easiest way )


So, now we are gonna to see about Easiest Method of installation of kernel in this Post. Just follow the steps.

Step 1: Open the Terminal by Accessories → Terminal or CTRL+ALT+T

Step 2 : First check your ubuntu version and current kernel version which is installed in your machine. Enter the following commands in Terminal to check the versions.

For Ubuntu Version =>  lsb_release -a

For Kernel Version =>   uname -r


Step 3 : Go to http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.9-saucy/  and download the linux image of deb file, which suitable for your distributions.

32Bit users download following 3 files

linux-headers-3.11.9-031109-generic_3.11.9-031109.201311201635_i386.deb
linux-image-3.11.9-031109-generic_3.11.9-031109.201311201635_i386.deb

linux-headers-3.11.9-031109_3.11.9-031109.201311201635_all.deb

64Bit users download following 3 files
 
linux-headers-3.11.9-031109-generic_3.11.9-031109.201311201635_amd64.deb

linux-image-3.11.9-031109-generic_3.11.9-031109.201311201635_amd64.deb

linux-headers-3.11.9-031109_3.11.9-031109.201311201635_all.deb


Step 4 : Copy the downloaded image files to home folder.

Step 5: First update the cache of the packages installed in your machine by
 
sudo apt-get update

Now enter the following command in your terminal

sudo dpkg -i linux-headers-3.11.9-*.deb linux-image-3.11.9-*.deb

Wait for a minute. The downloaded package will be extracted and install the latest version of kernel.

Step 6 : When the installation is finished run the following command

sudo update-grub

Step 7 : You must be restart your machine now.

Step 8 : After restared your machine now check your kernel version. Enter the following same command to check the kernel version

uname -r

Now you will see your updated kernel version in your machine.

Incase, if you got any problem, then boot into previous kernel and run command to remove Linux Kernel 3.11.9 as

sudo apt-get purge linux-headers-3.11.9-* linux-image-3.11.9-*



2. Kernel Compilation, Configuration and installation ( Somewhat Hard ) [ For all Linux Users ]



Step 1 : Before installing kernel 3.11.9 , 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 following 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.9 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.9

Click below to download it.

==> DOWNLOAD 3.11.9


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.9.tar.xz -C /usr/src/

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

cd /usr/src/linux-3.11.9/


Step 7 : Before start to install the kernel 3.11.9 , 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.9 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.9
--> vmlinuz-3.11.9
--> initrd.img-3.11.9
--> config-3.11.9


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

 sudo update-initramfs -u -k 3.11.9

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

 sudo update-initramfs -c -k 3.11.9

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.9, to check the kernel version enter the following command in your terminal

uname -r

you will get kernel version is 3.11.9 as result.




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

Thank you.






Post a Comment

 
Top