=UnstableEtch (testing)=
OpenVZ is now a part of Debian Sid Etch (a.k.a. "unstabletesting") repository. This article describes how to install OpenVZ on a Debian Sid Etch system.
== Installing the utilities and kernel patch ==
To install the kernel-source, OpenVZ kernel patch and utilities, run the following:
<pre>
apt-get update
apt-get install linux-source-2.6.18 kernel-patch-openvz vzctl vzquota
</pre>
== Creating the kernel package ==
To create a kernel package, First you need to download and unpack 2.6.16 “vanilla” the kernel first:
<pre>
cd /usr/src/wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2tar xjf linux-source-2.6.16.tar.bz218cd linux-source-2.6.1618
</pre>
(Note that Next, you do need to get a vanilla kernel for this, because config. You can use the OpenVZ kernel patch doesn't apply cleanly to config of the Debian linuxdebian-sourcekernel: <pre>cp /boot/config-2.6.16 package; see [http://bugs18-3-686 .debian.orgconfig</cgi-bin/bugreport.cgi?bug=377707 Debian bug #377707].)pre>
Next, get the proper kernel config from [http://download.Now you can apply openvz.org/kernel/devel/026test015.1/configs/ download.openvz.org]. Below is patch and compile the example of using smp config for i686kernel:
<pre>
wget http://download.openvz.org/kernel/devel/026test015.1/configs/kernelmake-2.6.16kpkg -026test015-i686append_to_version=-smp.config.ovzmv kernel1-2.6.16openvz -026test015-i686added_patches=openvz -smp.config.ovz .config-revision=1 kernel_image
</pre>
{{Note|This example uses a config file for Install the 026test015 kernel patch. If the kernel-patch-openvz package you installed is a different version, download a config file that corresponds with your version}} Now you can apply openvz kernel patch and compile the kernelupdate initramfs:
<pre>
makecd ..dpkg -kpkg i linux-image-2.6.18-1-openvz_1_i386.debupdate-initramfs -c -k 2.6.18-1-added_patches openvzupdate-grub
</pre>
Just reboot into your new openvz-kernel.
[[Category: HOWTO]]
[[Category: Installation]]