Editing Creating OpenVZ LiveCD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 89: | Line 89: | ||
</pre> | </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 | + | 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: | 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> | <pre> | ||
Line 106: | Line 106: | ||
cd linux-2.6.18-8.el5-028test027 | cd linux-2.6.18-8.el5-028test027 | ||
make oldconfig # pressing enter here | make oldconfig # pressing enter here | ||
− | vim .config # switching off | + | vim .config # switching off CONFIG_MATH_EMULATION |
make-kpkg --revision=.1 kernel_image | make-kpkg --revision=.1 kernel_image | ||
cd .. | cd .. |