Running virtualbox on linode?
Does anyone know if it's possible to run vitualbox on linode?
15 Replies
@jiwhang:
Hi,
Does anyone know if it's possible to run vitualbox on linode?
No you can't Linode is a VPS "Virtual Private Server" you can't run "Virtualbox" in Linode
Besides even attempting to run a VM under a VM is ….. well … we'll leave it at that.
@marcus0263:
Correct me if I'm wrong but doesn't it have it's own kernel mod's like vboxdrv?
@mwalling:it looks like it just uses a kernel module on the host
By host in this context, I meant your Linode, since that is the host for vbox.
@mwalling:
@marcus0263:Correct me if I'm wrong but doesn't it have it's own kernel mod's like vboxdrv?
@mwalling:it looks like it just uses a kernel module on the host
By host in this context, I meant your Linode, since that is the host for vbox.
Exactly, you have to use Linode's Kernel and again correct me if I'm wrong but you "can't" load any kernel modules with Linode.
So you can't load up the vboxdrv kernel module
I don't know if vbox will work in xen though. Worth a try, I guess.
@caker:
What is Xen, you ask? Xen is a virtualization technology that provides a few benefits over User Mode Linux, namely: performance, the ability to have SMP Linodes, and kernel modules.
From
@caker:
Last night I released a new Xen kernel, 2.6.18.8-domU-linode5, which "Latest 2.6" now points to. It's built from the latest stable Xen tree (Xen 3.2.0), and does have module support enabled. Most likely you'll need to source to this tree to build modules – so I'll make that available soon.
Anyway back to the point, running a VM in a VM? Really ….
From the thread
@caker:
Last night I released a new Xen kernel, 2.6.18.8-domU-linode5, which "Latest 2.6" now points to. It's built from the latest stable Xen tree (Xen 3.2.0), and does have module support enabled. Most likely you'll need to source to this tree to build modules – so I'll make that available soon.
As far as custom kernels and other weird things: I do see support in the future, but I want to get to a point where the platform is stable first.-Chris
I think that falls well into that category
@marcus0263:
MMM I could have swore that was one of the restrictions with Linode was no Kernel Mod's ….
That was (is) the case with UML-based linodes, but no longer with nodes that have been created on (or migrated to) Xen.
I'm using Ubuntu Server Image from linode, i downloaded VirtualBoxOSE2.0.4 and compiled it.
The kernel i used 2.6.18.8-linode10.tar.bz2
In order to enable load vboxdrv module i download kernel source from
Untar in /usr/src/linux
copied kernel config from /proc/config.gz gunziped and moved to .conf in the kernel
then builded kernel modules and installed
sudo make modules
sudo make modueles_install
The vboxdrv magic differs with the gcc version, but forcing module should work, but gives the error
vboxdrv: Unknown symbol registercpunotifie
Reading in vbox forums
registercpunotifier is part of the SMP support in the Linux kernel. I guess that this is missing from the VectorLinux 2.6.20 kernel.
But is clear that linode kernel enable SMP in the kernels.
I'm trying to do this with a newer kernel version from linode.
I hope do a guide howto vbox linode soon
=P
Finally i get it.
Just do what i tell.
I tried with the 2.6.26.lino13 version and WORKS, i recompiled the vboxdrv module, and now i'm running Vbox !!
At nigth i'll post a full howto
invalid opcode: 0000 [#1] SMP
Modules linked in: vboxdrv(F)
Pid: 4336, comm: VirtualBox Tainted: GF (2.6.26-linode13 #1)
EIP: 0061:[
EIP is at 0xd7250172
EAX: 00000000 EBX: d7228000 ECX: 00000000 EDX: 00000000
ESI: 0abde000 EDI: 00000000 EBP: ca831eb8 ESP: ca831ce8
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069
Process VirtualBox (pid: 4336, ti=ca830000 task=cb05d400 task.ti=ca830000)
Stack: 0abde000 00000000 d7228000 00000000 00001000 cccaf4d4 fd2f06c6 002b5384
00002620 00000000 00000005 00000000 00000005 00000000 00000000 00000000
00000000 00000041 0000002c 00000000 000027ff 00000000 00002000 00000000
Call Trace:
[
[
[
[
[
[
[
[
[
[
[
[
[
=======================
Code: 89 95 54 fe ff ff 31 d2 89 d1 25 00 20 00 00 09 c1 75 0c 8b 85 50 fe ff ff 80 cc 20 0f 22 e0 89 fa 89 f0 31 c9 89 d0 31 d2 50 56
EIP: [
–-[ end trace a58d89095bf664fd ]–-
And no more…
Unless the virtualbox kernel module has specifically been written to either not require ring 0 calls, or to replace those ring 0 calls with Xen hypervisor calls when running on Xen, then virtualbox won't be able to run on a Xen kernel.
Now i have to think in other idea to solve my problem.
My problem is that i need to install SPSSv16 Linux, in the server. To add a license a need a graphical enviroment, i used FreeNX. But SPSS detect FreeNX as NT Terminal Server and my license don't support that feature.