Web Hosting Talk







View Full Version : Virtualbox VM on OpenVZ CENTOS kernel


whuser99
02-05-2010, 02:45 PM
I need a Canadian VPS provider that can run my winows apps. I found an affordable linux vps (my budget is very small), but am having problems with running virtualbox on the openvz kernel.

CentOS 5 32-bit VPS openvz
virtualbox 2.2.4 running winxp

After some research:

Some say virtualbox cannot work on an openvz kernel because of some bugs in virtualbox that make it incompatible.

Others say it is possible. I have practically no linux experience.

Can anyone help me get it working? Or offer another way to run my xp virtualbox image?

Virtualbox installs, but there is a kernel error when starting a VM using VBoxHeadless command.

JTY
02-06-2010, 12:06 AM
What error message are you receiving from VirtualBox?

whuser99
02-06-2010, 11:15 AM
There is a kernel error when trying to install the vboxdrv driver.

whuser99
02-06-2010, 11:22 AM
Virtualbox will install but not run without the driver.

rghf
02-06-2010, 11:23 AM
OpenVZ doesn't support the real time loading of modules in guests hence why this won't work

whuser99
02-06-2010, 11:26 AM
Sorry for the short posts, i'm trying to get my post count to 5 so i can post a link.

whuser99
02-06-2010, 12:20 PM
Or i could just post this, by "irontowngeek" on openvz forum:

<QUOTE>

Running Virtualbox on a CENTOS 5 LINUX Hardware Node,requires no more effort to install,as you would any LINUX machine.
Why go through all this compiling of code,unless you are using the Open Source version of Virtualbox.
The short story is;

1. Download and install on the HN,the OVZ kernel source code,AND,the OVZ development headers,for the CENTOS 5 kernel
(2.18.53.1)
These files are (or was),available from the OpenVZ website.
2. Download and install the *.rpm of Virtualbox for RHEL5,or use the generic installer.

It works like a charm.
I run a Windows 2003 Server as DNS,along side my HN,in VRDP
server mode. ( Windows DNS is easier than BIND)
Has virtual Ethernet working via bridging on the HN.
Running the Virtualbox VM,has very little impact on the HN resources.

<ENDQUOTE>

Can someone confirm or deny?

rghf
02-06-2010, 12:29 PM
Do you have access to the host machine? If not thats not going to work

Rus

whuser99
02-06-2010, 12:31 PM
i have root ssh access, and the tech support is quite helpful, but he doesn't know how to get virtualbox working on an openvz kernel.

rghf
02-06-2010, 12:33 PM
Short answer is you do NOT have access to the host machine going from your last statment. As such this isn't going to work for you in this case.

whuser99
02-06-2010, 12:35 PM
Do you mean physical access? Please explain.

<edit> I think i see what you mean. The host provider would need to make changes to the host that would affect all the guest nodes. Is that what you're getting at?

rghf
02-06-2010, 12:38 PM
I think i see what you mean. The host provider would need to make changes to the host that would affect all the guest nodes. Is that what you're getting at?

Spot on. I would be very surprised if they did do that

whuser99
02-06-2010, 12:40 PM
Lets pretend that he is willing/able. What would need to be done?

[JSH]John
02-06-2010, 03:15 PM
They would have to install VirtualBox on the server and give you access to it. I highly doubt they'll do that. If you want to do this you're best off renting your own dedicated server.

SC-Daniel
02-06-2010, 03:22 PM
Or just get a Windows VPS to begin with ;)

whuser99
02-07-2010, 05:20 PM
A Windows VPS costs 2.5x more than I have budgeted for. Now i know why Bill is so rich.

What about QEMU? It is a simple procedure to convert virtualbox images to QEMU format. Would QEMU run on the openvz kernel?

whuser99
02-07-2010, 10:06 PM
I have QEMU up in headless mode and running, and windows does begin to boot up from my (ex-virtualbox) image , but it BSOD's after showing the windows boot logo.

qemu-system-x86_64 -hda myimage.img -m 384 -vnc :1

I can connect with VNC, mouse and kb work.

Next i will try a NativeEx winxp Live CD.

Failing that, a fresh install from XP iso.

whuser99
02-08-2010, 07:42 PM
Problem: performance is bad in QEMU. Can't install KQEMU accelerator because of OpenVZ kernel. Now what?

I have a good offer from Perfohost. They are offering a KVM VPS. Can succesfully run winxp on QEMU in accelerated mode with this?