Using QEMU on Windows

From OLPC
Revision as of 15:16, 21 August 2006 by 195.16.185.35 (talk)
Jump to navigation Jump to search

Build 59 of the OLPC software ran well for me on a Dell Latitude D600 Laptop 1.5GHz 512MB RAM, running Windows XP SP2.
Below is a step by step guide to getting it working.

Download QEMU for Windows from here
http://www.h7.dion.ne.jp/~qemu-win/

Unzip it, and place the files in:
C:\Program Files\Qemu

Then download the QEMU Accelerator Module (called kqemu-1.3.0pre9.tar.gz ) from here
http://fabrice.bellard.free.fr/qemu/download.html

Then uncompress the kqemu-1.3.0pre9.tar.gz file. You may need to uncompress it twice, using an application like 7Zip.
http://www.7-zip.org/

Look through the unzipped files, and right-click on the one called kqemu.inf
Then click "Install" and wait a few seconds.

Then go to a command prompt and type

net start kqemu

You should get a message saying
The KQEMU virtualisation module for QEMU service was started successfully.

Then you need to download a drive image, so go to this page
http://wiki.laptop.org/go/Build_images

Then go to "Latest Stable", then "Images", and download olpc-stream-development-59-20060808_1153-ext3.img.bz2 (or a later image)

This file will need uncompressing with an application like 7Zip.
http://www.7-zip.org/

Make sure you place the uncompressed ".img" file in the same folder as QEMU, then go to your command prompt and type
cd "\Program Files\Qemu"

Then finally, type

qemu -L . -hda olpc-stream-development-59-20060808_1153-ext3.img

or the equivalent for the newest version you have downloaded. By example:

qemu -L . -hda olpc-stream-development-59-20060808_1153-rpm-ext3.img


After a few seconds the simulator will start, and you should see a copy of Linux booting... This may take a minute or two...
When the screen turns green saying One Laptop Per Child at the bottom, press the spacebar to get the grub menu.
It's important that you choose the OLPC Simulator option. The default for these images is to boot for the OLPC Hardware, not the Simulator.
Eventually you'll see a black dialogue box, asking you for a user name. Press OK, and wait for the magic!

Try to search some sites typing, by ex: OLPC in the search field.

To close the OLPC "window" press: Alt+Ctrl+2 or only liberate the pointer using Ctrl+Alt.

--Tomhannen 19:30, 13 August 2006 (EDT)