Updating the Debian Stable kernel

From KoshWiki

Jump to: navigation, search

Contents

Description

Just quick copy/paste guide to upgrading the Debian Stable kernel to a 2.6 one that supports SMP and more tha 900mb of RAM.

Instructions

Apt-get the image

# apt-get install kernel-image-2.6.8-3-686-smp
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  lilo kernel-doc-2.6.8 kernel-source-2.6.8
Recommended packages:
  irqbalance
The following NEW packages will be installed:
  kernel-image-2.6.8-3-686-smp
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 15.4MB of archives.
After unpacking 45.0MB of additional disk space will be used.
Get:1 http://security.debian.org stable/updates/main kernel-image-2.6.8-3-686-smp 2.6.8-16sarge6 [15.4MB]
Fetched 15.4MB in 1m31s (169kB/s)
Selecting previously deselected package kernel-image-2.6.8-3-686-smp.
(Reading database ... 20030 files and directories currently installed.)
Unpacking kernel-image-2.6.8-3-686-smp (from .../kernel-image-2.6.8-3-686-smp_2.6.8-16sarge6_i386.deb) ...
Setting up kernel-image-2.6.8-3-686-smp (2.6.8-16sarge6) ...
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.6.8-3-686-smp
Found kernel: /boot/vmlinuz-2.4.27-2-386
Updating /boot/grub/menu.lst ... done

Double check the grub config

# nano -w  /boot/grub/menu.lst

Things to check is the default like

default         0

this means it will load the first "kernel option"

and check that the first "kernel" option is similar to

title           Debian GNU/Linux, kernel 2.6.8-3-686-smp
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.8-3-686-smp root=/dev/sda1 ro
initrd          /boot/initrd.img-2.6.8-3-686-smp
savedefault
boot

Reboot

# shutdown -r now

References

Personal tools