Open main menu

OpenVZ Virtuozzo Containers Wiki β

User talk:Alk3

Revision as of 07:12, 4 March 2008 by Alk3 (talk | contribs) (New page: How to, Debian Lenny with Linux Kernel 2.6.24. First thing first. Install build-essential and kernel-package. # apt-get install build-essential kernel-package Then you need to go to th...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to, Debian Lenny with Linux Kernel 2.6.24.

First thing first. Install build-essential and kernel-package.

  1. apt-get install build-essential kernel-package

Then you need to go to the git.openvz.org site and clone the 2.6.24 branch.

  1. cd /usr/src ; git clone git://git.openvz.org/pub/linux-2.6.24-openvz

Copy the kernel configuration file to your source directory and create your symlink for kernel modules that are installed later by module-assistant.

  1. cd /usr/src
  2. ln -s /usr/src/linux-2.6.24-openvz linux
  3. cp /boot/config-2.6.24-g33.4-ovz .config

Check that your kernel is configured correctly to be 100% sure.

  1. make menuconfig

..make any changes.. ..save config file..

Now you should build your kernel with kernel package if you wish to have a .deb archive.

  1. make-kpg --initrd --append-to-version -ovz kernel_image kernel_headers kernel_source

Kernel-package will then generate your .deb archive of your new kernel, kernel headers, and kernel source.

  1. cd ../
  2. dpkg -i linux-image-2.6.24-ovz.deb linux-headers-2.6.24-ovz.deb linux-source-2.6.24-ovz.deb

(your packages will be named something else)

You can find the Debian packages and the kernel config I made, here: http://exitstatusone.com/openvz/

Return to the user page of "Alk3".