Re: Reg. Kernel switching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Feb 08, 2008 at 06:59:36AM -0800, nate alleged:
> Padmaja wrote:
> > Can you please provide the instructions/ commands to re install the original
> > kernel. Also please let me know if anything went wrong with this
> > re-installation of 2.6.9-42 kernel, will it affect the other kernel from
> > working or I can still continue to use the 2.6.9.34 kernel?
> 
> find the original RPM for the kernel you want and run
> 
> rpm -Uvh <rpm name>
> 
> if it fails saying it's already installed run:
> 
> rpm -Uvh --force <rpm name>
> 
> if it fails saying something newer is already installed run:
> 
> rpm -Uvh --oldpackage <rpm name>
> 
> The installation of 2.6.9-42 will likely remove the 2.6.9-34 kernel,
> I *think* you can get around that by using rpm -iv instead of -Uvh,
> that should install the new kernel along side the old. But you should
> keep a backup of the other kernel just in case(or track down the
> original RPM for that as well).

No.  Don't *upgrade* kernels, and use yum.

Get the full package name
# rpm -qa | grep kernel

Remove the one you want
# rpm -e <pkgname>

Update your system
# yum update

Attachment: pgpCqgxPGViyo.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux