OpenVZ Forum


Home » General » Support » Installing OpenVZ on Debian?
Installing OpenVZ on Debian? [message #5097] Fri, 11 August 2006 12:46 Go to previous message
Daniel15 is currently offline  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?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: find: WARNING: Hard link count is wrong for /proc/1
Next Topic: Unknown symbols in vzdquota?
Goto Forum:
  


Current Time: Sat Jul 27 11:41:14 GMT 2024

Total time taken to generate the page: 0.02839 seconds