User talk:Alk3
How to, Debian Lenny with Linux Kernel 2.6.24.
Notes: Only tested on a Intel DG33FB Mobo.
First thing first. Install build-essential and kernel-package.
- 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.
- 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.
- cd /usr/src
- ln -s /usr/src/linux-2.6.24-openvz linux
- cp /boot/config-2.6.24-g33.4-ovz .config
Check that your kernel is configured correctly to be 100% sure.
- 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.
- 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.
- cd ../
- 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/