Debian Linux 6 Squeeze: Install Linux Kernel 3.2.xx

How do I install Linux kernel version 3.2.xx without compiling the Linux kernel from source code under Debian Linux Squeeze version 6.x running on HP hardware?

Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements Reboot
Est. reading time 2 minutes
Debian Linux 6 comes with the Linux kernel version 2.6.32.xx only. However, you can install the Linux kernel version 3.2.xx or newer using backports. From the page:

Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates) in a stable environment so that they will run without new libraries (whenever it is possible) on a Debian stable distribution. Backports cannot be tested as extensively as Debian stable, and backports are provided on an as-is basis, with risk of incompatibilities with other components in Debian stable. Use with care! It is therefore recommended to select single backported packages that fit your needs, and not use all available backports.

Step #1: Add backports

Edit /etc/apt/sources.list, run:
# vi /etc/apt/sources.list
Append the following line:

deb squeeze-backports main

Save and close the file. Run the following command:
# apt-get update

Step #2: Install the Linux kernel 3.x.xx backport

Type the following command to search kernel image:
# apt-cache search linux-image-3
Sample outputs:

linux-headers-3.2.0-0.bpo.2-amd64 - Header files for Linux 3.2.0-0.bpo.2-amd64
linux-headers-3.2.0-0.bpo.2-rt-amd64 - Header files for Linux 3.2.0-0.bpo.2-rt-amd64
linux-image-3.2.0-0.bpo.2-amd64-dbg - Debugging infos for Linux 3.2.0-0.bpo.2-amd64
linux-image-3.2.0-0.bpo.2-amd64 - Linux 3.2 for 64-bit PCs
linux-image-3.2.0-0.bpo.2-rt-amd64-dbg - Debugging infos for Linux 3.2.0-0.bpo.2-rt-amd64
linux-image-3.2.0-0.bpo.2-rt-amd64 - Linux 3.2 for 64-bit PCs, PREEMPT_RT

Type the following command to install the Linux 3.2. for 64-bit systems:
# apt-get -t squeeze-backports install linux-image-3.2.0-0.bpo.2-amd64 firmware-linux-free
Sample outputs:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  initramfs-tools linux-base
Suggested packages:
The following NEW packages will be installed:
  firmware-linux-free linux-image-3.2.0-0.bpo.2-amd64
The following packages will be upgraded:
  initramfs-tools linux-base
2 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 23.7 MB of archives.
After this operation, 117 MB of additional disk space will be used.
Do you want to continue [Y/n]? y

You may be prompted to accept or deny few changes. Reboot the system:
# reboot
Finally, verify that you are using Linux 3.2:
# uname -mrs
# cat /proc/version
Sample outputs:

Linux version 3.2.0-0.bpo.2-amd64 (Debian 3.2.20-1~bpo60+1) ( (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Fri Jun 29 20:42:29 UTC 2012

πŸ₯Ί Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🀠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

18 comments… add one
  • Erif May 16, 2013 @ 17:41

    Thanks, work perfectly

  • Sms Nov 24, 2013 @ 1:21

    Updating source.list to wheezy / wheezy back-ports works pretty well but you need to be careful with things you are installing when working with aptitude. you don’t use apt-get with wheezy / wheezy back-ports on debian squeeze.

    I did this and now working with a 3.10.16 kernel on debian squeeze. works damn fast and eats less power ( battery goes longer ) and works quieter ( it is a thinpad w520, big one with a huge cooler )

  • k Feb 8, 2014 @ 21:42

    i Can install the kernel: the console show this: linux-base (3) unstable; urgency=low

    * Some HP Smart Array controllers are now handled by the new ‘hpsa’
    driver, rather than the ‘cciss’ driver.

    While the cciss driver presented disk device names beginning with
    ‘cciss/’, hpsa makes disk arrays appear as ordinary SCSI disks and
    presents device names beginning with ‘sd’. In a system that already
    has other SCSI or SCSI-like devices, names may change unpredictably.

    During the upgrade from earlier versions, you will be prompted to
    update configuration files which refer to device names that may
    change. You can choose to do this yourself or to follow an automatic
    upgrade process. All changed configuration files are backed up with
    a suffix of ‘.old’ (or ‘^old’ in one case).

    — Ben Hutchings Wed, 16 Mar 2011 13:19:34 +0000

    /tmp/tmpJOUV0_ (END)
    and i can’t continue…

    • Egor May 21, 2014 @ 12:30

      I got this problem too:

      * Some HP Smart Array controllers are now handled by the new β€˜hpsa’
      driver, rather than the β€˜cciss’ driver.

      Have any advices?


      • Innercy Oct 27, 2014 @ 14:58

        Simply press “q” to continue the installation

  • ricci Nov 1, 2015 @ 16:10

    thank you , that was very helpful.

    continue using squeeze because it is so rock solid on my macmini 2.1! yeeeeh!

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.