Updating with rpm
It is always recommended to have a boot disk in hand while proceeding with kernel upgrade as you may ended up with a non-bootable machine in case of any unsuccessful kernel update.First you need to update the non-kernel RPMs like, mkinitrd, Sys Vinit and initscripts. Now, we can proceed with the kernel and module package update.Please note that, we need to use -i (install) option rather than –U (update).Because –U option will delete the previously installed kernel version which we may need in case of any unsuccessful update.• Drivers for the hardware you do have are updated and you need to use them.• Most Important: Security holes have been found in earlier kernels and are fixed in the latest kernel.The latest versions of RPMs from Oracle, when installed using the standard package management tool ( with relevant new versions. If you have installed My SQL with third-party packages NOT from your Linux distribution's native software repository (for example, packages directly downloaded from the vendor), you will need to uninstall all those packages before you can upgrade using the packages from Oracle.
A sample grub configuration file - /etc/grub.conf’ - will be as follows.So, in order to make the kernel update successful, you need to confirm the loaded RPMs md5 sum using the following command (on redhat 5.x machines).If all the MD5 sums are showing “OK”, you are fine to proceed.Therefore, always update all your installed packages for My SQL.For example, do not just update the server without also upgrading the client, the common files for server and client libraries, and so on.