VirtualBox: Difference between revisions
(→Building an Image from Scratch: unzipper for Windows) |
DanielDrake (talk | contribs) No edit summary |
||
(18 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
<big><b><font color=red>For current information on emulation of OLPC software images, see [[Emulating the XO]]</font></b></big> |
|||
{{Deprecated}} |
|||
{{emulation-nav}} |
|||
= Emulation with VirtualBox = |
= Emulation with VirtualBox = |
||
[http://www.virtualbox.org/ VirtualBox] is an emulator 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. |
[http://www.virtualbox.org/ VirtualBox] is an emulator released under dual-license as either GPL or commercial software. It runs on either Mac, Win32 or Linux host machines, allowing you to run OLPC images within the virtual machine. |
||
== Compatibility == |
== Compatibility == |
||
* [[OS_images|Official OLPC build]] 557 is known to work under VirtualBox with both sound and networking (tested on Linux AMD64 host). |
* [[OS_images|Official OLPC build]] 557 is known to work under VirtualBox with both sound and networking (tested on Linux AMD64 host). |
||
* [[OS_images|Official OLPC build]] 625 is known to work under VirtualBox with networking (tested on Ubuntu Gutsy Linux AMD64 host). aptitude install virtualbox virtualbox-ose-modules-2.6.22-14-generic |
|||
=== Caveats === |
=== Caveats === |
||
* TamTam's CSound library does not appear to be working with build 557. |
* TamTam's CSound library does not appear to be working with build 557. |
||
* For OLPC work you will likely need to use the '''GPL''' VirtualBox release or a purchased copy, as OLPC work does not qualify as either evaluation or personal use. The GPL version does not support the "shared folders" feature. You will need to use ssh, rsync, or another standard Unix mechanism to share files with the image. |
* (Note: the following may not be relevant.) For OLPC work you will likely need to use the '''GPL''' VirtualBox release or a purchased copy, as OLPC work does not qualify as either evaluation or personal use. The GPL version does not support the "shared folders" feature. You will need to use samba, ssh, rsync, or another standard Unix mechanism to share files with the image. |
||
*: ''"Personal Use" requires that you use the product on the same Host Computer where you installed it yourself and that no more than one client connect to that Host Computer at a time for the purpose of displaying Guest Computers remotely.''[http://www.virtualbox.org/wiki/VirtualBox_PUEL]. Volunteer OLPC work thus seems likely to qualify as personal use, no? [[User:MitchellNCharity|MitchellNCharity]] 00:57, 2 September 2007 (EDT) |
*: ''"Personal Use" requires that you use the product on the same Host Computer where you installed it yourself and that no more than one client connect to that Host Computer at a time for the purpose of displaying Guest Computers remotely.''[http://www.virtualbox.org/wiki/VirtualBox_PUEL]. Volunteer OLPC work thus seems likely to qualify as personal use, no? [[User:MitchellNCharity|MitchellNCharity]] 00:57, 2 September 2007 (EDT) |
||
*: In any cases, ''Personal use is when you install the product on one or more PCs yourself and you make use of it (or even your friend, sister and grandmother). It doesn't matter whether you just use it for fun or run your multi-million euro business with it. Also, if you install it on your work PC at some large company, this is still personal use. However, if you are an administrator and want to deploy it to the 500 desktops in your company, this would not qualify as personal use. Well, you could ask each of your 500 employees to install VirtualBox but don't you think we deserve some money in this case? We'd even assist you with any issue you might have. ''[http://www.virtualbox.org/wiki/Licensing_FAQ] It seems to be "Personal Use" even covers installing the software at work. And same clause goes as far as you can do business with it. [[User:Hsaito|Hsaito]] 23:02, 25 August 2008 (UTC) |
|||
* On Linux, VirtualBox setup requires a package of kernel modules |
* On Linux, VirtualBox setup requires a package of kernel modules |
||
Line 22: | Line 29: | ||
Pre-converted images [http://dev.laptop.org/pub/virtualbox/ are made available] periodically to support those who do not have Qemu's tools installed on their workstations. Choose the .zip file for the version you require. |
Pre-converted images [http://dev.laptop.org/pub/virtualbox/ are made available] periodically to support those who do not have Qemu's tools installed on their workstations. Choose the .zip file for the version you require. |
||
The pre-converted images do not include VirtualBox Machines. Once you have unzipped the downloaded file, continue working from "Create a new VirtualBox Machine" below... |
The pre-converted images do not include VirtualBox Machines. Once you have unzipped the downloaded file, continue working from "[[#Create a new VirtualBox Machine|Create a new VirtualBox Machine]]" below... |
||
=== Building an Image from Scratch === |
=== Building an Image from Scratch === |
||
Line 36: | Line 43: | ||
* Base Memory 512 (recommended for development work, 256 more closely simulates an XO) |
* Base Memory 512 (recommended for development work, 256 more closely simulates an XO) |
||
* Boot disk, "Existing", choose |
* Boot disk, "Existing", choose |
||
** < |
** <thefile>.vdi (if using hand-built image) |
||
** < |
** <thefile>.vmdk (if using pre-built image) |
||
Edit "Machine" Settings: |
Edit "Machine" Settings: |
||
Line 44: | Line 51: | ||
** "ALSA Audio Driver" (for linux hosts) |
** "ALSA Audio Driver" (for linux hosts) |
||
** "DirectSound Driver" (for Windows hosts) |
** "DirectSound Driver" (for Windows hosts) |
||
by kupito |
|||
== Configure == |
== Configure == |
||
Once you have booted the machine, you will need to specify a name for yourself and choose an XO colour. You will then need to configure the collaboration server. To do this, pull up the [[Developer Console|developer's console]] (<alt>+<=>), and use the "vi" editor to change the configuration file ~/.sugar/default/config to change the "server=" line to "server=olpc.collabora.co.uk". |
Once you have booted the machine, you will need to specify a name for yourself and choose an XO colour. You will then need to configure the collaboration server. To do this, pull up the [[Developer Console|developer's console]] (<alt>+<=>), and use the "vi" or "[[nano]]" editor to change the configuration file <s>~/.sugar/default/config</s> /home/olpc/.sugar/default/config to change the "server=" line to "server=olpc.collabora.co.uk". |
||
If the GUI does not come up after choosing XO color: ctrl-alt-f2 to get to command prompt, login as root, make the change above and then reboot. |
|||
When this is done, reboot. The virtual XO should now have networking and sound support and should show you a network view with other XOs logged on. |
When this is done, reboot. The virtual XO should now have networking and sound support and should show you a network view with other XOs logged on. |
Latest revision as of 16:15, 8 February 2011
For current information on emulation of OLPC software images, see Emulating the XO
Emulation with VirtualBoxVirtualBox is an emulator released under dual-license as either GPL or commercial software. It runs on either Mac, Win32 or Linux host machines, allowing you to run OLPC images within the virtual machine. Compatibility
Caveats
SetupThe VMWare/VirtualBox images are converted from the official images using a simple downloading script. You can either download and convert the official images yourself or use a pre-converted image. Downloading a Pre-converted ImagePre-converted images are made available periodically to support those who do not have Qemu's tools installed on their workstations. Choose the .zip file for the version you require. The pre-converted images do not include VirtualBox Machines. Once you have unzipped the downloaded file, continue working from "Create a new VirtualBox Machine" below... Building an Image from Scratch
Create a new VirtualBox Machine
Edit "Machine" Settings:
by kupito ConfigureOnce you have booted the machine, you will need to specify a name for yourself and choose an XO colour. You will then need to configure the collaboration server. To do this, pull up the developer's console (<alt>+<=>), and use the "vi" or "nano" editor to change the configuration file If the GUI does not come up after choosing XO color: ctrl-alt-f2 to get to command prompt, login as root, make the change above and then reboot. When this is done, reboot. The virtual XO should now have networking and sound support and should show you a network view with other XOs logged on. See Also |