0
The kernel version 3.10.20 has been released as Long Term Support. People Who are all using kernel  v3.10 series, upgrade now to LTS 3.10.20


Features / Changes in kernel 3.10.20 LTS


-->usbcore: set lpm_capable field for LPM capable root hubs
-->ALSA: hda - hdmi: Fix reported channel map on common default layouts
-->xen-netback: use jiffies_64 value to calculate credit timeout
-->tracing: Fix potential out-of-bounds in trace_get_user()
-->USB: add new zte 3g-dongle's pid to option.c
-->ip_gre: Fix WCCPv2 header parsing.
-->perf: Fix perf ring buffer memory ordering
-->xen-netback: Handle backend state transitions in a more robust way
-->iwlwifi: add new 7260 and 3160 series device IDs
-->iwlwifi: pcie: add new SKUs for 7000 & 3160 NIC series
-->batman-adv: set up network coding packet handlers during module init
-->usb: fail on usb_hub_create_port_device() errors
-->usb: fix cleanup after failure in hub_configure()


and more.. Check the completed details at HERE.



We can install/upgrade kernel v3.10.20 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.10.20 LTS

1. Using deb file to insall/upgrade the latest version of kernel 3.10.20 [ 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.10.20-saucy/and download the linux image of deb file, which suitable for your distributions.

32Bit users download following 3 files

linux-image-3.10.20-031020-generic_3.10.20-031020.201311201536_i386.deb

linux-headers-3.10.20-031020_3.10.20-031020.201311201536_all.deb

64Bit users download following 3 files
 
linux-headers-3.10.20-031020-generic_3.10.20-031020.201311201536_amd64.deb

linux-image-3.10.20-031020-generic_3.10.20-031020.201311201536_amd64.deb

linux-headers-3.10.20-031020_3.10.20-031020.201311201536_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.10.20-*.deb linux-image-3.10.20-*.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.10.20 as

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



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



Step 1 : Before installing kernel 3.10.20 , 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.10.20 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.10.20

Click below to download it.

==> DOWNLOAD 3.10.20


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

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

cd /usr/src/linux-3.10.20/


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


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

 sudo update-initramfs -u -k 3.10.20

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

 sudo update-initramfs -c -k 3.10.20

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

uname -r

you will get kernel version is 3.10.20 as result.




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

Thank you.






Post a Comment

 
Top