Why note this info downBecause 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 KernelNote: First do this on the backup Linux server and check that it can reboot with the new kernal and run OKInstall 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.confEdit the /etc/lilo.conf file and add the new kernel in there as per the following:On mill2 - which has a single CD-RWFrom:
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-RAMFrom:
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 RPMrpm -Fvh filename.rpm
|
Running Mondorescue to make a system backupNow run Mondorescue and make a system backup. mondoarchive -g -S /tmp -T /tmp -L -E "/web_disc /web_logs" -Oi -d /tmp/isos
|