6,534
edits
Changes
fix headings, categorized
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
Unpack the kernel source:
</pre>
You need a kernel config.
# wget http://download.openvz.org/kernel/branches/2.6.18/current/configs/kernel-2.6.18-i686.config.ovz -O .config
Now you can apply the openvz kernel patch and modify your kernel-config:
You need the following OpenVZ kernel config settings:
(taken from OpenVZ Kernel 2.6.18-028test010.1 on 686)
<pre>
Filesystem
\_ [*] Second extended fs support (CONFIG_EXT2_FS)
See also : "make-kpkg --targets"
Compile your kernel (as user root, or you need the --rootcmd!)
# make-kpkg --append_to_version=-1-openvz --added_patches=openvz --revision=1 --initrd --config menuconfig binary-arch
Install the kernel and update initramfs:
{{Note|update-grub can be configured by /etc/kernel-img.conf}}
Update the bootloader (if not done before)
{{Note|since the Debian Etch release the location of update-grub is moved from /sbin/update-grub to /usr/sbin/update-grub}}
Continue from here for Etch (current stable): [[Installation on Debian (etch)#Install the toolset]]
Continue from here for Sarge (old stable): [[Installation on Debian (sarge)#Installing the toolset and debian-os-template]]
[[Category: Debian]]
[[Category: Installation]]
[[Category: Kernel]]