VirtualBox

From Sugar Labs
Revision as of 11:03, 3 May 2009 by FGrose (talk | contribs)
Jump to navigation Jump to search

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 virtual environments.

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.

Install VirtualBox

OS X

  1. Download VirtualBox for OS X from here, http://www.virtualbox.org/wiki/Downloads
  2. Install it by opening the DMG.
  3. Follow the instructions in the window
    1. Double click VirtualBox.mpkg
    2. If you see a warning about running a program from the internet click OK to run it.
    3. click continue until you see the license popup, click Agree.
    4. Choose location to install, probably something like Macintosh HD then click Continue.
    5. Click Continue, then Install. Enter password if required.
  4. 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.

Setup a Virtual Machine for Sugar on a Stick

  1. In VirtualBox click New
  2. Click Next
  3. Enter a name "Sugar"
  4. Operating System: choose Linux
  5. Version: choose Fedora
  6. Click Next
  7. For memory leave 256 MB
  8. Click Next
  9. Virtual Hard Disk click Existing
    1. A new window pops up
    2. Click Add button in the toolbar
    3. Browse to the location where you extracted the .vdi disk image
    4. Click Open
    5. Click Select
  10. Click Next
  11. Click Finish
  12. Select Sugar on the left
  13. Click Start in the toolbar
  14. After a minute or two you should see the Sugar screen asking for you name
  15. Enter your name
  16. Click Next.
  17. From now on you can start VirtualBox and start the "Sugar" virtual machine

Resources