OpenVZ Forum


Home » General » Support » Kernel Version Error?
Re: Kernel Version Error? [message #31398 is a reply to message #31351] Thu, 26 June 2008 20:02 Go to previous messageGo to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Ok, I think I can solve this.

yum isn't doing a uname -a to see what the kernel version is, it is checking the rpm database... and finding no kernel installed. Same goes for a missing hal... or other packages. What you will have to do is install the missing packages... but doing so takes up unneeded diskspace, and in the case of udev can sometimes cause container boot problems.

I have built a number of Fedora OS Templates with complete GUI desktops (KDE, GNOME, XFCE, etc) and have had to do a number of work arounds to bypass the same problems you are having.

The elegant way to solve the problem would be to create and use dummy packages for the problematic packages BUT sometimes I'm lazy and in a hurry so I haven't done it the elegant way yet.

What you do is you download the kernel, udev and hal rpm packages (and also possibly module-init-tools) and install them with rpm using the --justdb flag. You might also have to use --force or --nodeps if they gripe about deps. Once those are installed you might want to add an exclude for them in the /etc/yum.conf so future system updates won't try to upgrade to newer versions of those packages.

Once you have have tricked rpm into thinking it has those packages installed, you are pretty much free to install whatever you want without breaking anything.

I kinda cover this topic in the following article on my website:

http://www.montanalinux.org/fedora-9-preview-into-openvz-os- template.html

I have since updated to release version of Fedora 9. I haven't contributed my OS Templates "withGUI" because they are quite big... but if anyone wants them I can give you a URL.

I uploaded to the contrib pre-created OS Templates section the following OS Templates 2 days ago for anyone interested. They all include yum too!

http://download.openvz.org/template/precreated/contrib/cento s-4-i386-default-20080624.tar.gz

http://download.openvz.org/template/precreated/contrib/cento s-4-x86_64-default-20080624.tar.gz

http://download.openvz.org/template/precreated/contrib/cento s-5-i386-default-20080624.tar.gz

http://download.openvz.org/template/precreated/contrib/cento s-5-x86_64-default-20080624.tar.gz

http://download.openvz.org/template/precreated/contrib/fedor a-8-i386-default-20080624.tar.gz

http://download.openvz.org/template/precreated/contrib/fedor a-9-i386-default-20080624.tar.gz

Those are all current as of the date shown (20080624) and CentOS 4 is 4.6, CentOS 5 is 5.2. I haven't made any x86_64 Fedora OS Templates but if someone wants them I can.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: klogd on VE ubuntu 8.10 gets stuck on launch
Next Topic: OpenVZ kernel running under XEN
Goto Forum:
  


Current Time: Thu May 09 01:11:36 GMT 2024

Total time taken to generate the page: 0.01524 seconds