Re: How do I update kernel in Debian 4

On Sun, 27 Jul 2008, Bob Cox wrote:

On Sun, Jul 27, 2008 at 18:28:00 +0800, Bret Busby (bret@xxxxxxxxx) wrote:

On Sun, 27 Jul 2008, Jonathan Kaye wrote:

Bret Busby wrote:


We have Debian 4.0 running on one of our computers; a server of sorts.

Accessing that computer, for system updates, etc, is done through

Running uname -a, which I understand returns the kernel version, returns
2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 GNU/Linux

In searching on the Internet, I cannot find an easy way, using apt-get,
of updating (or upgrading) the kernel, and it is clearly not
automatically done when running apt-get update followed by

The GUI system update/upgrade facility on my workstation (also Debian
4.0), automatically includes kernel updates; the last one done today
(from Synaptic File -> History, "linux-image-2.6.18-6-k7
(2.6.18.dfsg.1-18etch6) to 2.6.18.dfsg.1-22").

How do I get what automatically works with the GUI update/upgrade
facility, to work with a command line apt-get update then apt-get
dist-upgrade facility, to update/upgrade the kernel?

Thank you in anticipation.

Bret Busby

Hi Bret,
1. At the console type "aptitude search linux-image" You will see a list of
2. Pick the kernel of you choice, say, linux-image-2.6.25-2-686, and AS ROOT
or using sudo type "aptitude install linux-image-2.6.25-2-686" (if that's
the kernel you want).
Then reboot and you should see the newly installed kernel appear on your
boot menu.

aptitude search linux-image


p linux-image-2.6.18-6-486 - Linux 2.6.18 image on x86


cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 4
model name : Pentium MMX
stepping : 3
cpu MHz : 233.866
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 466.94

But, which image?

The CPU appears to be a Pentium MMX.

The above list of images, have images for 486 CPU's, and for 686 CPU's,
and for "PPro/Celeron/PII/PIII/P4" CPU's, but not for either a straight
Pentium CPU, or for a Pentium MMX CPU.

I am pretty sure 486 is the one to go for. (I use it on a P266 MMX

Your list above shows no packages marked 'A' for auto which explains why
it was not upgrading.

Regarding etch, this article might be of interest/use:

It got too complicated, as the process came up with a message about having to modify lilo.conf to accommodate initrd and to modify the file further, to stop the warning message about initrd in future kernel

So, I took the abort option, which still installed some of the 8 new packages to be installed as part of the kernel upgrade process.

I am hoping that the server still works, as it is our mailserver.

I am sure that I will soon find whether the server still works.

Thanks anyway.

It is just to complicated for me at present.

I guess we will just stick with the 2.4 kernel, until upgrading it gets easier, or we replace the computer.

Bret Busby
West Australia

"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992


To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx