Current Document and Section   Other Documents  
  - Documentation
    - Howtos
  User Guide
DNS and Domains
Gateway Services Guide
Release Notes
 
 

Howtos - Upgrading the Kernel

Contents

[edit] Overview

This Howto describes upgrading the kernel on a ClarkConnect system.

[edit] Installing with Apt

Run the following commands:

  • apt-get update
  • apt-get install kernel#kernel_version

... where kernel_version is the version of the kernel. To see a list of available versions, run

  • apt-get install kernel
Warning! 
  For version 2.x you also need to upgrade the VPN kernel modules (if required):'''apt-get install freeswan-module freeswan-module-smp'''  
 


[edit] Checking the Default Boot Kernel

You will have both the old and new kernel on your system. This makes it possible to go back to the old kernel in the unlikely event of a problem (e.g. hardware driver issues). However, you must tell the boot loader to use the new kernel as the default. In many cases, the new kernel will already be set to be default. In other cases, the old kernel will still be the default. Change the "default" setting in /boot/grub/grub.conf to change your default kernel, e.g.

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title ClarkConnect (new_kernel_version)
      root (hd0,0)
      kernel /vmlinuz-new_kernel_version ro root=/LABEL=/
      initrd /initrd-new_kernel_version.img
title ClarkConnect (old_kernel_version)
      root (hd0,0)
      kernel /vmlinuz-old_kernel_version ro root=/LABEL=/
      initrd /initrd-old_kernel_version.img

[edit] Reboot

You will need to reboot your system.

Retrieved from "http://www.clarkconnect.com/docs/Howtos_-_Upgrading_the_Kernel"

This page has been accessed 1,650 times. This page was last modified 16:04, 5 December 2005.