This page contains information both about running Bodhi as the VirtualBox host and running Bodhi in a VirtualBox Guest OS.
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)
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.
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!