Installing OpenVZ on Debian? [message #5097] |
Fri, 11 August 2006 12:46 |
Daniel15
Messages: 2 Registered: August 2006 Location: Melbourne, Australia
|
Junior Member |
|
|
Hi everyone,
I'm trying to install OpenVZ on Debian, but I'm running into some problems.
Firstly, I tried the packages at 'debian.systs.org' but that didn't work. The kernel installed fine, but when I tried to boot, it couldn't mount my root partition (I'm assuming this is because I'm using LVM, which I don't think was compiled into that kernel).
Having failed that, I thought I should compile the kernel myself. I installed the 'kernel-patch-openvz' package, and followed all steps as shown on the Installation on Debian page in the Wiki. However, once I got to the final step, it wouldn't compile. This is the output I got:
server1:/usr/src/linux-2.6.16# cp kernel-2.6.16-026test015-i686.config.ovz .config
server1:/usr/src/linux-2.6.16# make-kpkg --added_patches openvz
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian KPKG_SELECTED_PATCHES="openvz"
====== making target minimal_debian [new prereqs: ]======
This is kernel package version .
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed -e 's/=V/2.6.16/g' \
-e 's/=D/2.6.16-10.00.Custom/g' -e 's/=A/i386/g' \
-e 's/=SA//g' -e 's/=L/ /g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
/usr/share/kernel-package/Control > debian/control
test -f debian/changelog || sed -e 's/=V/2.6.16/g' \
-e 's/=D/2.6.16-10.00.Custom/g' -e 's/=A/i386/g' \
-e 's/=ST/linux/g' -e 's/=B/i386/g' \
-e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
/usr/share/kernel-package/changelog > debian/changelog
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog Control Control.bin86 config templates.in rules; do \
cp -f /usr/share/kernel-package/$file ./debian/; \
done
for dir in Config docs examples ruleset scripts pkg po; do \
cp -af /usr/share/kernel-package/$dir ./debian/; \
done
test -d ./debian/stamps || mkdir debian/stamps
exec debian/rules KPKG_SELECTED_PATCHES="openvz"
nothing to be done.
I followed all the steps as shown on the Wiki page (with the exception of getting the standard i686 config file, rather than the SMP one). What am I doing wrong?
|
|
|
Re: Installing OpenVZ on Debian? [message #5106 is a reply to message #5097] |
Fri, 11 August 2006 13:39 |
Daniel15
Messages: 2 Registered: August 2006 Location: Melbourne, Australia
|
Junior Member |
|
|
Heh, I suppose it doesn't matter anymore. I reformatted, and this time, didn't bother using LVM (Just a normal partitioning scheme, with the root [/] partition on the first, 8 GB hard drive, and the /home and /var partitions on the second hard drive, a 10 GB drive. The reason I used LVM was to utilize both hard drive, but I like the way I'm doing it now, it's a lot simpler to manage )
Anyways, I'll try the precompiled package, and tell you how I go
EDIT: OK, that didn't work. I installed the package, but it didn't like my network card (a Realtek RTL8139-based card)
I tried compiling, with the same result... What should I do?
[Updated on: Fri, 11 August 2006 14:21] Report message to a moderator
|
|
|
|
Re: Installing OpenVZ on Debian? [message #5122 is a reply to message #5097] |
Mon, 14 August 2006 01:42 |
|
curx
Messages: 739 Registered: February 2006 Location: Nürnberg, Germany
|
Senior Member |
|
|
Hi,
@Daniel15:
The kernel-images from debian.systs.org are using the kernel-configs from openvz.org.
The configs are stored in the kernel-source under ./configs
e.g. -smp ones
Which kind of network card do you use, the driver of 8139 is build as a kernel module.
CONFIG_8139CP=m
CONFIG_8139TOO=m
CONFIG_8139TOO_PIO=y
CONFIG_8139TOO_8129=y
So can you you explain, whats going wrong ?
Regards,
Thorsten
--
tsd@debian.systs.org
[Updated on: Mon, 14 August 2006 01:54] Report message to a moderator
|
|
|