Pejman Moghadam / Slackware

Slackware 12.0 - Upgrade to kernel 2.6.24

Public domain


# cd /usr/src
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
# tar -jxf linux-2.6.24.tar.bz2
# ln -sfn linux-2.6.24 linux
# cd linux
# cp /boot/config .config
# make menuconfig 
    Load an Alternate Configuration File 
      .config
        Ok
    Processor type and features  --->
      Processor family  ---> 
        386 
# make all
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.24
# cp System.map /boot/System.map-2.6.24
# cp .config /boot/config-2.6.24
# cd /boot
# ln -sfn vmlinuz-2.6.24 vmlinuz
# ln -sfn System.map-2.6.24 System.map
# ln -sfn config-2.6.24 config
# vi /etc/lilo.conf
boot = /dev/hda
prompt
timeout = 50
vga = 791
lba32
default = S12-2.6.24

image = /boot/vmlinuz-huge-smp-2.6.21.5-smp
  root = /dev/hda2
  label = S12-2.6.21.5
  read-only

image = /boot/vmlinuz-2.6.24
  root = /dev/hda2
  label = S12-2.6.24
  read-only

# lilo
# Reboot

BY: Pejman Moghadam
TAG: kernel
DATE: 2008-02-03 20:58:04


Pejman Moghadam / Slackware [ TXT ]