Difference between revisions of "VirtualBox"

From Sugar Labs
Jump to navigation Jump to search
(update links, Linux instructions)
Line 7: Line 7:
 
First download the virtualbox disk image (19-December-2008) http://sugarlabs.org/static/soas-7-vbox.zip (md5sum 4f9f29cfc88d61e7686b872897840aae) then unzip this file and remember where you put it.  While you are waiting for SoaS to download you can set up Virtual Box.
 
First download the virtualbox disk image (19-December-2008) http://sugarlabs.org/static/soas-7-vbox.zip (md5sum 4f9f29cfc88d61e7686b872897840aae) then unzip this file and remember where you put it.  While you are waiting for SoaS to download you can set up Virtual Box.
  
===Setup Virtual Box on OS X===
+
==Install VirtualBox==
  1. Download virtualbox for OS X http://download.virtualbox.org/virtualbox/2.1.0/VirtualBox-2.1.0-41146-OSX_x86.dmg
+
=== OS X ===
  2. Install it by opening the DMG.
+
# Download VirtualBox for OS X from here, http://www.virtualbox.org/wiki/Downloads
  3. Follow the instructions in the window
+
# Install it by opening the DMG.
        1. Double click VirtualBox.mpkg
+
# Follow the instructions in the window
        2. If you see a warning about running a program from the internet click OK to run it.
+
## Double click VirtualBox.mpkg
        3. click continue until you see the license popup, click Agree.
+
## If you see a warning about running a program from the internet click OK to run it.
        4. Choose location to install, probably something like Macintosh HD then click Continue.
+
## click continue until you see the license popup, click Agree.
        5. Click Continue, then Install. Enter password if required.
+
## Choose location to install, probably something like Macintosh HD then click Continue.
  4. Now you can run VirtualBox by opening the Applications folder and double clicking on the icon.
+
## Click Continue, then Install. Enter password if required.
 +
# Now you can run VirtualBox by opening the Applications folder and double clicking on the icon.
  
===Setup VirtualBox on Linux or Windows===
+
=== Windows ===
  
Download VirtualBox http://www.virtualbox.org/wiki/Downloads
+
: Download from http://www.virtualbox.org/wiki/Downloads.
  
===Setup Virtual Machine for Sugar on a Stick===
+
=== 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 <nowiki>http://download.virtualbox.org/virtualbox/debian</nowiki> <distribution> non-free
  
  1. In VirtualBox click New
+
:Install '''dkms''', as well, so upgrades will update the kernel modules.
  2. click Next.
+
 
  3. Enter a name "Sugar"
+
==Setup a Virtual Machine for Sugar on a Stick==
  4. Operating System: choose Linux
+
 
  5. Version: choose Fedora
+
# In VirtualBox click New
  6. click Next.
+
# click Next.
  7. For memory leave 256 MB then click Next.
+
# Enter a name "Sugar"
  8. Virtual Hard Disk click Existing
+
# Operating System: choose Linux
        1. a new window pops up
+
# Version: choose Fedora
        2. click Add button in the toolbar
+
# click Next.
        3. browse to the location where you downloaded the disk image
+
# For memory leave 256 MB then click Next.
        4. click Open
+
# Virtual Hard Disk click Existing
        5. click Select
+
## a new window pops up
  9. click Next
+
## click Add button in the toolbar
  10. click Finish
+
## browse to the location where you downloaded the disk image
  11. select Sugar in the left then click Start in the toolbar
+
## click Open
  12. after a minute or two you should see the sugar screen asking for you name. Enter your name and click Next.
+
## click Select
  13. From now on you can start Virtualbox and start the Sugar install.
+
# click Next
 +
# click Finish
 +
# select Sugar in the left then click Start in the toolbar
 +
# after a minute or two you should see the sugar screen asking for you name. Enter your name and click Next.
 +
# From now on you can start VirtualBox and start the "Sugar" virtual machine.

Revision as of 21:21, 19 February 2009

At the pilot school for SoaS in Boston all the teachers have apple laptops. We expect the most convenient way for the teachers to run Sugar will be as an emulation of their existing laptop.

These are instructions for using a copy of Sugar on a Stick configured to run in VirtualBox. It is a VirtualBox disk image created from SoaS-7 that allows saving changes and includes VirtualBox Guest Additions which allows 1024x768 resolution.

(See http://schools.sugarlabs.org/mod/forum/discuss.php?d=27 for a discussion of how the VirtualBox disk image was prepared.) --FGrose 21:17, 14 February 2009 (UTC)

First download the virtualbox disk image (19-December-2008) http://sugarlabs.org/static/soas-7-vbox.zip (md5sum 4f9f29cfc88d61e7686b872897840aae) then unzip this file and remember where you put it. While you are waiting for SoaS to download you can set up Virtual Box.

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 then click Next.
  8. 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 downloaded the disk image
    4. click Open
    5. click Select
  9. click Next
  10. click Finish
  11. select Sugar in the left then click Start in the toolbar
  12. after a minute or two you should see the sugar screen asking for you name. Enter your name and click Next.
  13. From now on you can start VirtualBox and start the "Sugar" virtual machine.