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:

http://www.go2linux.org/how-to-upgrade-from-debian-lenny-to-squeeze

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 http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile squeeze/volatile main contrib
deb http://ftp.us.debian.org/debian/ 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 http://kernel-archive.buildserver.net/debian-kernel trunk main

Then I had to install kernel-archive key:

wget -q -O - http://kernel-archive.buildserver.net/key | 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!

1 comment:

Joe_20 said...

Thanks i didn't know about that repo of the kernel trunk, but it seems that it don't have the right kbuild for the kernel.