Using QEMU on Windows: Difference between revisions
m (→Starting OLPC environment: don't need to choose emulator in GRUB any more?) |
m (→Download QEMU emulator and accelerator: mention VMWare) |
||
Line 4: | Line 4: | ||
== Download QEMU emulator and accelerator == |
== Download QEMU emulator and accelerator == |
||
Download QEMU for Windows from |
Download QEMU for Windows from |
||
http://www.h7.dion.ne.jp/~qemu-win/ |
http://www.h7.dion.ne.jp/~qemu-win/<BR> |
||
QEMU is an open source processor emulator. (Note that people have converted some QEMU images to work with [[OS_images_for_emulation#VMware_Player|VMWare Player]], but the regular OLPC builds are for QEMU.) |
|||
Unzip it, and place the files in<BR> |
Unzip it, and place the files in<BR> |
||
Line 11: | Line 12: | ||
(There is no setup or installation step.) |
(There is no setup or installation step.) |
||
Then download the QEMU Accelerator Module from |
Then download the QEMU Accelerator Module from |
||
http://fabrice.bellard.free.fr/qemu/download.html<BR> |
http://fabrice.bellard.free.fr/qemu/download.html<BR> |
||
KQEMU is a driver allowing the QEMU PC emulator to run much faster when emulating a PC on an x86 host. The latest stable is currently ''kqemu-1.3.0pre9.tar.gz''. |
KQEMU is a driver allowing the QEMU PC emulator to run much faster when emulating a PC on an x86 host. The latest stable is currently ''kqemu-1.3.0pre9.tar.gz''. |
||
Then uncompress the <tt>kqemu-''version''.tar.gz</tt> file. You may need to uncompress it twice, using an application like 7Zip |
Then uncompress the <tt>kqemu-''version''.tar.gz</tt> file. You may need to uncompress it twice, using an application like 7Zip, available from |
||
http://www.7-zip.org/<BR> |
http://www.7-zip.org/<BR> |
||
You can place the kqemu-''version'' directory in ''C:\Program Files\Qemu''. |
You can place the kqemu-''version'' directory in ''C:\Program Files\Qemu''. |
Revision as of 00:39, 4 December 2006
The step-by-step guide below has worked for builds 59 and 182, see User_Feedback_on_Images#QEMU_on_Windows
Download QEMU emulator and accelerator
Download QEMU for Windows from
http://www.h7.dion.ne.jp/~qemu-win/
QEMU is an open source processor emulator. (Note that people have converted some QEMU images to work with VMWare Player, but the regular OLPC builds are for QEMU.)
Unzip it, and place the files in
C:\Program Files\Qemu
(There is no setup or installation step.)
Then download the QEMU Accelerator Module from
http://fabrice.bellard.free.fr/qemu/download.html
KQEMU is a driver allowing the QEMU PC emulator to run much faster when emulating a PC on an x86 host. The latest stable is currently kqemu-1.3.0pre9.tar.gz.
Then uncompress the kqemu-version.tar.gz file. You may need to uncompress it twice, using an application like 7Zip, available from
http://www.7-zip.org/
You can place the kqemu-version directory in C:\Program Files\Qemu.
Look through the unzipped files, and right-click on the one called kqemu.inf
Choose "Install" and wait a few seconds.
Then in a command prompt type
net start kqemu
You should get a message saying
The KQEMU virtualisation module for QEMU service was started successfully.
Download an OLPC image
Then you need to download a drive image, so go to Latest Stable Build on the OS Images page and navigate to the ext3 subdirectory (this has images for the ext3 filesystem; if you want to use development tools, navigate to devel_ext3). The image you want will be named something like olpc-redhat-stream-development-build-num-date_ext3.img.bz2
This file will need uncompressing with an application like 7Zip, available from here
http://www.7-zip.org/
Place the uncompressed ".img" file in the same folder as QEMU.
Starting OLPC environment
In a command prompt type
cd "\Program Files\Qemu"
The command to start the emulator is qemu -L . -hda image_name
Where image_name is the newest version you have downloaded. For example:
qemu -L . -hda olpc-redhat-stream-development-build-185-20061117_2030-devel_ext3.img
After a few seconds the emulator will start in a new window, and you will see a boot sequence
The screen should soon display the OLPC 'oX' logo and 'Booting OLPC for qemu target in nn seconds'. (If it does not, then press any key to go to the GRUB menu and choose the 'OLPC for qemu target' option. You need to boot the emulator, not the OLPC hardware.)
Then you will see a typical Linux boot sequence.
You must read Sugar Instructions for instructions on how to use the emulated Laptop -- this is not a typical GUI!
To close the OLPC "window" press Alt+Ctrl+2; to liberate the pointer press Ctrl+Alt.
Please update User Feedback on Images#QEMU_on_Windows with your experience!
--Tomhannen 19:30, 13 August 2006 (EDT)