Using QEMU on Windows XP/lang-ja: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
{{Ongoing Translation}} |
{{Ongoing Translation}} |
||
{{__TOCright__}} |
{{__TOCright__}} |
||
⚫ | |||
{{anchor|Setting up QEMU}} |
|||
⚫ | |||
{{Translated text| |
|||
In order to use the [[Build images|provided OLPC images]] in your Windows XP box you must first install an emulator: [[QEMU]] which is an open-source processor emulator. The accelerator, not required, is recommended as a performance booster. |
In order to use the [[Build images|provided OLPC images]] in your Windows XP box you must first install an emulator: [[QEMU]] which is an open-source processor emulator. The accelerator, not required, is recommended as a performance booster. |
||
'''Note:''' people have converted some QEMU images to work with [[OS images for emulation#VMware Player|VMWare Player]], but regular OLPC builds are for [[QEMU]]. |
'''Note:''' people have converted some QEMU images to work with [[OS images for emulation#VMware Player|VMWare Player]], but regular OLPC builds are for [[QEMU]]. |
||
|display = block}} |
|||
{{anchor|QEMU Emulator}} |
|||
=== QEMU Emulator === |
=== QEMU Emulator === |
||
{{Translated text| |
|||
#Download QEMU for Windows from [http://www.h7.dion.ne.jp/~qemu-win/ here] |
#Download QEMU for Windows from [http://www.h7.dion.ne.jp/~qemu-win/ here] |
||
#Since there's no installation step, just [[unzip]] it into any directory (ie: <tt>C:\Program Files\Qemu</tt>) |
#Since there's no installation step, just [[unzip]] it into any directory (ie: <tt>C:\Program Files\Qemu</tt>) |
||
#if you want, proceed with the accelerator below, if not go to [[Using QEMU on Windows XP#Download an OLPC image|downloading the image]] |
#if you want, proceed with the accelerator below, if not go to [[Using QEMU on Windows XP#Download an OLPC image|downloading the image]] |
||
|display = block}} |
|||
{{anchor|QEMU Accelerator}} |
|||
=== QEMU Accelerator === |
=== QEMU Accelerator === |
||
{{Translated text| |
|||
The [http://fabrice.bellard.free.fr/qemu/kqemu-doc.html QEMU Accelerator] 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 <tt>kqemu-1.3.0pre11.tar.gz</tt>. |
The [http://fabrice.bellard.free.fr/qemu/kqemu-doc.html QEMU Accelerator] 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 <tt>kqemu-1.3.0pre11.tar.gz</tt>. |
||
Line 29: | Line 37: | ||
#*If everything went fine, you should see the following message: |
#*If everything went fine, you should see the following message: |
||
#**<tt>The KQEMU virtualisation module for QEMU service was started successfully.</tt> |
#**<tt>The KQEMU virtualisation module for QEMU service was started successfully.</tt> |
||
|display = block}} |
|||
{{anchor|Download an OLPC image}} |
|||
== Download an OLPC image == |
== Download an OLPC image == |
||
{{Translated text| |
|||
Then you need to download a drive image, so go to [[Build_images#Latest_Stable_Build|Latest Stable Build on the OS Images page]] and navigate to the <tt>ext3</tt> subdirectory (this has images for the ''ext3'' filesystem; if you want to use development tools, navigate to <tt>devel_ext3</tt>). |
Then you need to download a drive image, so go to [[Build_images#Latest_Stable_Build|Latest Stable Build on the OS Images page]] and navigate to the <tt>ext3</tt> subdirectory (this has images for the ''ext3'' filesystem; if you want to use development tools, navigate to <tt>devel_ext3</tt>). |
||
The image you want will be named something like |
The image you want will be named something like |
||
Line 37: | Line 48: | ||
After you've downloaded the image, you must [[unzip]] it (using a program that understands the [http://en.wikipedia.org/wiki/Bz2 bz2] format) and place the <tt>.img</tt> file in the same directory as [[QEMU]] (ie: <tt>C:\Program Files\Qemu</tt>). |
After you've downloaded the image, you must [[unzip]] it (using a program that understands the [http://en.wikipedia.org/wiki/Bz2 bz2] format) and place the <tt>.img</tt> file in the same directory as [[QEMU]] (ie: <tt>C:\Program Files\Qemu</tt>). |
||
|display = block}} |
|||
{{anchor|Starting OLPC environment}} |
|||
== Starting OLPC environment == |
== Starting OLPC environment == |
||
{{Translated text| |
|||
Before you launch the emulated image, we '''strongly''' recommend reading through the '''[[Sugar Instructions]]''' on how to use the environment -- this does not look like the Windows or Mac operating systems! |
Before you launch the emulated image, we '''strongly''' recommend reading through the '''[[Sugar Instructions]]''' on how to use the environment -- this does not look like the Windows or Mac operating systems! |
||
Line 62: | Line 76: | ||
'''NOTE:''' There are a '''[[Using QEMU on Windows XP#Troubleshooting|some issues]] (mainly for the first timers)''' on how to get the whole enchilada going. |
'''NOTE:''' There are a '''[[Using QEMU on Windows XP#Troubleshooting|some issues]] (mainly for the first timers)''' on how to get the whole enchilada going. |
||
|display = block}} |
|||
{{anchor|Closing the OLPC image}} |
|||
== Closing the OLPC image == |
== Closing the OLPC image == |
||
{{Translated text| |
|||
To close the OLPC "window" you must first go into the QEMU monitor screen and then quit. You do that by: |
To close the OLPC "window" you must first go into the QEMU monitor screen and then quit. You do that by: |
||
#Make sure the window has the focus (label should say <tt>QEMU - Press Ctrl-Alt to exit grab</tt>). |
#Make sure the window has the focus (label should say <tt>QEMU - Press Ctrl-Alt to exit grab</tt>). |
||
Line 71: | Line 88: | ||
'''Please update [[User Feedback on Images#QEMU on Windows]] with your experience'''. |
'''Please update [[User Feedback on Images#QEMU on Windows]] with your experience'''. |
||
|display = block}} |
|||
{{anchor|Troubleshooting}} |
|||
== Troubleshooting == |
== Troubleshooting == |
||
{{Translated text| |
|||
See [[Emulating the XO/Help and tips]]. |
See [[Emulating the XO/Help and tips]]. |
||
From some info found [[http://qemu-forum.ipi.fi/viewtopic.php?t=2645&highlight=olpc here.]] |
From some info found [[http://qemu-forum.ipi.fi/viewtopic.php?t=2645&highlight=olpc here.]] |
||
|display = block}} |
|||
[[Category:Developers]] |
[[Category:Developers]] |
Revision as of 10:12, 28 August 2007
- This is an on-going translation
Setting up QEMU
In order to use the provided OLPC images in your Windows XP box you must first install an emulator: QEMU which is an open-source processor emulator. The accelerator, not required, is recommended as a performance booster.
Note: people have converted some QEMU images to work with VMWare Player, but regular OLPC builds are for QEMU.
QEMU Emulator
- Download QEMU for Windows from here
- Since there's no installation step, just unzip it into any directory (ie: C:\Program Files\Qemu)
- if you want, proceed with the accelerator below, if not go to downloading the image
QEMU Accelerator
The QEMU Accelerator 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.0pre11.tar.gz.
- Download the QEMU Accelerator Module from here
- Unzip the kqemu-version.tar.gz file into a directory (ie: C:\Program Files\Qemu\KQemu-version)
- may have to unzip it twice given the file format.
- In the target directory, locate kqemu.inf and install it (menu/right-click and select Install). Let it finish (it'll take just a couple of seconds).
- Open a command prompt (aka cmd.exe) and type
- net start kqemu
- If everything went fine, you should see the following message:
- 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
After you've downloaded the image, you must unzip it (using a program that understands the bz2 format) and place the .img file in the same directory as QEMU (ie: C:\Program Files\Qemu).
Starting OLPC environment
Before you launch the emulated image, we strongly recommend reading through the Sugar Instructions on how to use the environment -- this does not look like the Windows or Mac operating systems!
Open a command prompt (aka cmd.exe) in the QEMU directory and launch it using the appropriate image.
cd "\Program Files\Qemu" qemu.exe -L . -hda image_name
Where image_name is the newest version you have downloaded. For example:
qemu.exe -L . -hda olpc-redhat-stream-development-build-185-20061117_2030-devel_ext3.img
The emulator will start in a new window, and will soon display the OLPC 'XO' 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 ending in a dialog asking for your nickname.
As a reminder: pressing Alt + Ctrl will liberate / return control to Windows.
NOTE: There are a some issues (mainly for the first timers) on how to get the whole enchilada going.
Closing the OLPC image
To close the OLPC "window" you must first go into the QEMU monitor screen and then quit. You do that by:
- Make sure the window has the focus (label should say QEMU - Press Ctrl-Alt to exit grab).
- Press Alt + Ctrl + 2 to enter the QEMU Monitor (may need shift as well on some computers: Alt + Ctrl + Shift + 2)
- Type quit or q to quit.
Please update User Feedback on Images#QEMU on Windows with your experience.
Troubleshooting
See Emulating the XO/Help and tips.
From some info found [here.]