[CCP14 Home: (Frames | No Frames)]
CCP14 Mirrors: [UK] | [CA] | [US] | [AU]

(This Webpage Page in No Frames Mode)

Collaborative Computational Project Number 14

for Single Crystal and Powder Diffraction

CCP14

Updating the Linux Kernel in Redhat Linux

The CCP14 Homepage is at http://www.ccp14.ac.uk

[Back to CCP14 Web/Config Main Page]

Why note this info down

Because it is a pain to do this from scratch without notes.


Download the updated Kernel


Download the relevant RPMs as directed in the errata page.

The present CCP14 PC system is an i686 Pentium system. In this case via ftp://updates.redhat.com/7.3/en/os/i686/.

As per the Upgrading the Linux Kernel on Red Hat Linux systems page, also get any relevant other RPMs, especially if the kernel headers file has been udpated.


Install the new Kernel

Note: First do this on the backup Linux server and check that it can reboot with the new kernal and run OK

Install the kernel using the following style of command (don't update the kernel as it is good to have a backup of the old one if things go astray)

rpm -ivh kernel-2.4.20-28.7.i686.rpm


Updating Lilo and /etc/lilo.conf

Edit the /etc/lilo.conf file and add the new kernel in there as per the following:

On mill2 - which has a single CD-RW

From:

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

image=/boot/vmlinuz-2.4.18-3
        label=linux
        initrd=/boot/initrd-2.4.18-3.img
        read-only
        append="hdd=ide-scsi"
        root=/dev/hda2

To:

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

image=/boot/vmlinuz-2.4.20-28.7
        label=linux
        initrd=/boot/initrd-2.4.20-28.7.img
        read-only
        append="hdd=ide-scsi"
        root=/dev/hda2

image=/boot/vmlinuz-2.4.18-3
        label=linux-may2002
        initrd=/boot/initrd-2.4.18-3.img
        read-only
        append="hdd=ide-scsi"
        root=/dev/hda2

On mill - which has a CD-R and DVD-RAM

From:

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

image=/boot/vmlinuz-2.4.18-3
        label=linux
        initrd=/boot/initrd-2.4.18-3.img
        read-only
        root=/dev/hda2

To:

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

image=/boot/vmlinuz-2.4.20-28.7
        label=linux
        initrd=/boot/initrd-2.4.20-28.7.img
        read-only
        root=/dev/hda2

image=/boot/vmlinuz-2.4.18-3
        label=linux-may2002
        initrd=/boot/initrd-2.4.18-3.img
        read-only
        root=/dev/hda2


Type lilo -v for this to take effect.

and a reboot to check this out:

shutdown -r -t 5 now blah


Updating a non-kernel RPM

rpm -Fvh filename.rpm


Running Mondorescue to make a system backup

Now run Mondorescue and make a system backup.

mondoarchive -g -S /tmp -T /tmp -L -E "/web_disc /web_logs" -Oi -d /tmp/isos


[CCP14 Home: (Frames | No Frames)]
CCP14 Mirrors: [UK] | [CA] | [US] | [AU]

(This Webpage Page in No Frames Mode)

If you have any queries or comments, please feel free to contact the CCP14