Ubuntu Linux: Upgrade Linux Kernel

Posted on in Categories , , , last updated October 18, 2007

Q. How do I upgrade my Linux kernel version under Ubuntu Linux 7.04 / 7.10?

A. You can use any one of the following method:
(a) Command Line Tools – apt-get

(b) GUI tool

apt-get command – Upgrade Linux Kernel

Open terminal and type the following commands:
$ sudo apt-get update
Now search kernel version:
$ apt-cache search kernel-image
Now install kernel by explicitly specifying version number:
$ sudo apt-get install linux-image-2.6.xx-yy-generic
Replace xx.yy with kernel version number. Reboot the system.

GUI tools

This is recommended method for most user. Click on System > Administration > Update Manager > Click on Check button > Apply all updates including kernel.

OpenBSD set up default boot time by modifying boot.conf file

Posted on in Categories last updated September 19, 2007

Q. I’m using OpenBSD as VPS os (guest os) under VMWARE server. However OpenBSD pauses for a few seconds to give me a chance to provide parameters to the kernel at boot> prompt. I’d like to force boot loader to wait for 30 seconds instead of default timeout. How do I setup bootloader timeout?

A. OpenBSD uses boot program. The main purpose of this program is to load the system kernel while dealing with the downfalls of the PC BIOS architecture. This program acts as an enhanced boot monitor for PC systems, pro viding a common interface for the kernel to start from. By default, boot attempts to load the kernel executable /bsd. If it fails to find the kernel and no alternative kernel image has been specified, the system will be unable to boot.

/etc/boot.conf file and timeout parameter

/etc/boot.conf is configuration file for bootloader. Open file using text editor:
$ sudo vi /etc/boot.conf
Append / modify timeout parameter as follows:
set timeout 30
Save and close the file. Above line set the 30 second pause at boot-time.