Changes

Jump to: navigation, search

Creating OpenVZ LiveCD

605 bytes added, 11:02, 17 April 2007
Step-by-step actions: We need to use original config from KNOPPIX!
</pre>
Now we should set up OpenVZ environment in obtained tree: kernel, vzctl, vzquota, template. For vzctl and vzquota we can use precompiled packages from http://debian.systs.org. But at the moment we have to create kernel Debian package by self, because we need additional patches in order all to work smoothly (but it will be unnecessary soon, when patches will be included in main OpenVZ patch). This is important to use KNOPPIX default kernel config! The creators of LiveCD take a lot of care about customizing config file in such manner, that CD will suite as many users as possible. We shouldn't throw away such great job. We do `make oldconfig` and press enter all the time. Additionally CONFIG_MATH_EMULATION should be turn off at the moment. (http://bugzilla.openvz.org/show_bug.cgi?id=433)I created a Debian VE on my machine and install there kernel-package package, that allows to create Debian kernel packages easily. After that the creation of package is something like that:
<pre>
mkdir ovz-kernel
mv linux-2.6.18 linux-2.6.18-8.el5-028test027
vim linux-2.6.18-8.el5-028test027/Makefile # here we add right extraversion: -8.el5-028test027
cp kernellinux-2.6.19 linux-2.6.18-i686/.config.ovz cd linux-2.6.18/-8.el5-028test027make oldconfig # pressing enter herevim .config # switching off CONFIG_MATH_EMULATION
make-kpkg --revision=.1 kernel_image
cd ..
cd ..
</pre>
172
edits

Navigation menu