LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   OpenVZ on Slackware, 1st try. (https://www.linuxquestions.org/questions/slackware-14/openvz-on-slackware-1st-try-753339/)

Sum1 09-07-2009 10:46 AM

OpenVZ on Slackware, 1st try.
 
Currently running Slackware64 ver. 13.0 on a computer with 2 partitions: /dev/sda1 (swap) and /dev/sda2 (/).

Q1. In order to create VFS containers using OpenVZ, is it necessary to create another partition (/dev/sda3) to place the virtual file systems?

- - - - - - - - -

Q2. What kernel can I recompile and use?

I am currently using the ext4 file system and would like to continue do so. I am also using the "huge.s" kernel 2.6.29.6 that comes with Slackware 13. I would like to use kernel 2.6.29.6 or download 2.6.30.5 from kernel.org; however, according to the wiki I've started following - http://wiki.openvz.org/Kernel_build - it sounds like I have to one particular kernel version and apply one particular patch to make openvz functional:

Rebuilding kernel from sources
Download

To compile OpenVZ linux kernel one need to download the original linux kernel sources and OpenVZ patches for it.

Linux kernel can be found at kernel.org, e.g. 2.6.18 kernel can be downloaded from here.

Appropriate OpenVZ patches for this kernel version can be found at http://openvz.org/download/kernel/branches/<branch>/<version>/patches/. For example, at the moment there is a patch patch-ovz028stab056.1-combined.gz available.

Can I use a newer kernel and find the right openvz patch for it?

- - - - - - - - - - -

Q3. I've been reading the hardware and software requirements for OpenVZ in the Users' Guide and if I'm understanding correctly, it can be installed in either 32 or 64-bit operating systems. Is this correct? Or do I need to install Alien Bob's "multilib" solution to allow 32 bit applications to operate on 64-bit Slackware?


Thank you for your time, patience, and help; the initial learning curve for VFS can be a bit tricky.


All times are GMT -5. The time now is 02:55 AM.