|Re: Kernel Version Error? [message #31398 is a reply to message #31351]
||Thu, 26 June 2008 16:02
Registered: December 2005
Location: Bozeman, Montana
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:
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!
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.
|Re: Kernel Version Error? [message #34362 is a reply to message #34330]
||Wed, 24 December 2008 14:30
Registered: December 2008
First of all a very Merry Christmas to you and your dear ones.
I did download the template and thank you again.
I tried to build it on an HyperVM platform and it built the server but when it tried to start it received the following error:
Alert: Could Not Start Vps, Reason: vzquota : (warning) quota usage is invalid for id 180, recalculating disk usage...: vzquota : (error) quota check : stat /vz/private/180.tmp: No such file or directory: vzquota on failed :
I do not know if this is realted to the template or not.
As you suggested i allocated 15GB disk space and 512 MB guaranteed RAM to the template.
I then tried to create it with unlimited diskspace (160GB SATA maximum) and unlimited (4GB RAM maximum) on a Pentium D 3.0 GHz platform running HyperVM and it worked fine.
Kindest regards and thanks for all,