Using QEMU on Windows XP/lang-es: Difference between revisions

From OLPC
Jump to navigation Jump to search
(first dump for translation)
 
 
(17 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Translation | lang = es | source = Using QEMU on Windows XP | version = 39730}}
{{Translated Page
| page_name = Using QEMU on Windows XP
| version_http = http://wiki.laptop.org/index.php?title=Using_QEMU_on_Windows_XP&oldid=27765
| diff_http = http://wiki.laptop.org/index.php?title=Using_QEMU_on_Windows_XP&diff=current&oldid=27765
}}
{{__TOCright__}}
{{__TOCright__}}
{{Ongoing Translation}}
<!-- áéíóúüñÑ¿¡ªº©®ç -->
<!-- áéíóúüñÑ¿¡ªº©®ç -->
<div id="Setting up QEMU"/>
{{anchor|Setting up QEMU}}
== Preparar QEMU ==
== Preparar QEMU ==


<font size="1"><blockquote>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.
Para poder usar las [[OS images/lang-es|imagenes provistas por la OLPC]] en una máquina corriendo Windows XP se debe instalar previamente un emulador: [[QEMU]]&mdash;que es open-source. Su acelerador, si bien no es requerido, se lo recomienda por razones de rendimiento.


'''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]].</blockquote></font>
'''Nota:''' algunas personas han convertido las imagenes para QEMU para que funcionen en [[OS images for emulation/lang-es#VMware Player|VMWare Player]], pero se aclara que el estándar de la OLPC es [[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.


'''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]].
<div id="QEMU Emulator"/>
| display = block }}

{{anchor|QEMU Emulator}}
=== Emulador QEMU ===
=== Emulador QEMU ===


# Descargar [http://www.h7.dion.ne.jp/~qemu-win/ QEMU para Windows]
<font size="1"><blockquote>
# Como no hay instalador, basta con [[unzip|descompactarlo]] en cualquier directorio (ej: <tt>C:\Archivos de programa\Qemu</tt>)
# Si se desea, se puede proceder a descargar el acelerador aquí abajo, o proseguir con la [[Using QEMU on Windows XP/lang-es#Download an OLPC image|descarga de la imagen]]
{{ 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]]</blockquote></font>
#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}}


<div id="QEMU Accelerator"/>
=== Acelerador QEMU ===
=== Acelerador QEMU ===


