Google Plus

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

Written by Mel Kham on . Posted in Linux distributions, Linux Mint, Linux tutorials, Ubuntu

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:~$

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • rajuvembala

    guys its mkdir kernel , not cd mkdir kernel

    • Anonymous

      Thanks, corrected. Also i added PPA for easy installation in Ubuntu 11.10 and LinuxMin12

      • Anonymous

        I upgraded via the ppa & my kernel version reads-3.2.0-8-generic #15-Ubuntu SMP.  Do I have the correct version? the numbers don’t seem to match. it works great though.  thanks

        • Anonymous

          Kernel received another update, now it is 3.2.1

          • http://www.facebook.com/papa.rizzo Jay Ro

            I just installed kernel 3.2.1 tonight, and it seems that ALL 3.2.x kernels I have tried all give me a kernel panic just after login. I’ve tried kernel 3.2RC1 through 3.2.1 stable, and STILL get kernel panics. I seriously hope I’m not forever stuck on 3.1.8 forever on this laptop. ;_;

            I installed from DEB packages from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

            I install them in this order:

            headers-all
            headers
            image

            Then I open terminal and “sudo update-grub” and reboot. When I log in with the new 3.2.x kernel, it panics, and locks up in text mode with capslock light flashing. my laptop is a Gateway MT6728 with 3GB DDR2, running 32-bit Linux Mint 12 with Cinnamon DE. I get the same results with Gnome, so I know it’s not my desktop environment. Even my gaming PC hates the 3.2 kernel. Could anyone shed some light on this for me?

          • Anonymous

            upgraded again, & working like a champ! thanks again

        • John

          That is the correct version number via the ppa. ubuntu number their kernels oddly.  Should now be a 3.2.0-9, which corresponds to the 3.2.1 mainline kernel

  • Single_mailbox

    You can also go directly to the Ubuntu kernel index, and retrieve and install via gdebi.
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/

    • http://blog.crimsonflames.com Daniel Fletcher

      Mainline debs are missing patches such as ureadahead, the backport of the ASPM power fix, apparmor, etc…

  • Mauricio Guerrero

    any ideas why any 3.0 kernel i seem to install just shows a black screen after grub? it just sort of loads, but then stops reading from the disk. No text so I have no idea what it’s doing.
    I got a core i7, 12GB ram, Nvidia GTX 460, Flaming Blade motherboard, an asus Xonar D2 PM sound card, and like 4 or 5 hard drives. Previous kernels work no problem. I even built my own and it didn’t boot :( I’m using 64Bit Linux Mint 12

  • Stijn Verwaaijen

    I would’ve expected this to go completely wrong, but it actually worked very well and fixed a at least one bug I was experiencing (no output on external monitor w/o switching tty’s after suspending or logging out). Cheers! =]

  • Jayneil Dalal

    I need to upgrade my kernel in Ubuntu 10.04 via PPA. Will this guide work for it???

  • Yasser

    my broadcom wireless adapter is dead after upgrade. was fine with 3.0. using hp 6710b

    • Anonymous

      Did you upgrade using PPA? If yes you can revert the change and back to the previous kernel

  • http://www.facebook.com/Velpula.Naveen Naveen Kumar Reddy

    as i am usin ubuntu11.10 but not getting video chatting option while in facebook. wat should i do???????

  • Alex

    Hi, 

    I updated the kernel using  the Debian package option. How do I back to my last kernel 3.0.0-12?

    I have problems using bumblebee…

    Thanks,

    Alex

    • Thomas Anderson

       You can just scroll down and select an older kernel with grub if you haven’t removed it.

  • darwin m.

    Why all this hassle in installing this kernel update? There must be a good reason why this update is not supported in Ubuntu 11.10 and Mint 12. And what would that be?

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

cave

|

it can be used to talk or chat through the internet,

it is using strong encryption.

but for example TOR is using some obfuscation because some countrys try to block all outgoing connections which can not be scanned with DPI

And the TOR Project is facing an arms race in obfuscation and encryption detection.

cave

|

You can friend someone if you give him your public Certificate.

both peers must friend each other.

i suggest to not enter a valid e-mail address. it is not necessary, but pgp needs a mail addy. something@something.so fits perfectly… :)

http://redd.it/18vsq5 <– faq, featurelist, todo, howto, useful links to manual wiki etc, …

you can connect to chatservers, which will give you access to chatlobby, where always some people are lurking.

#1 https://www.f2f-fr.net/w2c/en/
#2 http://retrosharechatserver.no-ip.org/w2c/en/

and in this rooms, you can find other people to talk and friend.

cave

|

http://redd.it/18vsq5
please have a look at this link. it is a FAQ, QuickTip, HowTo, etc etc etc …

If you want to make friends, please use the Chatservers.
#1 https://www.f2f-fr.net/w2c/en/
#2 http://retrosharechatserver.no-ip.org/w2c/en/

if you enter your certificate, the chatserver adds you as his friend and shows his certificate too add him to your friends.

After the connection to the chatservers is established, you can join a few chatrooms where the chatserver is lurking.

in this rooms are other people too help you and make first friends and get into the network.

add friends only with wisdom. if you friend some policeman, it will be problematic like in real life.

best is to add only people you trust in real life or trust from other communitys too. and not to add random unkown strangers.

If you have questions, ask them in the chatlobbys, there is always someone to answer them.

please read http://redd.it/18vsq5

or question me here :)

Ladi Oyekanmi

|

Could you please assist in step by step on how to install nagios on solaris

Adhraa

|

Greate tutorial :)

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .