VirtualBox

Hi,

We are deploying a CI Environment using Jenkins and Vagrant and are considering Linode to host it. However, I would like to clarify if Linode VMs would support Vagrant (and hence Virtualbox ?). My understanding is that since Linodes are themselves VMs, they won't let us create Virtual Box VMs. Please confirm.

Thanks.

1 Reply

Using Ubuntu 12.04 LTS (x8664) with kernel 3.2.0-36-virtual #57-Ubuntu (via PV-GRUB) on a Linode, I can install Oracle's virtualbox-4.24.2.6-82870~Ubuntu~precise_amd64.deb, but it refuses to work under Xen:

root@li481-93:~# cat /proc/version
Linux version 3.2.0-36-virtual (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #57-Ubuntu SMP Tue Jan 8 22:04:49 UTC 2013
root@li481-93:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:    12.04
Codename:    precise
root@li481-93:~# virtualbox 
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.2.0-36-virtual) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
root@li481-93:~# /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel modules                                                                                                                                     [ OK ] 
 * Removing old VirtualBox pci kernel module                                                                                                                              [ OK ] 
 * Removing old VirtualBox netadp kernel module                                                                                                                           [ OK ] 
 * Removing old VirtualBox netflt kernel module                                                                                                                           [ OK ] 
 * Removing old VirtualBox kernel module                                                                                                                                  [ OK ] 
 * Recompiling VirtualBox kernel modules                                                                                                                                  [ OK ] 
 * Starting VirtualBox kernel modules                                                                                                                                            
 * Running VirtualBox in a Xen environment is not supported
root@li481-93:~# virtualbox 
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.2.0-36-virtual) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.

You might want to consider either modifying vagrant to use Linode as a virtualization platform instead of VirtualBox, or replicating its functionality using StackScripts. You can delete and recreate disk images easily via the API.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct