Difference between revisions of "VirtualBox"

From Sugar Labs
Jump to navigation Jump to search
(remove misleading information, relating to gci task instance 5179691623776256, the student was misled into preparing a disk image, which is something very rare)
 
(48 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{TOCright}}
+
<noinclude>
 +
[[Category:Virtual machine or platform emulator]]
 
[[Category:HowTo]]
 
[[Category:HowTo]]
 
</noinclude>
 
</noinclude>
With [[wikipedia:VirtualBox|VirtualBox<sup>®</sup>]] one can run [[Emulator image files|Sugar]] on Microsoft Windows, Intel-based  Apple Macintosh, or Linux host computers from within a virtual machine window.
 
  
The following instructions are intended for new Learners.
+
With [[wikipedia:VirtualBox|VirtualBox<sup>®</sup>]] one can run [[Emulator image files|Sugar]] on Microsoft Windows, Intel-based  Apple Macintosh, or GNU/Linux host computers from within a virtual machine window.
  
(See [[VirtualBox/Technical]] for some collected details, and the [http://www.virtualbox.org/ VirtualBox.org] Web site.)
+
See this '''[https://www.virtualbox.org/ VirtualBox overview]'''. VirtualBox is a large software installation with many features and operating system options. A [https://www.virtualbox.org/wiki/Documentation User Manual and other documentation] is available online. Those who have not used VirtualBox before, might find it more easy to understand and install than expected.
==Sugar disc images==
 
===Sugar on a Stick===
 
These are instructions for using a copy of [[Sugar on a Stick]],
 
  
===Sun Virtualbox Appliance of soas-3-Mirabelle===
+
VirtualBox Downloads: https://www.virtualbox.org/wiki/Downloads
updated 5/25/2010
 
  
root=sugarroot
+
(See [[VirtualBox/Technical]] for some collected details.)
  
This appliance is ready to run "firstboot" (agree/user name/password/tz/etc)
+
The following instructions are intended for those Learners interested in using VirtualBox to run SugarThe process is not fully mature as the technology is evolving both in the VirtualBox and operating system software.
 
+
: Online IRC support is available from http://www.virtualbox.org/wiki/IRC
* installed with liveinst(Anaconda) to 8GB Virtual Disk in 2GB slices
+
: Various VirtualBox experiments may be found on the [[Talk:VirtualBox|discussion page]].
 
 
Download these 3 files:
 
 
 
  http://people.sugarlabs.org/Tgillard/soas-v3-Mirabelle.mf
 
  http://people.sugarlabs.org/Tgillard/soas-v3-Mirabelle.ovf
 
  http://people.sugarlabs.org/Tgillard/soas-v3-Mirabelle.vmdk
 
 
 
*Start Sun Virtualbox ( I used: Version 3.1.5 r59339 for export)
 
 
 
Top Left Corner of window:<file><Import Appliance>
 
 
 
'''Note: Import Option is not available on OSE version of Virtualbox.'''
 
 
 
<Choose> (to find 3 downloaded files you just downloaded )
 
 
 
select: soas-v3-Mirabelle.ovf
 
<Appliance Import Settings> Window appears:
 
*Correct line: "Guest OS Type" to OS:linux  Version:fedora (click on Other/unknown it is a  dropdown box)
 
*Agree to GPL license
 
*<Import>
 
 
 
*start sugar
 
 
 
----To Install Sun Virtualbox-------------------
 
Sun Virtualbox:
 
available free.(You do need to accept sun's license to do download)
 
 
 
Download:
 
 
 
http://www.virtualbox.org/wiki/Downloads
 
 
 
*Choose your OS Version
 
(OSX, Windows, Linux, other.)
 
 
 
Or Install the .iso into Virtualbox:
 
 
 
* Download http://alt.fedoraproject.org/pub/alt/spins/linux/releases/13/Spins/i686/Fedora-13-i686-Live-SoaS.iso
 
  
 
==Install VirtualBox==
 
==Install VirtualBox==
=== on OS X ===  
+
=== on Mac OS X ===  
&nbsp;- '''''the Apple Macintosh operating system'''''
 
  
# Download VirtualBox for OS X from here, http://www.virtualbox.org/wiki/Downloads
+
Follow the instructions on the VirtualBox [https://www.virtualbox.org/wiki/Downloads Downloads page] for Mac OS X.
# If you haven't done so yet, you should start the download of the [[VirtualBox#Sugar_on_a_Stick | Sugar on a Stick vdi zip file]] (above).
 
# 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.
 
# Next Follow the instructions '''Setup a Virtual Machine for Sugar on a Stick'''
 
#:You can watch a screencast video of the rest of the process on a Mac below in the Setup section (click the [show] link.)
 
  
 
=== on Microsoft Windows ===
 
=== on Microsoft Windows ===
Line 79: Line 26:
  
 
=== on GNU/Linux ===
 
=== on GNU/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.
 
::{{Code|deb <nowiki>http://download.virtualbox.org/virtualbox/debian</nowiki> <distribution> non-free}}
 
  
:Install '''dkms''', as well, so upgrades to your system will update the kernel modules.
+
Use the VirtualBox packages available in your GNU/Linux distribution.  For example, on Ubuntu, it is available in Ubuntu Software Centre.
 +
 
 +
Or, use the most recent packages from VirtualBox, see [http://www.virtualbox.org/wiki/Linux_Downloads Linux Downloads].
  
:(See the [[Talk:VirtualBox]] page for experimental installation variations.)
+
Also, see [[Talk:VirtualBox]] page for experimental installation variations.
  
 
==Setup a Virtual Machine for Sugar on a Stick==
 
==Setup a Virtual Machine for Sugar on a Stick==
{{Iframe|You can watch a screencast video of the process on a Mac here: |http://www.screencast.com/users/solutiongrove/folders/Jing/media/2ab6e487-6bee-4517-b099-a96aab0e0098
+
'''Notice:''' [[Emulator_image_files#VirtualBox|Prebuilt VirtualBox 4.1 Appliances]] are available. Just click "import" on one of the .vmdk or .ovf files.
 +
:One may also use these instructions, [[VirtualBox/Preparing a disk image]], to prepare one's own.
 +
{{Iframe|You can watch a screencast video of the process with an earlier version of SoaS on a Mac here: |http://www.screencast.com/users/solutiongrove/folders/Jing/media/2ab6e487-6bee-4517-b099-a96aab0e0098
 
|940|896|1}}
 
|940|896|1}}
 
# In VirtualBox click New
 
# In VirtualBox click New
Line 98: Line 46:
 
# For memory leave 256 MB  
 
# For memory leave 256 MB  
 
# Click Next
 
# Click Next
# Virtual Hard Disk click Existing
+
# Virtual Hard Disk click Existing  
 
# Click the little folder to the right of the selection box
 
# Click the little folder to the right of the selection box
 
## A new window pops up
 
## A new window pops up
Line 114: Line 62:
 
# From now on you can start VirtualBox and start the "Sugar" virtual machine
 
# From now on you can start VirtualBox and start the "Sugar" virtual machine
  
===Issues===
+
==Setup a Virtual Machine for Ubuntu Sugar==
 +
 
 +
Use Ubuntu Software Centre to install the ''virtualbox-guest-utils'' package, so that your virtual machine display can be resized to fit your computer.
 +
 
 +
==Issues==
  
 
* Activating the Frame might be a little difficult. The lower 2 corners are easiest and you may want to configure edge activation in the My Settings > Frame panel.  With VirtualBox Guest Additions installed (see [[VirtualBox/Preparing_a_disk_image#Installing_VirtualBox_Guest_Additions| here]]), only the bottom edge and corners are available for Frame activation.
 
* Activating the Frame might be a little difficult. The lower 2 corners are easiest and you may want to configure edge activation in the My Settings > Frame panel.  With VirtualBox Guest Additions installed (see [[VirtualBox/Preparing_a_disk_image#Installing_VirtualBox_Guest_Additions| here]]), only the bottom edge and corners are available for Frame activation.
Line 123: Line 75:
 
* http://www.virtualbox.org/
 
* http://www.virtualbox.org/
 
* [[OLPC:VirtualBox]]
 
* [[OLPC:VirtualBox]]
* [http://fedorasolved.org/Members/realz/VB_Guest_Addition How To Install Virtualbox Guest Additions in Fedora Guest]
+
* [http://fedorasolved.org/Members/realz/VB_Guest_Addition How To Install Virtualbox Guest Additions in Fedora Guest] (Based on Fedora 8)
 +
* install the virtualbox guest additions
 +
::on Debian, Ubuntu, or derived distributions
 +
sudo apt install virtualbox-guest-utils

Latest revision as of 20:11, 6 December 2019


With VirtualBox® one can run Sugar on Microsoft Windows, Intel-based Apple Macintosh, or GNU/Linux host computers from within a virtual machine window.

See this VirtualBox overview. VirtualBox is a large software installation with many features and operating system options. A User Manual and other documentation is available online. Those who have not used VirtualBox before, might find it more easy to understand and install than expected.

VirtualBox Downloads: https://www.virtualbox.org/wiki/Downloads

(See VirtualBox/Technical for some collected details.)

The following instructions are intended for those Learners interested in using VirtualBox to run Sugar. The process is not fully mature as the technology is evolving both in the VirtualBox and operating system software.

Online IRC support is available from http://www.virtualbox.org/wiki/IRC
Various VirtualBox experiments may be found on the discussion page.

Install VirtualBox

on Mac OS X

Follow the instructions on the VirtualBox Downloads page for Mac OS X.

on Microsoft Windows

Download from http://www.virtualbox.org/wiki/Downloads.

on GNU/Linux

Use the VirtualBox packages available in your GNU/Linux distribution. For example, on Ubuntu, it is available in Ubuntu Software Centre.

Or, use the most recent packages from VirtualBox, see Linux Downloads.

Also, see Talk:VirtualBox page for experimental installation variations.

Setup a Virtual Machine for Sugar on a Stick

Notice: Prebuilt VirtualBox 4.1 Appliances are available. Just click "import" on one of the .vmdk or .ovf files.

One may also use these instructions, VirtualBox/Preparing a disk image, to prepare one's own.
You can watch a screencast video of the process with an earlier version of SoaS on a Mac here:
  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
  10. Click the little folder to the right of the selection box
    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
  11. Click Next
  12. Click Finish
  13. Select Sugar on the left
  14. Click Start in the toolbar
  15. After a minute or two you should see the Sugar screen asking for you name
  16. Enter your name
  17. Click Done at the bottom of the window. You might have to scroll.
  18. From now on you can start VirtualBox and start the "Sugar" virtual machine

Setup a Virtual Machine for Ubuntu Sugar

Use Ubuntu Software Centre to install the virtualbox-guest-utils package, so that your virtual machine display can be resized to fit your computer.

Issues

  • Activating the Frame might be a little difficult. The lower 2 corners are easiest and you may want to configure edge activation in the My Settings > Frame panel. With VirtualBox Guest Additions installed (see here), only the bottom edge and corners are available for Frame activation.
  • On Mac keyboards, you might wish to change the Virtual Box default key for switching the Sugar cursor to the normal one, as the default key (control right arrow on Mac keyboards) is trapped by Sugar. (Windows and Linux keyboards use Right Ctrl.) You may do this change in File/settings of the Virtual Box menu.

Resources

on Debian, Ubuntu, or derived distributions
sudo apt install virtualbox-guest-utils