VirtualBox
VirtualBox is an x86 virtualization system released under dual-license as either GPL or commercial software. It runs on either Win32 or Linux host machines, allowing you to run OLPC images within the virtual machine.
Sugar on a Stick
These are instructions for using a copy of Sugar on a Stick, configured to run in a VirtualBox® virtual appliance (a virtual machine disc image ready to run in the VirtualBox host application).
- Download http://www.sugarlabs.org/static/soas/soas-beta-1.zip (dated: 20 April 2009)
- Unzip the file you just downloaded and remember where you put it - you'll get a .vdi file.
- Follow the instructions below to get and configure the VirtualBox host application.
Please be aware of the fact that this is still beta quality and not at all ready for production use. You might want to create your own VirtualBox disc image from another snapshot or iso disc file. Instructions to do so are located here, VirtualBox/Preparing_a_disk_image.
You can also convert .img image files from qemu formats, such as qcow2, to vmdk format, which VirtualBox can open. The qemu-img command usually detects the source image format automatically.
$ qemu-img convert -O vmdk file.img file.vmdk
Install VirtualBox
OS X
- Download VirtualBox for OS X from here, http://www.virtualbox.org/wiki/Downloads
- Install it by opening the DMG.
- Follow the instructions in the window
- Double click VirtualBox.mpkg
- If you see a warning about running a program from the internet click OK to run it.
- click continue until you see the license popup, click Agree.
- Choose location to install, probably something like Macintosh HD then click Continue.
- Click Continue, then Install. Enter password if required.
- Now you can run VirtualBox by opening the Applications folder and double clicking on the icon.
Windows
- Download from http://www.virtualbox.org/wiki/Downloads.
Linux
- See http://www.virtualbox.org/wiki/Linux_Downloads
- For Ubuntu, it is available in Synaptic Package Manager, once you add the the URI, distribution & components to your 3rd-party software sources or enter the following in your /etc/apt/sources.list.
deb http://download.virtualbox.org/virtualbox/debian <distribution> non-free
- Install dkms, as well, so upgrades will update the kernel modules.
Ubuntu 8.04 Hardy: Use downloaded file from link above, Synaptic does not load Virtual Box that works [satellit 05/08/2009]
Setup a Virtual Machine for Sugar on a Stick
- In VirtualBox click New
- Click Next
- Enter a name "Sugar"
- Operating System: choose Linux
- Version: choose Fedora
- Click Next
- For memory leave 256 MB
- Click Next
- Virtual Hard Disk click Existing
- A new window pops up
- Click Add button in the toolbar
- Browse to the location where you extracted the .vdi disk image
- Click Open
- Click Select
- Click Next
- Click Finish
- Select Sugar on the left
- Click Start in the toolbar
- After a minute or two you should see the Sugar screen asking for you name
- Enter your name
- Click Next.
- From now on you can start VirtualBox and start the "Sugar" virtual machine