OpenVZ Forum


Home » General » Support » Need help with installing OpenVZ on Ubuntu 10.04
Need help with installing OpenVZ on Ubuntu 10.04 [message #40666] Thu, 16 September 2010 09:27 Go to next message
Marshall is currently offline  Marshall
Messages: 3
Registered: September 2010
Junior Member

Hello,

i was trying to install that OpenVZ on my Ubuntu 10.04
i found this link on https://help.ubuntu.com/community/OpenVZ & was doing exactly what it said.


till i came to this part:

Build the Kernel
sudo fakeroot make-kpkg --initrd --append-to-version=-ovz32 --revision=1.0 kernel_image kernel_headers

& i got this error


test -f debian/control || sed -e 's/=V/2.6.32.14-ovz32/g' \
-e 's/=D/1.0/g' -e 's/=A/amd64/g' \
-e 's/=SA//g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/echo "CONCURRENCY_LEVEL := 2" >> /etc/kernel-pkg.conf <xxxx>/g' \
-e 's/=ST/linux/g' -e 's/=B/x86_64/g' \
/usr/share/kernel-package/Control > debian/control
sed: -e expression #7, char 41: unknown option to `s'
make: *** [debian/stamp/conf/minimal_debian] Error 1
Failed to create a ./debian directory: Bad file descriptor at /usr/bin/make-kpkg line 971.
root@St0rm:/usr/src/linux#

i don't know what to do
i really need OpenVZ installed & i can't fix this error.

btw i am using a Acer Aspire 5741G laptop with inter i5 processor 430M & 4G DDR3 rams.


Thanks all
Re: Need help with installing OpenVZ on Ubuntu 10.04 [message #40668 is a reply to message #40666] Fri, 17 September 2010 11:13 Go to previous messageGo to next message
Sov1et is currently offline  Sov1et
Messages: 9
Registered: September 2010
Location: Ukraine Donetsk
Junior Member

Look at Debian packages: http://packages.debian.org/squeeze/linux-headers-2.6.32-5-op envz-686
And try to use this kernels. Profit: you use 2.6.32 kernel (same in 10.04) plus use debian kernel patches.
Re: Need help with installing OpenVZ on Ubuntu 10.04 [message #40673 is a reply to message #40668] Fri, 17 September 2010 12:50 Go to previous messageGo to next message
Marshall is currently offline  Marshall
Messages: 3
Registered: September 2010
Junior Member

Hello,

I installed that patch but i still get errors

root@St0rm:/usr/src# mkinitramfs -k linux-headers-2.6.32-5-common-openvz -o /boot/initrd.img-2.6.32-5-common-openvz
Cannot find /lib/modules/linux-headers-2.6.32-5-common-openvz
root@St0rm:/usr/src# mkinitramfs -k 2.6.32-5-common-openvz -o /boot/initrd.img-2.6.32-5-common-openvz
Cannot find /lib/modules/2.6.32-5-common-openvz
root@St0rm:/usr/src#


i am sorry i am a newbie & i need things to be explained more :/

Re: Need help with installing OpenVZ on Ubuntu 10.04 [message #40674 is a reply to message #40673] Fri, 17 September 2010 13:46 Go to previous messageGo to next message
Sov1et is currently offline  Sov1et
Messages: 9
Registered: September 2010
Location: Ukraine Donetsk
Junior Member

Read this http://www.howtoforge.com/installing-and-using-openvz-on-ubu ntu-10.04

[Updated on: Fri, 17 September 2010 13:46]

Report message to a moderator

Re: Need help with installing OpenVZ on Ubuntu 10.04 [message #40675 is a reply to message #40674] Fri, 17 September 2010 16:53 Go to previous message
Marshall is currently offline  Marshall
Messages: 3
Registered: September 2010
Junior Member

i still get errors :/

got one with that step.

fakeroot make-kpkg --initrd --append-to-version=-ovz32 --revision=1.0 kernel_image kernel_headers

also here

root@St0rm:/usr/src# mkinitramfs -k linux-headers-2.6.32-5-common-openvz -o /boot/initrd.img-2.6.32-5-common-openvz
Cannot find /lib/modules/linux-headers-2.6.32-5-common-openvz
root@St0rm:/usr/src# mkinitramfs -k linux-2.6.32-5-common-openvz -o /boot/initrd.img-2.6.32-5-common-openvz
Cannot find /lib/modules/linux-2.6.32-5-common-openvz
root@St0rm:/usr/src# mkinitramfs -k linux-2.6.32-openvz -o /boot/initrd.img-2.6.32-5-common-openvz
Cannot find /lib/modules/linux-2.6.32-openvz
root@St0rm:/usr/src#


mate i will add u in ICQ.. hope u don't mind
mine is 47474..

Thank u
Previous Topic: How to start script when the VE starts
Next Topic: Backup running VM using tar
Goto Forum:
  


Current Time: Thu Jul 18 03:27:38 GMT 2024

Total time taken to generate the page: 0.02688 seconds