<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Iamacup</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Iamacup"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Iamacup"/>
	<updated>2026-06-13T16:36:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Installation_on_Debian/old&amp;diff=3880</id>
		<title>Installation on Debian/old</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Installation_on_Debian/old&amp;diff=3880"/>
		<updated>2008-01-04T16:13:59Z</updated>

		<summary type="html">&lt;p&gt;Iamacup: Replacing page with '= Etch (Stable) =
Installation on Debian (etch)

= Sarge-Dapper (OldStable) =
Installation on Debian (sarge)

=Build your own kernel-image (debian way) =
[[Compiling th...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Etch (Stable) =&lt;br /&gt;
[[Installation on Debian (etch)]]&lt;br /&gt;
&lt;br /&gt;
= Sarge-Dapper (OldStable) =&lt;br /&gt;
[[Installation on Debian (sarge)]]&lt;br /&gt;
&lt;br /&gt;
=Build your own kernel-image (debian way) =&lt;br /&gt;
[[Compiling the OpenVZ Kernel (the debian way)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Installation]]&lt;/div&gt;</summary>
		<author><name>Iamacup</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Compiling_the_OpenVZ_kernel_(the_Debian_way)&amp;diff=3879</id>
		<title>Compiling the OpenVZ kernel (the Debian way)</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Compiling_the_OpenVZ_kernel_(the_Debian_way)&amp;diff=3879"/>
		<updated>2008-01-04T16:11:31Z</updated>

		<summary type="html">&lt;p&gt;Iamacup: /* Installing the Tools and Configuring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Build your own kernel-image (debian way) ===&lt;br /&gt;
&lt;br /&gt;
==== Installing sources ====&lt;br /&gt;
&lt;br /&gt;
To install the kernel-source and the OpenVZ kernel patch, run:&lt;br /&gt;
 # apt-get install kernel-package linux-source-2.6.18 kernel-patch-openvz libncurses5-dev&lt;br /&gt;
&lt;br /&gt;
==== Unpacking ====&lt;br /&gt;
&lt;br /&gt;
Unpack the kernel source:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 # cd /usr/src&lt;br /&gt;
 # tar xjf linux-source-2.6.18.tar.bz2&lt;br /&gt;
 # cd linux-source-2.6.18&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kernel config ====&lt;br /&gt;
&lt;br /&gt;
You need a kernel config.&lt;br /&gt;
You can use the config of the debian-kernel:&lt;br /&gt;
 # cp /boot/config-2.6.18-5-686 .config&lt;br /&gt;
&lt;br /&gt;
'''Or''' get a 2.6.18 kernel configuration from  &lt;br /&gt;
http://download.openvz.org/kernel/branches/2.6.18/current/configs/ (depending on your architecture; the below example is for i686):&lt;br /&gt;
 # wget http://download.openvz.org/kernel/branches/2.6.18/current/configs/kernel-2.6.18-i686.config.ovz -O .config&lt;br /&gt;
&lt;br /&gt;
==== Patching and configuring ====&lt;br /&gt;
&lt;br /&gt;
Now you can apply the openvz kernel patch and modify your kernel-config:&lt;br /&gt;
 # ../kernel-patches/all/apply/openvz&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
&lt;br /&gt;
You need the following OpenVZ kernel config settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(taken from OpenVZ Kernel 2.6.18-028test010.1 on 686)&lt;br /&gt;
&lt;br /&gt;
Filesystem&lt;br /&gt;
\_ [*] Second extended fs support (CONFIG_EXT2_FS)&lt;br /&gt;
\_ [*] Ext3 journalling file system support (CONFIG_EXT3_FS)&lt;br /&gt;
\_ [M] Quota Support (CONFIG_QUOTA)&lt;br /&gt;
	\_ [*] Compatibility with older quotactl interface (CONFIG_QUOTA_COMPAT)&lt;br /&gt;
	\_ [*]Quota format v2 support (CONFIG_QFMT_V2)&lt;br /&gt;
\_ [*] VPS filesystem (CONFIG_SIM_FS)&lt;br /&gt;
\_ [M] Virtuozzo Disk Quota support	(CONFIG_VZ_QUOTA)&lt;br /&gt;
	\-&amp;gt; [*] Per-user and per-group quota in Virtuozzo quota partitions (VZ_QUOTA_UGID)&lt;br /&gt;
&lt;br /&gt;
Security&lt;br /&gt;
	\-&amp;gt;[ ] Enable different security models&lt;br /&gt;
&lt;br /&gt;
OpenVZ ... (what else :-)&lt;br /&gt;
\_[*] Virtual Environment support (CONFIG_VE)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE calls interface (CONFIG_VE_CALLS)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE networking (CONFIG_VE_NETDEV)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; Virtual ethernet device (CONFIG_VE_ETHDEV)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE device (CONFIG_VZ_DEV)&lt;br /&gt;
	\_ [*] VE netfiltering (CONFIG_VE_IPTABLES)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE watchdog module (CONFIG_VZ_WDOG)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; Checkpointing &amp;amp; restoring Virtual Environments (CONFIG_VZ_CHECKPOINT)&lt;br /&gt;
&lt;br /&gt;
User resources ... (User Beancounters)&lt;br /&gt;
\_ [*] Enable user resource accounting (CONFIG_USER_RESOURCE)&lt;br /&gt;
\_ [*] Account physical memory usage ( CONFIG_USER_RSS_ACCOUNTING)&lt;br /&gt;
\_ [*] Account disk IO (CONFIG_UBC_IO_ACCT)&lt;br /&gt;
\_ [*] Account swap usage (CONFIG_USER_SWAP_ACCOUNTING)&lt;br /&gt;
\_ [*] Report resource usage in /proc (CONFIG_USER_RESOURCE_PROC)&lt;br /&gt;
\_ [*] User resources debug features (CONFIG_UBC_DEBUG)&lt;br /&gt;
\_ [*] Debug kmemsize with cache counters (CONFIG_UBC_DEBUG_KMEM)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|better to build the kernel-headers as well, so afterward other kernel-modules can &lt;br /&gt;
be built without whole kernel tree (e.g.  drbd -&amp;gt; drbd0.7-module-source)}}&lt;br /&gt;
&lt;br /&gt;
See also : &amp;quot;make-kpkg --targets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Compiling ====&lt;br /&gt;
&lt;br /&gt;
Compile your kernel (as user root, or you need the --rootcmd!)&lt;br /&gt;
 # make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd binary-arch&lt;br /&gt;
 or all above with one step &lt;br /&gt;
 # make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd --config menuconfig binary-arch&lt;br /&gt;
&lt;br /&gt;
==== Installing ====&lt;br /&gt;
Install the kernel and update initramfs:&lt;br /&gt;
&lt;br /&gt;
 # dpkg -i ../linux-image-2.6.18-1-openvz_1_i386.deb&lt;br /&gt;
 # update-initramfs -c -k 2.6.18-1-openvz&lt;br /&gt;
&lt;br /&gt;
{{Note|update-initramfs is done, when make-kpkg is use with --initrd option}}&lt;br /&gt;
http://wiki.openvz.org/Installation_on_Debian_%28etch%29#Install_the_toolset&lt;br /&gt;
{{Note|update-grub can be configured by /etc/kernel-img.conf}}&lt;br /&gt;
&lt;br /&gt;
==== Bootloader ====&lt;br /&gt;
&lt;br /&gt;
Update the bootloader (if not done before)&lt;br /&gt;
&lt;br /&gt;
GRUB :&lt;br /&gt;
&lt;br /&gt;
 # /usr/sbin/update-grub&lt;br /&gt;
&lt;br /&gt;
{{Note|since the Debian Etch release the location of update-grub is moved from /sbin/update-grub to /usr/sbin/update-grub}}&lt;br /&gt;
&lt;br /&gt;
=== Installing the Tools and Configuring ===&lt;br /&gt;
&lt;br /&gt;
Continue from here for Etch (current stable) : [[Installation_on_Debian_%28etch%29#Install_the_toolset]]&lt;br /&gt;
&lt;br /&gt;
Continue from here for Sarge (old stable) : [[Installation_on_Debian_%28sarge%29#Installing_the_toolset_and_debian-os-template]]&lt;/div&gt;</summary>
		<author><name>Iamacup</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Compiling_the_OpenVZ_kernel_(the_Debian_way)&amp;diff=3877</id>
		<title>Compiling the OpenVZ kernel (the Debian way)</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Compiling_the_OpenVZ_kernel_(the_Debian_way)&amp;diff=3877"/>
		<updated>2008-01-04T16:10:44Z</updated>

		<summary type="html">&lt;p&gt;Iamacup: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Build your own kernel-image (debian way) ===&lt;br /&gt;
&lt;br /&gt;
==== Installing sources ====&lt;br /&gt;
&lt;br /&gt;
To install the kernel-source and the OpenVZ kernel patch, run:&lt;br /&gt;
 # apt-get install kernel-package linux-source-2.6.18 kernel-patch-openvz libncurses5-dev&lt;br /&gt;
&lt;br /&gt;
==== Unpacking ====&lt;br /&gt;
&lt;br /&gt;
Unpack the kernel source:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 # cd /usr/src&lt;br /&gt;
 # tar xjf linux-source-2.6.18.tar.bz2&lt;br /&gt;
 # cd linux-source-2.6.18&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kernel config ====&lt;br /&gt;
&lt;br /&gt;
You need a kernel config.&lt;br /&gt;
You can use the config of the debian-kernel:&lt;br /&gt;
 # cp /boot/config-2.6.18-5-686 .config&lt;br /&gt;
&lt;br /&gt;
'''Or''' get a 2.6.18 kernel configuration from  &lt;br /&gt;
http://download.openvz.org/kernel/branches/2.6.18/current/configs/ (depending on your architecture; the below example is for i686):&lt;br /&gt;
 # wget http://download.openvz.org/kernel/branches/2.6.18/current/configs/kernel-2.6.18-i686.config.ovz -O .config&lt;br /&gt;
&lt;br /&gt;
==== Patching and configuring ====&lt;br /&gt;
&lt;br /&gt;
Now you can apply the openvz kernel patch and modify your kernel-config:&lt;br /&gt;
 # ../kernel-patches/all/apply/openvz&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
&lt;br /&gt;
You need the following OpenVZ kernel config settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(taken from OpenVZ Kernel 2.6.18-028test010.1 on 686)&lt;br /&gt;
&lt;br /&gt;
Filesystem&lt;br /&gt;
\_ [*] Second extended fs support (CONFIG_EXT2_FS)&lt;br /&gt;
\_ [*] Ext3 journalling file system support (CONFIG_EXT3_FS)&lt;br /&gt;
\_ [M] Quota Support (CONFIG_QUOTA)&lt;br /&gt;
	\_ [*] Compatibility with older quotactl interface (CONFIG_QUOTA_COMPAT)&lt;br /&gt;
	\_ [*]Quota format v2 support (CONFIG_QFMT_V2)&lt;br /&gt;
\_ [*] VPS filesystem (CONFIG_SIM_FS)&lt;br /&gt;
\_ [M] Virtuozzo Disk Quota support	(CONFIG_VZ_QUOTA)&lt;br /&gt;
	\-&amp;gt; [*] Per-user and per-group quota in Virtuozzo quota partitions (VZ_QUOTA_UGID)&lt;br /&gt;
&lt;br /&gt;
Security&lt;br /&gt;
	\-&amp;gt;[ ] Enable different security models&lt;br /&gt;
&lt;br /&gt;
OpenVZ ... (what else :-)&lt;br /&gt;
\_[*] Virtual Environment support (CONFIG_VE)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE calls interface (CONFIG_VE_CALLS)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE networking (CONFIG_VE_NETDEV)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; Virtual ethernet device (CONFIG_VE_ETHDEV)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE device (CONFIG_VZ_DEV)&lt;br /&gt;
	\_ [*] VE netfiltering (CONFIG_VE_IPTABLES)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE watchdog module (CONFIG_VZ_WDOG)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; Checkpointing &amp;amp; restoring Virtual Environments (CONFIG_VZ_CHECKPOINT)&lt;br /&gt;
&lt;br /&gt;
User resources ... (User Beancounters)&lt;br /&gt;
\_ [*] Enable user resource accounting (CONFIG_USER_RESOURCE)&lt;br /&gt;
\_ [*] Account physical memory usage ( CONFIG_USER_RSS_ACCOUNTING)&lt;br /&gt;
\_ [*] Account disk IO (CONFIG_UBC_IO_ACCT)&lt;br /&gt;
\_ [*] Account swap usage (CONFIG_USER_SWAP_ACCOUNTING)&lt;br /&gt;
\_ [*] Report resource usage in /proc (CONFIG_USER_RESOURCE_PROC)&lt;br /&gt;
\_ [*] User resources debug features (CONFIG_UBC_DEBUG)&lt;br /&gt;
\_ [*] Debug kmemsize with cache counters (CONFIG_UBC_DEBUG_KMEM)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|better to build the kernel-headers as well, so afterward other kernel-modules can &lt;br /&gt;
be built without whole kernel tree (e.g.  drbd -&amp;gt; drbd0.7-module-source)}}&lt;br /&gt;
&lt;br /&gt;
See also : &amp;quot;make-kpkg --targets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Compiling ====&lt;br /&gt;
&lt;br /&gt;
Compile your kernel (as user root, or you need the --rootcmd!)&lt;br /&gt;
 # make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd binary-arch&lt;br /&gt;
 or all above with one step &lt;br /&gt;
 # make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd --config menuconfig binary-arch&lt;br /&gt;
&lt;br /&gt;
==== Installing ====&lt;br /&gt;
Install the kernel and update initramfs:&lt;br /&gt;
&lt;br /&gt;
 # dpkg -i ../linux-image-2.6.18-1-openvz_1_i386.deb&lt;br /&gt;
 # update-initramfs -c -k 2.6.18-1-openvz&lt;br /&gt;
&lt;br /&gt;
{{Note|update-initramfs is done, when make-kpkg is use with --initrd option}}&lt;br /&gt;
http://wiki.openvz.org/Installation_on_Debian_%28etch%29#Install_the_toolset&lt;br /&gt;
{{Note|update-grub can be configured by /etc/kernel-img.conf}}&lt;br /&gt;
&lt;br /&gt;
==== Bootloader ====&lt;br /&gt;
&lt;br /&gt;
Update the bootloader (if not done before)&lt;br /&gt;
&lt;br /&gt;
GRUB :&lt;br /&gt;
&lt;br /&gt;
 # /usr/sbin/update-grub&lt;br /&gt;
&lt;br /&gt;
{{Note|since the Debian Etch release the location of update-grub is moved from /sbin/update-grub to /usr/sbin/update-grub}}&lt;br /&gt;
&lt;br /&gt;
=== Installing the Tools and Configuring ===&lt;br /&gt;
&lt;br /&gt;
Continue from here for Etch (current stable) : [[Installation_on_Debian_%28etch%29#Install_the_toolset]]&lt;br /&gt;
Continue from here for Sarge (old stable) : [[Installation_on_Debian_%28sarge%29&amp;amp;action=submit#Installing_the_toolset_and_debian-os-template]]&lt;/div&gt;</summary>
		<author><name>Iamacup</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Compiling_the_OpenVZ_kernel_(the_Debian_way)&amp;diff=3876</id>
		<title>Compiling the OpenVZ kernel (the Debian way)</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Compiling_the_OpenVZ_kernel_(the_Debian_way)&amp;diff=3876"/>
		<updated>2008-01-04T16:04:56Z</updated>

		<summary type="html">&lt;p&gt;Iamacup: New page: === Build your own kernel-image (debian way) ===  ==== Installing sources ====  To install the kernel-source and the OpenVZ kernel patch, run:  # apt-get install kernel-package linux-sourc...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Build your own kernel-image (debian way) ===&lt;br /&gt;
&lt;br /&gt;
==== Installing sources ====&lt;br /&gt;
&lt;br /&gt;
To install the kernel-source and the OpenVZ kernel patch, run:&lt;br /&gt;
 # apt-get install kernel-package linux-source-2.6.18 kernel-patch-openvz libncurses5-dev&lt;br /&gt;
&lt;br /&gt;
==== Unpacking ====&lt;br /&gt;
&lt;br /&gt;
Unpack the kernel source:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 # cd /usr/src&lt;br /&gt;
 # tar xjf linux-source-2.6.18.tar.bz2&lt;br /&gt;
 # cd linux-source-2.6.18&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Kernel config ====&lt;br /&gt;
&lt;br /&gt;
You need a kernel config.&lt;br /&gt;
You can use the config of the debian-kernel:&lt;br /&gt;
 # cp /boot/config-2.6.18-5-686 .config&lt;br /&gt;
&lt;br /&gt;
'''Or''' get a 2.6.18 kernel configuration from  http://download.openvz.org/kernel/branches/2.6.18/current/configs/ (depending on your architecture; the below example is for i686):&lt;br /&gt;
 # wget http://download.openvz.org/kernel/branches/2.6.18/current/configs/kernel-2.6.18-i686.config.ovz -O .config&lt;br /&gt;
&lt;br /&gt;
==== Patching and configuring ====&lt;br /&gt;
&lt;br /&gt;
Now you can apply the openvz kernel patch and modify your kernel-config:&lt;br /&gt;
 # ../kernel-patches/all/apply/openvz&lt;br /&gt;
 # make menuconfig&lt;br /&gt;
&lt;br /&gt;
You need the following OpenVZ kernel config settings:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(taken from OpenVZ Kernel 2.6.18-028test010.1 on 686)&lt;br /&gt;
&lt;br /&gt;
Filesystem&lt;br /&gt;
\_ [*] Second extended fs support (CONFIG_EXT2_FS)&lt;br /&gt;
\_ [*] Ext3 journalling file system support (CONFIG_EXT3_FS)&lt;br /&gt;
\_ [M] Quota Support (CONFIG_QUOTA)&lt;br /&gt;
	\_ [*] Compatibility with older quotactl interface (CONFIG_QUOTA_COMPAT)&lt;br /&gt;
	\_ [*]Quota format v2 support (CONFIG_QFMT_V2)&lt;br /&gt;
\_ [*] VPS filesystem (CONFIG_SIM_FS)&lt;br /&gt;
\_ [M] Virtuozzo Disk Quota support	(CONFIG_VZ_QUOTA)&lt;br /&gt;
	\-&amp;gt; [*] Per-user and per-group quota in Virtuozzo quota partitions (VZ_QUOTA_UGID)&lt;br /&gt;
&lt;br /&gt;
Security&lt;br /&gt;
	\-&amp;gt;[ ] Enable different security models&lt;br /&gt;
&lt;br /&gt;
OpenVZ ... (what else :-)&lt;br /&gt;
\_[*] Virtual Environment support (CONFIG_VE)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE calls interface (CONFIG_VE_CALLS)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE networking (CONFIG_VE_NETDEV)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; Virtual ethernet device (CONFIG_VE_ETHDEV)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE device (CONFIG_VZ_DEV)&lt;br /&gt;
	\_ [*] VE netfiltering (CONFIG_VE_IPTABLES)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; VE watchdog module (CONFIG_VZ_WDOG)&lt;br /&gt;
	\_ &amp;lt;M&amp;gt; Checkpointing &amp;amp; restoring Virtual Environments (CONFIG_VZ_CHECKPOINT)&lt;br /&gt;
&lt;br /&gt;
User resources ... (User Beancounters)&lt;br /&gt;
\_ [*] Enable user resource accounting (CONFIG_USER_RESOURCE)&lt;br /&gt;
\_ [*] Account physical memory usage ( CONFIG_USER_RSS_ACCOUNTING)&lt;br /&gt;
\_ [*] Account disk IO (CONFIG_UBC_IO_ACCT)&lt;br /&gt;
\_ [*] Account swap usage (CONFIG_USER_SWAP_ACCOUNTING)&lt;br /&gt;
\_ [*] Report resource usage in /proc (CONFIG_USER_RESOURCE_PROC)&lt;br /&gt;
\_ [*] User resources debug features (CONFIG_UBC_DEBUG)&lt;br /&gt;
\_ [*] Debug kmemsize with cache counters (CONFIG_UBC_DEBUG_KMEM)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|better to build the kernel-headers as well, so afterward other kernel-modules can &lt;br /&gt;
be built without whole kernel tree (e.g.  drbd -&amp;gt; drbd0.7-module-source)}}&lt;br /&gt;
&lt;br /&gt;
See also : &amp;quot;make-kpkg --targets&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Compiling ====&lt;br /&gt;
&lt;br /&gt;
Compile your kernel (as user root, or you need the --rootcmd!)&lt;br /&gt;
 # make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd binary-arch&lt;br /&gt;
 or all above with one step &lt;br /&gt;
 # make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd --config menuconfig binary-arch&lt;br /&gt;
&lt;br /&gt;
==== Installing ====&lt;br /&gt;
Install the kernel and update initramfs:&lt;br /&gt;
&lt;br /&gt;
 # dpkg -i ../linux-image-2.6.18-1-openvz_1_i386.deb&lt;br /&gt;
 # update-initramfs -c -k 2.6.18-1-openvz&lt;br /&gt;
&lt;br /&gt;
{{Note|update-initramfs is done, when make-kpkg is use with --initrd option}}&lt;br /&gt;
http://wiki.openvz.org/Installation_on_Debian_%28etch%29#Install_the_toolset&lt;br /&gt;
{{Note|update-grub can be configured by /etc/kernel-img.conf}}&lt;br /&gt;
&lt;br /&gt;
==== Bootloader ====&lt;br /&gt;
&lt;br /&gt;
Update the bootloader (if not done before)&lt;br /&gt;
&lt;br /&gt;
GRUB :&lt;br /&gt;
&lt;br /&gt;
 # /usr/sbin/update-grub&lt;br /&gt;
&lt;br /&gt;
{{Note|since the Debian Etch release the location of update-grub is moved from /sbin/update-grub to /usr/sbin/update-grub}}&lt;br /&gt;
&lt;br /&gt;
=== Installing the Tools and Configuring ===&lt;br /&gt;
&lt;br /&gt;
Continue from here for Etch (current stable) : [[Installation_on_Debian_%28etch%29#Install_the_toolset]]&lt;/div&gt;</summary>
		<author><name>Iamacup</name></author>
		
	</entry>
</feed>