e

VirtualBox and Bodhi

This page contains information both about running Bodhi as the VirtualBox host and running Bodhi in a VirtualBox Guest OS.

Installing VirtualBox (Bodhi as the Host OS)

The Command-Line Way

From the terminal, run:

$ sudo apt-get update
$ sudo apt-get install virtualbox-4.2 linux-headers-$(uname -r) build-essential

You will be prompted to enter your password. Do so, and wait for it to download and install. You'll find VirtualBox under Applications→System Tools→VirtualBox. (may require an enlightenment restart)

Host USB Support

After installing Virtual Box download and install the virtual box extensions pack from here.

After installing that open a terminal and run:

if [ "`grep vboxusers /etc/group|grep $USER`" == "" ] ; then sudo usermod -G vboxusers -a $USER ; fi

Log out and log back in and you should be good to go.

Installing Guest Additions (Bodhi as the Guest OS)

Guest Additions allows you to run a Virtual Machine in a full-screen window.

Installing Guest Additions in a Bodhi VM is a three step process.

First, be sure that you have updated your sources before you begin. Open a terminal and run:

$ sudo apt-get update

Second, you need to install two packages. In the open terminal, run:

$ sudo apt-get install build-essential linux-headers-$(uname -r)

Once the above command has done it's magic (it should download around 30~meg worth of files) go to the menu at the top of the VM window and select Devices→Install Guest Additions

Open a terminal and navigate to the location where the Guest Additions “CD” is mounted:

$ cd /media/VBOXADDITIONS-[version #]

Run this command to launch the installer:

$ sudo ./VBoxLinuxAdditions.run

If the “cd /media/VBOXADDITIONS-<version #>/” fails, following the GUI method will sometimes fix the issue. The mounting of the iso through Devices→Install Guest Additions does not succeed 100% of the time, even though the CD appears in the GUI but does not appear on the terminal.

This can also be done in the GUI. Open the file manager that is in your Bodhi VM. On the left side you will see a “CD” entry for Guest Additions - click on that entry. Now, there will be a button that will ask if you want to run it's auto-run prompt, click on it.

Enter your password when it asks and let it do it's thing. Once it is done, reboot your VM and Guest Additions should be installed!


User Feedback

bodhi_in_virtualbox
Did you find this article helpful?
Yes, right on the money!
 
64%(87)
Somewhat. Needs work.
 
13%(18)
Not really
 
4%(5)
Not at all.
 
20%(27)

If you would like to comment or make further suggestions, please leave a note on our Comments page (you will have to Create an Account if you haven't already).

 
virtualbox_-_running_bodhi_in.txt · Last modified: 2013/03/08 09:22 by jeff · [Old revisions]


© Copyright Bodhi Linux 2012. All Rights Reserved - Hosted by vaultnetworks