OpenVZ on CentOS 4.2 [message #2055] |
Fri, 17 March 2006 12:53 |
czaveri
Messages: 7 Registered: March 2006
|
Junior Member |
|
|
On a fresh install of CentOS 4.2, I tried to install OpenVZ using three different methods and encountered failure in some way:
Method 1. Source RPM. This is the source rpm that I used:
http://download.openvz.org/kernel/022stab070.1/ovzkernel-2.6 .8-022stab070.1.src.rpm
Result: Some error regarding Intel Microcode on boot and that MAC address is not as expected, finally, on checking /sbin/ifconfig I noticed that the interface for which I receive the MAC address error was missing .... please see result of dmesg below.
What I did exactly: Downloaded the above srpm and said "rpmbuild --rebuild --target=i686 ovzkernel-2.6.8-022stab070.1.src.rpm". Then I went to RPMS directory and installed the rpm using -ivh flags. (I received a warning here about module ata_piix).
Method 2. RPM. This is the rpm that I used:
http://download.openvz.org/kernel/022stab070.1/ovzkernel-2.6 .8-022stab070.1.i686.rpm
Result: Same error as above.
What I did exactly: Downloaded the above rpm and simply said "rpm -ivh ovzkernel-2.6.8-022stab070.1.i686.rpm".
(I received a warning here about module ata_piix).
Method 3: Patch. Patching the kernel:
Kernel:
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.tar. bz2
Patch:
http://download.openvz.org/kernel/022stab070.1/patches/patch -022stab070-combined.gz
Result: The vanilla kernel is bootable and fine. After patching, I get error in make step.
Compiled and installed the vanilla kernel first, using the following commands:
make mrproper
make xconfig
make
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinux-2.6.8
cp System.map /boot/System.map /boot/System.map-2.6.8
/sbin/mkinitrd /boot/initrd-2.6.8.img 2.6.8
gunzip patch-022stab070-combined.gz
patch -p1 <patch-022stab070-combined
make oldconfig
make
(I received error here)
the output of dmesg is in attached file.
Please let me know if further information is required.
It is a P4 CPU @ 3.0 GHz, 2 GB RAM and 2 SATA HDD each one 80 GB. The second hdd is under partition /vz.
Thank-you,
Sincerely,
Chintan Zaveri.
[Updated on: Fri, 17 March 2006 13:12] Report message to a moderator
|
|
|