Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Gentoo template creation

1,292 bytes added, 10:33, 30 May 2012
no edit summary
We will make the template from a stage3 file. An OpenVZ OS template should be an archive (.tar.gz) of the root of a working system, but without the kernel and some files. You can download stage3 from the nearest mirror from http://www.gentoo.org/main/en/mirrors.xml
or directly from http://distfiles.gentoo.org/releases/x86/current-stage3/
 
----
 
== Or try to Download 64 bit stage3 ==
 
If you experience whith 32bit containers you can also try to create Gentoo template whith 64bits binary support. Try to download '''64bit''' stage3. For 64bit Gentoo template creation, search for nearest mirrors http://www.gentoo.org/main/en/mirrors.xml or directly from:
 
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/ whith 32bit binary '''multilib''' support, or
 
 
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/hardened/ (stage3-amd64-hardened+nomultilib-20xxxxxx.tar.bz2) try the hardend profile whithout multilib support (only 64bit binary support for gentoo template containers!!)
 
 
Don't forget that hostnode must support 64bit binary too whith or whithout 32bit multilib support!! Hostnodes that supports multilib can start 64bits containers whith 32bits containers but has some '''''little''''' downtirn whith perfomance.
 
Don't forget to look for:
<pre>ACCEPT_KEYWORDS="amd64" in /etc/make.conf</pre> there you can accept 64bit binary packages support for your containers.
<pre>cat /proc/cpuinfo</pre> for 64 bits Intel\AMD CPU instructions set support.
 
 
'''WARNING''': There is no warrantied that template should work, you can bugtack the errors. But I haven't confronted whith problem.
== Create directory for the new container and unarchive stage3 ==
Anonymous user