<font size="1"><blockquote>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>.
El [http://fabrice.bellard.free.fr/qemu/kqemu-doc.html Acelerador QEMU] es un piloto (''driver'') que permite al emulador de PC QEMU ejecutar mucho más rápido cuando se emula una PC sobre una máquina x86. La última versión estable es <tt>kqemu-1.3.0pre11.tar.gz</tt>.

# Descargar el [http://fabrice.bellard.free.fr/qemu/download.html Módulo Acelerador de QEMU]
# [[Unzip|Descompactar]] el archivo <tt>kqemu-''version''.tar.gz</tt> en un directorio (ej: <tt>C:\Archivos de programa\Qemu\KQemu-''version''</tt>)
#* Puede que sea necesario [[Unzip|descompactarlo]] dos veces por el formato <tt>.tar.gz</tt>
# En el directorio de destino, localice <tt>kqemu.inf</tt> e instalelo (menu/clic-derecho y seleccione <tt>Instalar</tt>). Deje que termine (llevará algunos segundos).
# Abra una <tt>consola de comandos</tt> (alias <tt>cmd.exe</tt>) y escriba
#* <tt>net start kqemu</tt>
#* Si todo salió bien, se debería ver el siguiente mensaje:
#**<tt>The KQEMU virtualisation module for QEMU service was started successfully.</tt>
{{ 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>.


#Download the QEMU Accelerator Module from [http://fabrice.bellard.free.fr/qemu/download.html here]
#Download the QEMU Accelerator Module from [http://fabrice.bellard.free.fr/qemu/download.html here]
Line 34: Line 52:
#*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 }}
</blockquote></font>

{{anchor|Download an OLPC image}}


<div id="Download an OLPC image"/>
== Descargar una imagen OLPC ==
== Descargar una imagen OLPC ==


<font size="1"><blockquote>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>).
Paso siguiente, se necesita descargar una imagen de disco, para lo cual dirijase a la [[Build images#Latest_Stable_Build|sección de los Latest Stable Build de la página OS Build images]] y navegue hasta el subdirectorio <tt>ext3</tt> (que posee las imagenes para el sistema de archivos <tt>ext3</tt>; si se desean usar herramientas de desarrollo, dirijase a <tt>devel_ext3</tt>). La imagen que se busca tendrá un nombre como
<tt>olpc-redhat-stream-development-build-''num''-''date''_ext3.img.bz2</tt>
Una vez que la imagen haya sido descargada, se la debe [[unzip|descompactar]] (usando algun programa acorde a la extension [http://en.wikipedia.org/wiki/Bz2 bz2]) y poner el archivo <tt>.img</tt> en el mismo directorio que [[QEMU]] (ej: <tt>C:\Program Files\Qemu</tt>)
{{ 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>).
The image you want will be named something like
The image you want will be named something like
<tt>olpc-redhat-stream-development-build-''num''-''date''_ext3.img.bz2</tt>
<tt>olpc-redhat-stream-development-build-''num''-''date''_ext3.img.bz2</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>).</blockquote></font>
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}}


<div id="Starting OLPC environment"/>
== Iniciar el ambiente OLPC ==
== Iniciar el ambiente OLPC ==


Antes de lanzar la imagen emulada, recomendamos ''encarecidamente'' la lectura de '''[[Sugar Instructions/lang-es|Instrucciones de Sugar]]''' sobre como utilizar el ambiente&mdash;esto no se parece a Windows, Mac o cualquier otro sistema operativo! Para comprender un poco mas la filosofía detras de [[Sugar/lang-es]], tambien les recomendamos leer los [[OLPC Human Interface Guidelines/lang-es|Lineamientos de la Interfaz OLPC]].
<font size="1"><blockquote>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!

Abra un <tt>consola de comandos</tt> (alias <tt>cmd.exe</tt>) en el directorio de QEMU y ejecutelo usando la imagen apropiada.
cd "\Archivos de programa\Qemu"
qemu.exe -L . -hda ''nombre_de_imagen''
Donde ''nombre_de_imagen'' sea la última version que se haya bajado. Por ejemplo:
qemu.exe -L . -hda olpc-redhat-stream-development-build-185-20061117_2030-devel_ext3.img
{{ 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!


Open a <tt>command prompt</tt> (aka <tt>cmd.exe</tt>) in the QEMU directory and launch it using the appropriate image.
Open a <tt>command prompt</tt> (aka <tt>cmd.exe</tt>) in the QEMU directory and launch it using the appropriate image.
cd "\Program Files\Qemu"
cd "\Program Files\Qemu"
qemu -L . -hda ''image_name''
qemu.exe -L . -hda ''image_name''
Where ''image_name'' is the newest version you have downloaded. For example:
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</blockquote></font>
qemu.exe -L . -hda olpc-redhat-stream-development-build-185-20061117_2030-devel_ext3.img
| display = block }}


<gallery>
<gallery>
Line 63: Line 97:
</gallery>
</gallery>


<font size="1"><blockquote>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.)
El emulador comenzará en una nueva ventana, y a los pocos segundos mostrará el logo 'XO' de la OLPC y <tt>Booting OLPC for qemu target in ''nn'' seconds</tt>. (De no hacerlo, pulse cualquier tecla, ingrese al menú de GRUB y elija la opción <tt>OLPC for qemu target</tt>. 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 <tt>Alt + Ctrl</tt> libera / retorna el control a Windows.

'''NOTA:''' Existe [[Using QEMU on Windows XP/lang-es#Troubleshooting|algunos temas]] (principalmente para los primerizos) en como lograr la funcionalidad completa de la emulación.
{{ Translated text |
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.
Then you will see a typical Linux boot sequence ending in a dialog asking for your nickname.
Line 69: Line 111:
As a reminder: pressing <tt>Alt + Ctrl</tt> will liberate / return control to Windows.
As a reminder: pressing <tt>Alt + Ctrl</tt> will liberate / return control to Windows.


'''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.</blockquote></font>
'''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 }}


<div id="Closing the OLPC image"/>
{{anchor|Closing the OLPC image}}
== Cerrar la imagen OLPC ==
== 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:
<font size="1"><blockquote>To close the OLPC "window" you must first go into the QEMU monitor screen and then quit. You do that by:
# Asegurese que la ventana tenga el foco (la etiqueta debe decir <tt>QEMU - Press Ctrl-Alt to exit grab</tt>).
# Presione <tt>Alt + Ctrl + 2</tt> para entrar en el Monitor QEMU (en algunas máquinas puede ser necesario el 'shift': <tt>Alt + Ctrl + Shift + 2</tt>).
# Escriba <tt>quit</tt> o <tt>q</tt> para salir/cerrar.

'''Por favor, actualice [[User Feedback on Images#QEMU on Windows]] con sus resultados'''.
{{ Translated text |
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>).
#Press <tt>Alt + Ctrl + 2</tt> to enter the QEMU Monitor.
#Press <tt>Alt + Ctrl + 2</tt> to enter the QEMU Monitor (may need shift as well on some computers: <tt>Alt + Ctrl + Shift + 2</tt>)
#Type <tt>quit</tt> or <tt>q</tt> to quit.
#Type <tt>quit</tt> or <tt>q</tt> to quit.


'''Please update [[User Feedback on Images#QEMU on Windows]] with your experience'''.</blockquote></font>
'''Please update [[User Feedback on Images#QEMU on Windows]] with your experience'''.
| display = block }}


<div id="Troubleshooting"/>
{{anchor|Troubleshooting}}
== Solución a problemas ==
== Solución a problemas ==


Ver [[Emulating the XO/Help and tips/lang-es|Emulando la XO/Ayudas y soluciones]].
<font size="1"><blockquote>See [[Using QEMU for Troubleshooting]].
{{ Translated text | 1=
See [[Emulating the XO/Help and tips]].


From some info found [[http://qemu-forum.ipi.fi/viewtopic.php?t=2645&highlight=olpc here.]]</blockquote></font>
From some info found [[http://qemu-forum.ipi.fi/viewtopic.php?t=2645&highlight=olpc here.]]
| display = block }}


[[Category:Developers]]
[[Category:Developers]]

Latest revision as of 17:46, 19 April 2009

  Traducción de Using QEMU on Windows XP original  
  english | español | francais | 日本語 | 한국어 | português   +/- cambios  
This is an on-going translation

Preparar QEMU

Para poder usar las imagenes provistas por la OLPC en una máquina corriendo Windows XP se debe instalar previamente un emulador: QEMU—que es open-source. Su acelerador, si bien no es requerido, se lo recomienda por razones de rendimiento.

Nota: algunas personas han convertido las imagenes para QEMU para que funcionen en VMWare Player, pero se aclara que el estándar de la OLPC es 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.

Emulador QEMU

  1. Descargar QEMU para Windows
  2. Como no hay instalador, basta con descompactarlo en cualquier directorio (ej: C:\Archivos de programa\Qemu)
  3. Si se desea, se puede proceder a descargar el acelerador aquí abajo, o proseguir con la descarga de la imagen
  1. Download QEMU for Windows from here
  2. Since there's no installation step, just unzip it into any directory (ie: C:\Program Files\Qemu)
  3. if you want, proceed with the accelerator below, if not go to downloading the image

Acelerador QEMU

El Acelerador QEMU es un piloto (driver) que permite al emulador de PC QEMU ejecutar mucho más rápido cuando se emula una PC sobre una máquina x86. La última versión estable es kqemu-1.3.0pre11.tar.gz.

  1. Descargar el Módulo Acelerador de QEMU
  2. Descompactar el archivo kqemu-version.tar.gz en un directorio (ej: C:\Archivos de programa\Qemu\KQemu-version)
    • Puede que sea necesario descompactarlo dos veces por el formato .tar.gz
  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 Instrucciones de Sugar 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/lang-es, 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.exe -L . -hda nombre_de_imagen

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

qemu.exe -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.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

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 (en algunas máquinas puede ser necesario el 'shift': Alt + Ctrl + Shift + 2).
  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 (may need shift as well on some computers: Alt + Ctrl + Shift + 2)
  3. Type quit or q to quit.

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

Solución a problemas

Ver Emulando la XO/Ayudas y soluciones.

See Emulating the XO/Help and tips. From some info found [here.]