Wednesday, March 11, 2009

Installing Debian Squeeze/Sid (Mar 12 09)

I recently installed Debian 5.0 Lenny on my Neo Empriva M540 laptop. After installation, I was a bit disappointed that Lenny came with kernel 2.6.26, and this disappointment is due to the fact that Ubuntu 8.10 which was released earlier in October is already shipped with kernel 2.6.27 while Lenny still comes with an older kernel.

So I decided that I wanted kernel 2.6.28 and that Debian Squeeze was therefore the way to go. So I followed the instructions in:

to get Lenny upgraded to Squeeze. Essentially, the steps were as follows (working as root):

1. Edit /etc/apt/sources.list, replacing occurences of Lenny by Squeeze. My newly edited sources.list now looks like

deb squeeze main contrib non-free
deb squeeze/updates main contrib non-free
deb squeeze/volatile main contrib
deb squeeze-proposed-updates contrib non-free main

2. Then do the upgrade using the commands:
aptitude update
aptitude install apt dpkg aptitude
aptitude full-upgrade

When I rebooted, I now had Debian squeeze instead of Lenny. But still, the Squeeze kernel was 2.6.26. I now have to force installation of kernel 2.6.28. Working as root, I added the following line to /etc/pat/sources.list:

deb trunk main

Then I had to install kernel-archive key:

wget -q -O - | apt-key add -

Then finally, I could install the latest kernel:

aptitude update
aptitude install linux-image-2.6.28-1-686

Upon rebooting and running Synaptic package manager, I was asked to upgrade the library to glibc 2.9-4, and gcc to 4.3.3-3.

Now I have the latest and the greatest linux kernel 2.6.28, running the the latest and greatest GNU C library 2.9!