Using QEMU on Windows: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(net start kqemu)
Line 18: Line 18:
<BR>
<BR>
Then go to a command prompt and type<BR>
Then go to a command prompt and type<BR>
net start qemu
net start kqemu
You should get a message saying<BR>
You should get a message saying<BR>
<I>The KQEMU virtualisation module for QEMU service was started successfully.</I><BR>
<I>The KQEMU virtualisation module for QEMU service was started successfully.</I><BR>

Revision as of 17:36, 15 August 2006

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

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!

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