Editing Gentoo template creation
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 10: | Line 10: | ||
== Or try to Download 64 bit stage3 == | == Or try to Download 64 bit stage3 == | ||
− | If you experience | + | 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/ | + | 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 | + | 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 | + | 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: | Don't forget to look for: | ||
Line 25: | Line 25: | ||
− | '''WARNING''': There is no warrantied that template should work, you can bugtack the errors. But I haven't confronted | + | '''WARNING''': There is no warrantied that template should work, you can bugtack the errors. But I haven't confronted whith problem. |
− | == Create | + | == Create directory for the new container and unarchive stage3 == |
<pre> | <pre> | ||
− | |||
mkdir /vz/private/1001 | mkdir /vz/private/1001 | ||
− | tar - | + | tar -xjf /root/stage3-i686-20111213.tar.bz2 -C /vz/private/1001 |
</pre> | </pre> | ||
Line 47: | Line 46: | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Edit CT Config == | == Edit CT Config == | ||
Line 65: | Line 57: | ||
values are providing 2 GB soft limit with 2.5 GB hard limit: | values are providing 2 GB soft limit with 2.5 GB hard limit: | ||
− | DISKSPACE=" | + | DISKSPACE="2G:2.5G" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
After that you copy that configuration file turning it into a sample configuration for later use: | After that you copy that configuration file turning it into a sample configuration for later use: | ||
Line 186: | Line 160: | ||
</pre> | </pre> | ||
− | |||
If you want to enable udev read on. | If you want to enable udev read on. |