OpenVZ Forum


Home » General » Support » Kernel Version Problem
Re: Kernel Version Problem [message #32568 is a reply to message #32557] Sat, 16 August 2008 14:58 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It's because it checks for the kernel version in RPM database.

First, run this:

rpm -q --whatprovides kernel

It will return you a package which "provides" kernel.

Then, run

rpm -q --provides <package>

where <package> is the one that the previous command returned. Here you will see what kernel version is in RPMDB.

Most probably kernel is "provided" by vzdummy or dummy package, which was created and installed in VE in order to skip real kernel installation but still keep RPM database consistent.

So, what you need to do next is to find the src.rpm for that package, fix its spec file to "provide" newer kernel, rebuild and upgrade to your newer version. Then you can try upgrading.

If you want I think I can share the vzdummy for fedora 9.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Previous Topic: openvz patched vanilla kernel vs redhat kernel
Next Topic: How to install guest OS on container
Goto Forum:
  


Current Time: Mon Jul 15 21:25:47 GMT 2024

Total time taken to generate the page: 0.02476 seconds