[LON-CAPA-dev] kernel upgrade

Scott Harrison lon-capa-dev@mail.lon-capa.org
Thu, 07 Feb 2002 14:35:19 -0500


Dear Mark and others who are possibly interested:

You had asked about kernel upgrades.

A helpful site:
http://www.redhat.com/support/resources/howto/kernel-upgrade/

Quick instructions (for others to offer endless modifications of):

1. Be careful.  It is nice to do it right the first time.

2. Download the latest kernel for your system
   (Note: you only need this one package.)
ftp://mirror.pa.msu.edu/linux/redhat/linux/updates/6.2/en/os/i686/kernel-2.2.19-6.2.12.i686.rpm

3. rpm -ivh kernel-2.2.19-6.2.12.i686.rpm
I STRONGLY RECOMMEND THE -i option as opposed to the -U option.
The -U option obliterates your previous kernel...
which is no fun in case things go wrong.

4. ls -al /boot | grep vmlinuz
There should be a vmlinuz-2.2.19-6.2.12 or something
We will call this IMPORTANTSTRING.
The number corresponds to your rpm package.

5.
Here is an example of /etc/lilo.conf BEFORE

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux

image=/boot/2.2.17-14
	label=linux
	read-only
	root=/dev/hdb6
	append="hdd=ide-scsi"

other=/dev/hda1
	label=dos

and AFTER
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux

image=/boot/IMPORTANTSTRING
	label=linux
	read-only
	root=/dev/hdb6
	append="hdd=ide-scsi"

image=/boot/vmlinuz-2.2.17-14
	label=linuxold
	read-only
	root=/dev/hdb6
	append="hdd=ide-scsi"

other=/dev/hda1
	label=dos

6. /sbin/lilo -v

7. When you boot up,
you can choose betwen
linux or linuxold.

8. If you like your new kernel and everything is working;
you can remove the old image=/boot.. section.

Regards,
Scott