Line 1: |
Line 1: |
| {{TOCright}} | | {{TOCright}} |
− | [[wikipedia:VirtualBox|VirtualBox]] is an x86 virtualization system available as either GPL or commercial software. It runs on either Win32, Intel Mac or Linux host machines, allowing you to run [[Emulator image files|OLPC images]] within the virtual machine. The following instructions are mostly for VirtualBox OSE (Open Source Edition), which is available in packages in many Linux distributions. You can also download it and its documentation from the [http://www.virtualbox.org/ VirtualBox.org] Web site. | + | [[wikipedia:VirtualBox|VirtualBox]] is an x86 virtualization system available as either GPL or commercial software. It runs on either Win32, Intel Mac or Linux host machines, allowing you to run [[Emulator image files|Sugar images]] within the virtual machine. The following instructions are mostly for VirtualBox OSE (Open Source Edition), which is available in packages in many Linux distributions. You can also download it and its documentation from the [http://www.virtualbox.org/ VirtualBox.org] Web site. |
− | | + | ==Disc images== |
− | ==Sugar on a Stick== | + | ===Sugar on a Stick=== |
| These are instructions for using a copy of Sugar on a Stick, configured to run in a VirtualBox<sup>®</sup> virtual appliance (a virtual machine disc image ready to run in the VirtualBox host application). | | These are instructions for using a copy of Sugar on a Stick, configured to run in a VirtualBox<sup>®</sup> virtual appliance (a virtual machine disc image ready to run in the VirtualBox host application). |
| | | |
Line 10: |
Line 10: |
| | | |
| 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]]. | | 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]]. |
− | | + | ===QEMU image conversion=== |
− | You can also convert .img image files from [[QEMU | qemu]] formats, such as qcow2, to vmdk format, which VirtualBox can open. The qemu-img command usually detects the source image format automatically. | + | 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 | | $ qemu-img convert -O vmdk file.img file.vmdk |
− |
| |
− | * USB (2GB or larger) Boot Stick to run VirtualBox Images:
| |
− | see:http://wiki.sugarlabs.org/go/VMware#Running_VMPlayer_and_an_Appliance_using_a_Single_8_GB_USB_Boot_Stick
| |
− | Download VirtualBox OSE program and install instead of VMPlayer
| |
− | Boot PC from stick and run images on same or 2nd stick.
| |
| | | |
| ==Install VirtualBox== | | ==Install VirtualBox== |
| === OS X === | | === OS X === |
− |
| |
| | | |
| # Download VirtualBox for OS X from here, http://www.virtualbox.org/wiki/Downloads | | # Download VirtualBox for OS X from here, http://www.virtualbox.org/wiki/Downloads |
Line 29: |
Line 23: |
| # Follow the instructions in the window | | # Follow the instructions in the window |
| ## Double click VirtualBox.mpkg | | ## Double click VirtualBox.mpkg |
− | ## If you see a warning about running a program from the internet click OK to run it. | + | ## 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. | + | ## Click continue until you see the license popup, click Agree. |
− | ## Choose location to install, probably something like Macintosh HD then click Continue. | + | ## Choose location to install, probably something like Macintosh HD, then click Continue. |
− | ## Click Continue, then Install. Enter password if required. | + | ## Click Continue, then Install. Enter password, if required. |
| # Now you can run VirtualBox by opening the Applications folder and double clicking on the icon. | | # 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''' | | # 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 here: http://tinyurl.com/nz4rhd. | | You can watch a screencast video of the rest of the process on a Mac here: http://tinyurl.com/nz4rhd. |
Line 50: |
Line 43: |
| :Install '''dkms''', as well, so upgrades will update the kernel modules. | | :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
| + | Ubuntu 8.04 Hardy: Use downloaded file from link above, Synaptic does not load Virtual Box that works [satellit 05/08/2009] |
− | Virtual Box that works [satellit 05/08/2009]
| + | |
| + | ====Install on USB disc==== |
| + | (2-GB or larger USB storage device needed to run VirtualBox Images) |
| + | |
| + | One could modify the instructions at [[VMware#One_8-GiB_stick_with_2_partitions]] |
| + | * Download VirtualBox OSE program, and install instead of VMPlayer. |
| + | * Boot PC from stick, and run images on same or 2nd stick. |
| | | |
| ==Setup a Virtual Machine for Sugar on a Stick== | | ==Setup a Virtual Machine for Sugar on a Stick== |