How to upgrade to Kernel 3.2 in Ubuntu11.10 and LinuxMint12|PPA

Few days ago was officially released the new Linux 3.2 kernel. The new release includes support for ext4 block sizes bigger than 4KB and up to 1MB, which improve performance with big files; btrfs has been updated with faster scrubbing, automatic backup of critical filesystem metadata and tools for manual inspection of the filesystems; the process scheduler has added support to set upper limits of CPU time; the desktop reponsiveness

in presence of heavy writes has been improved, TCP has been updated to include an algorithm which speeds up the recovery of the connection after lost packets; the profiling tool “perf top” has added support for live inspection of tasks and libraries and see the annotated assembly code; the Device Mapper has added support for ‘thin provisioning’ of storage, and a new architeture has been added: the Hexagon DSP processor from Qualcomm. Other drivers and small improvements and fixes are also available in this release.

To find more  details about the new Linux 3.2 kernel  , please check  this  release notes. The Ubuntu group  has  already an pre compiled version released to make it easy  for newbies

WARNING : We  advise you to make a backup before to start, we  are  not  responsible for  any lose of  data.

We have tested this on one of our Unixmen test server (Peas OS Ubuntu-based)

1- Installation of Kernel 3.2 in Ubuntu 11.10 and Mint 12 via PPA:

Open terminal and enter the following commands:

sudo apt-add-repository ppa:francisbrwn9/kernels
sudo apt-get update
sudo apt-get dist-upgrade

If  you want to revert the change and back to the previous kernel, you need to install PPA Purge via command:

sudo apt-get install ppa-purge

Then to remove the ppa via the command:

sudo ppa-purge ppa:francisbrwn9/kernels

2- Via Debian package

To install the new Linux kernel 3.2 on Ubuntu  or  Mint using Debian package, you need to follow these steps:

For Ubuntu/Mint 32BIT

Open terminal and enter the following commands:



cd
 mkdir kernel && cd kernel


wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-headers-3.2.0-030200_3.2.0-030200.201201042035_all.deb


wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-headers-3.2.0-030200-generic_3.2.0-030200.201201042035_i386.deb


wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-image-3.2.0-030200-generic-pae_3.2.0-030200.201201042035_i386.deb


sudo dpkg -i *.deb
 

For  Ubuntu/Mint  64BIT

Open terminal and enter the following commands:



wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-headers-3.2.0-030200_3.2.0-030200.201201042035_all.deb


wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-headers-3.2.0-030200-generic_3.2.0-030200.201201042035_amd64.deb


wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-image-3.2.0-030200-generic_3.2.0-030200.201201042035_amd64.deb

 
pirat9@Unixmen:~/kernel$ sudo dpkg -i *.deb Output [sudo] password for pirat9: Selecting previously deselected package linux-headers-3.2.0-030200. (Reading database ... 144811 files and directories currently installed.) Unpacking linux-headers-3.2.0-030200 (from linux-headers-3.2.0-030200_3.2.0-030200.201201042035_all.deb) ... update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-030200-generic /boot/vmlinuz-3.2.0-030200-generic update-initramfs: Generating /boot/initrd.img-3.2.0-030200-generic enerating grub.cfg ... Found background: /etc/remastersys/splash.png Found background image: /etc/remastersys/splash.png Found linux image: /boot/vmlinuz-3.2.0-030200-generic Found initrd image: /boot/initrd.img-3.2.0-030200-generic Found linux image: /boot/vmlinuz-3.0.0-14-generic Found initrd image: /boot/initrd.img-3.0.0-14-generic Found memtest86+ image: /boot/memtest86+.bin
 
 

Now  restart   and  Enjoy

pirat9@Unixmen:~$ uname -a Linux Unixmen 3.2.0-030200-generic #201201042035 SMP Thu Jan 5 01:36:31 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux pirat9@Unixmen:~$