Using QEMU on Windows XP/lang-fr

From OLPC
< Using QEMU on Windows XP
Revision as of 17:30, 8 April 2011 by 170.51.253.239 (talk) (Installer QEMU)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  Traduction de Using QEMU on Windows XP original  
  english | español | francais | 日本語 | 한국어 | português   +/- changes  
This is an on-going translation

Cette page est en cours de traduction

Installer QEMU

Avant d'installer le systeme OLPC sur votre Windows XP, vous devez installer un emulateur: open-source : QEMU .

Son acelerateur est recommandé pour une meilleure performance, mais il n'est pas requis.

Note: Certains utilisateurs ont converti les images pour QEMU afin de les utiliser avec VMWare Player, mais les images OLPC habituelles sont destinees pour QEMU.

QEMU emulateur

  1. Téléchargez QEMU pour Windows à partir de
  2. il n'y a pas d'installation à effectuer : décompressez simplement le dossier à n'importe quel endroit sur votre système. (ex: C:\Program Files\Qemu)
  3. Si vous le désirez , vous pouvez continuer avec l'acelerateur ce-dessous, sinon téléchargez une image

3. if you want, proceed with the accelerator below, if not go to downloading the image

L'Accelerateur QEMU

L' Accelerateur QEMU est un pilote (driver) qui permet a l'emulateur de PC QEMU de s'executer beaucoup plus rapidement lorsque le PC dispose d'une architecture x86. La dernière version stable est kqemu-1.3.0pre11.tar.gz.

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.

  1. Téléchargez l'Acelerateur de QEMU ici
  2. Décompresser l'archive kqemu-version.tar.gz dans un repertoire (ex: C:\Program Files\Qemu\KQemu-version)
    • Vous aurez besoin d'un programme qui sait decompresser les archives au format .tar.gz
    • Il se peut que vous devrez decompresser ce fichier deux fois de suite.
  3. En el directorio de destino, localice kqemu.inf e instalelo (menu/clic-derecho y seleccione Instalar). Deje que termine (llevará algunos segundos).
  4. Abra una consola de comandos (alias cmd.exe) y escriba
    • net start kqemu
    • Si todo salió bien, se debería ver el siguiente mensaje:
      • The KQEMU virtualisation module for QEMU service was started successfully.

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.

  1. Download the QEMU Accelerator Module from here
  2. 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.
  3. 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).
  4. 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.

Descargar una imagen OLPC

Paso siguiente, se necesita descargar una imagen de disco, para lo cual dirijase a la sección de los Latest Stable Build de la página OS Build images y navegue hasta el subdirectorio ext3 (que posee las imagenes para el sistema de archivos ext3; si se desean usar herramientas de desarrollo, dirijase a devel_ext3). La imagen que se busca tendrá un nombre como

olpc-redhat-stream-development-build-num-date_ext3.img.bz2

Una vez que la imagen haya sido descargada, se la debe descompactar (usando algun programa acorde a la extension bz2) y poner el archivo .img en el mismo directorio que QEMU (ej: C:\Program Files\Qemu)

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).

Iniciar el ambiente OLPC

Antes de lanzar la imagen emulada, recomendamos encarecidamente la lectura de Sugar Instructions sobre como utilizar el ambiente—esto no se parece a Windows, Mac o cualquier otro sistema operativo! Para comprender un poco mas la filosofía detras de Sugar, tambien les recomendamos leer los Lineamientos de la Interfaz OLPC.

Abra un consola de comandos (alias cmd.exe) en el directorio de QEMU y ejecutelo usando la imagen apropiada.

cd "\Archivos de programa\Qemu"
qemu -L . -hda nombre_de_imagen

Donde nombre_de_imagen sea la última version que se haya bajado. Por ejemplo:

qemu -L . -hda olpc-redhat-stream-development-build-185-20061117_2030-devel_ext3.img

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 -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

El emulador comenzará en una nueva ventana, y a los pocos segundos mostrará el logo 'XO' de la OLPC y Booting OLPC for qemu target in nn seconds. (De no hacerlo, pulse cualquier tecla, ingrese al menú de GRUB y elija la opción OLPC for qemu target. Se necesita bootear el emulador, no el hardware de la OLPC.

A continuación se verá una típica secuencia de booteo Linux finalizando con un diálogo solicitando un apodo de usuario.

Recordatorio: pulsando Alt + Ctrl libera / retorna el control a Windows.

NOTA: Existe algunos temas (principalmente para los primerizos) en como lograr la funcionalidad completa de la emulación.

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.

Cerrar la imagen OLPC

Para cerrar la "ventana" de la XO emulada, se debe primero entrar a la pantalla del monitor QEMU y despues salir. Eso se logra haciendo:

  1. Asegurese que la ventana tenga el foco (la etiqueta debe decir QEMU - Press Ctrl-Alt to exit grab).
  2. Presione Alt + Ctrl + 2 para entrar en el Monitor QEMU.
  3. Escriba quit o q para salir/cerrar.

Por favor, actualice User Feedback on Images#QEMU on Windows con sus resultados.

To close the OLPC "window" you must first go into the QEMU monitor screen and then quit. You do that by:

  1. Make sure the window has the focus (label should say QEMU - Press Ctrl-Alt to exit grab).
  2. Press Alt + Ctrl + 2 to enter the QEMU Monitor.
  3. Type quit or q to quit.

Please update User Feedback on Images#QEMU on Windows with your experience.

Solución a problemas

Ver Using QEMU for Troubleshooting.

See Using QEMU for Troubleshooting. From some info found [here.]