Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Compiling the OpenVZ kernel (the Debian way)

413 bytes added, 18:51, 28 January 2010
Installing sources
== Lenny and above ==
 
Debian Lenny already includes an openvz kernel (linux-image-${version}-openvz-${arch}), so the manual compilation is not necessary in many cases.
 
== Installing sources ==
To On Etch, to install the kernel-source and the OpenVZ kernel patch, run:
# apt-get install kernel-package linux-source-2.6.18 kernel-patch-openvz libncurses5-dev
 
For Lenny running kernels before 2.6.29 run the following:
# apt-get install kernel-package linux-source-2.6.18 linux-patch-openvz libncurses5-dev
Since kernel 2.6.29 the patch is now included in Debian kernel source. Run only the following and ignore references to the patch further down this page:
# apt-get install kernel-package linux-source-2.6 libncurses5-dev
== Unpacking ==
{{Note|since the Debian Etch release the location of update-grub is moved from /sbin/update-grub to /usr/sbin/update-grub}}
 
LILO:
 
# lilo
== Installing the Tools and Configuring ==
Continue from here for Etch (current stable): with [[Installation on Debian (etch)#Install the toolset]] Continue from here for Sarge (old stable): [[Installation on Debian (sarge)#Installing the toolset and Debian OS templateuser-level tools]]
[[Category: Debian]]
[[Category: Installation]]
[[Category: Kernel]]
Anonymous user