Home » General » Support » Kernel Version Error?
Re: Kernel Version Error? [message #31398 is a reply to message #31351] |
Thu, 26 June 2008 20:02 |
|
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
|
|
|
|
|
Kernel Version Error?
By: mperkel on Fri, 11 April 2008 15:44
|
|
|
Re: Kernel Version Error?
By: kir on Fri, 11 April 2008 16:07
|
|
|
Re: Kernel Version Error?
By: mperkel on Fri, 11 April 2008 17:10
|
|
|
Re: Kernel Version Error?
By: kir on Fri, 11 April 2008 18:27
|
|
|
Re: Kernel Version Error?
By: maratrus on Fri, 11 April 2008 16:21
|
|
|
Re: Kernel Version Error?
By: mperkel on Fri, 11 April 2008 18:33
|
|
|
Re: Kernel Version Error?
By: skizzo on Wed, 25 June 2008 12:34
|
|
|
Re: Kernel Version Error?
By: dowdle on Thu, 26 June 2008 20:02
|
|
|
Re: Kernel Version Error?
By: skizzo on Mon, 07 July 2008 10:26
|
|
|
Re: Kernel Version Error?
By: dowdle on Tue, 01 July 2008 23:37
|
|
|
Re: Kernel Version Error?
|
|
|
Re: Kernel Version Error?
By: dowdle on Tue, 23 December 2008 22:19
|
|
|
Re: Kernel Version Error?
By: dowdle on Tue, 23 December 2008 22:21
|
|
|
Re: Kernel Version Error?
By: dowdle on Tue, 23 December 2008 23:32
|
|
|
Re: Kernel Version Error?
|
|
|
Re: Kernel Version Error?
By: dowdle on Tue, 23 December 2008 23:44
|
|
|
Re: Kernel Version Error?
By: dowdle on Wed, 24 December 2008 00:40
|
|
|
Re: Kernel Version Error?
|
|
|
Re: Kernel Version Error?
By: dowdle on Wed, 24 December 2008 00:47
|
|
|
Re: Kernel Version Error?
|
Goto Forum:
Current Time: Sun Oct 06 14:14:58 GMT 2024
Total time taken to generate the page: 0.04592 seconds
|