In this article I will show you how to upgrade your Debian kernel from 2.6.32  to 3.2.0 using backports sources.

Step1. Open /etc/apt/sources.list file and edit like this and update repositories:

echo “deb squeeze-backports main”  > /etc/apt/sources.list

apt-get update

Step2.  Search for  the newest linux-image and install it:

apt-cache search linux-image

Install the latest kernel:

# apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.3-686-pae
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
initramfs-tools libc6-i686 linux-base
Suggested packages:
bash-completion linux-doc-3.2 debian-kernel-handbook grub-pc extlinux lilo
Recommended packages: Continue Reading…

Upgrade from lenny to Squeeze

Valic —  February 6, 2011 — Leave a comment

Debian has released a stable version of Debian 6.0 (Squeeze).

If you’re running previous version of Debian, you can easily upgrade.

1. Update all packages currently installed to the latest lenny versions

apt-get update

apt-get upgrade

2. Replace all occurrences of etch with Squeeze in the apt sources file (pico /etc/apt/sources.list).

Here’s an example of what the file could look like after the change:

deb squeeze main
deb-src squeeze main

deb squeeze/updates main
deb-src squeeze/updates main

deb squeeze-updates main
deb-src squeeze-updates main

3. Update apt repository

apt-get update

4. Upgrade apt, dpkg and aptitude packages first

apt-get install apt dpkg aptitude

5. Do a dist-upgrade to upgrade the rest of the system

apt-get dist-upgrade

6. Reboot


7. Check the debian version

cat /etc/debian_version

It should read version 6.0.

By default Debian etch 32bit allows a maximum of 4 GB RAM. The limit can be raised up to 64 GB with a single apt-get command / kerenl update:

apt-get install linux-image-2.6-686-bigmem

That’s it, reboot your system and you will be able to install up to 64GB of RAM to your system. Continue Reading…

Compiling the kernel from source on Debian is actually pretty simple thing to do.

This guide has been tested on standard etch installation but will probably work on other versions and debian-like operating systems. The system is easy to break if not done right, compile and install the kernel at your own risk!

Install required packages

apt-get install kernel-package libncurses5-dev fakeroot wget build-essential

Download Kernel sources

You can see a list of available kernels here:

cd /usr/src


Continue Reading…

Page 1 of 11