Running Ubuntu with VirtualBox

Andy Shaw

Running Ubuntu with VirtualBox


If you don't have a Linux system to use for your leJOS EV3 projects, you can still run one on top of your Windows or Mac system using VirtualBox:
https://www.virtualbox.org/

To get started first you need to download VirtualBox for your computer:
https://www.virtualbox.org/wiki/Downloads
be sure to download and install both the main system and the extension pack. If during the install you are asked make sure you choose to install USB support and networking.

Once VirtualBox is up and running we need to install Ubuntu, it is possible to install from standard install media but I choose to use a pre built image from the VirtualBoxes project:
https://sourceforge.net/projects/virtualboximage/files/

The image I used is this one:
http://surfnet.dl.sourceforge.net/project/virtualboximage/Ubuntu%20Linux/12.10/ubuntu-12.10-desktop-i386.7z

Once downloaded expand the file to a location of your choice. This file will form the basis of the VirtualBox virtual system image. I expanded the file into a directory called vms in my home directory. The above file will expand to a file called ubuntu-12.10-desktop-i386.vdi. Now we need to create the new virtual machine. From the VirtualBox Manager choose New, then follow the steps below:
1. Give your VM a name I called mine "Ubuntu for EV3".
2. Check that the type and version are Linux and Ubuntu, then click next.
3. Change the amount of memory allocated to the VM to be 1024MB. then click next.
4. Choose the option to use an existing virtual hard drive, then locate the disk image you extracted above. Select the image and choose next.