<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.lunar-linux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.lunar-linux.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adriandelatabla</id>
		<title>Lunar Linux - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.lunar-linux.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adriandelatabla"/>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Special:Contributions/Adriandelatabla"/>
		<updated>2026-05-11T18:53:55Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>http://wiki.lunar-linux.org/Theedge_es</id>
		<title>Theedge es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Theedge_es"/>
				<updated>2009-02-24T00:40:02Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: Links corrected&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Theedge_es|Theedge]] es la rama de desarrollo de [[Lunar_es|Lunar]], un conjunto de herramientas que le permiten instalar, eliminar y actualizar paquetes. También&lt;br /&gt;
incluye varias herramientas que le ayudarán a seleccionar paquetes y obtener información sobre su estado, archivos que contiene, etc. Para más información&lt;br /&gt;
acerca de cómo funciona [[ES:theedge|theedge]], lea la pagina de [[lunar_es|lunar]].&lt;br /&gt;
&lt;br /&gt;
Las correcciones en desarrollo y las nuevas funcionalidades se incluyen en theedge exclusivamente, de tal forma que puedan ser testeadas sin molestar a los usuarios&lt;br /&gt;
que no quieren ejecutar código experimental. Usted debería instalar [[lunar_es|lunar]] si éste es su caso.&lt;br /&gt;
&lt;br /&gt;
Lea [[lunar_es|lunar]] para una lista de las [[herramientas]] que incluye.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_es</id>
		<title>Lunar es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_es"/>
				<updated>2009-02-24T00:35:10Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: Initial translation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Lunar_es|Lunar]] es el nombre de nuestra distribución, y también el del [[Sistema de Administración de Paquetes]] (y sus herramientas) que se utiliza en&lt;br /&gt;
[[Lunar_Linux:About_es|Lunar Linux]] para instalar, eliminar y actualizar paquetes.&lt;br /&gt;
&lt;br /&gt;
[[Lunar_es|Lunar]] es el nombre de la suite de herramientas incluídas en el núcleo de herramientas básicas del sistema. Esta suite de herramientas proveen la &lt;br /&gt;
funcionalidad necesaria para ejecutar varias acciones relativas a la administración de paquetas, además de proporcionar información sobre los paquetes, archivos&lt;br /&gt;
instalados, parámetros usados durante la compilación, etc.&lt;br /&gt;
&lt;br /&gt;
[[Lunar_es|Lunar]] es la versión estable del núcleo de herramientas. Este paquete ofrece la misma funcionalidad básica que la version de desarrollo:[[Theedge_es|Theedge]], pero se modifica a un ritmo más lento debido a las pruebas que se realizan antes de incorporar los cambios. Si desea utilizar las últimas&lt;br /&gt;
funcionalidades en el [[Sistema de Administración de Paquetes]], debería en cambio utilizar [[Theedge_es|Theedge]]&lt;br /&gt;
[[Theedge_es|Theedge]] y [[Lunar_es|Lunar]] pueden intercambiarse en cualquier momento, simplemente ejecute:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lin lunar&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
para instalar lunar, o:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lin theedge&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
para utilizar [[Theedge_es|Theedge]]&lt;br /&gt;
&lt;br /&gt;
[[Lunar_es|Lunar]] proporciona estas [[herramientas]]:&lt;br /&gt;
&lt;br /&gt;
*[[Herramientas:Lunar_es|lunar]]&lt;br /&gt;
*[[Herramientas:lin_es|lin]]&lt;br /&gt;
*[[Herramientas:lrm_es|lrm]]&lt;br /&gt;
*[[Herramientas:lget_es|lget]]&lt;br /&gt;
*[[Herramientas:lvu_es|lvu]]&lt;br /&gt;
&lt;br /&gt;
Y algunas otras menos conocidas y menos importantes.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2009-02-24T00:08:34Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: Minor fixes, links corrected&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, se esperará hasta que finalice y después continuara la instalación automáticamente.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo instalo Java?===&lt;br /&gt;
¿Cómo obtengo Java para mi sistema Lunar?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
Necesitará descargar el código fuente de Java desde el sitio de Sun y hacer click para aceptar los términos de la licencia. Deberá compilarlo usted mismo. Lunar-linux no tiene un módulo ya que hasta ahora no hay forma de automatizar el &amp;quot;click&amp;quot; necesario para &lt;br /&gt;
la aceptación de la licencia de Sun. Vea este sitio (en inglés) para más información:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
Existe sin embargo un módulo sun-jdk en la moonbase que es el port de Blackdown de la Máquina Virtual de Java provista por Sun.&lt;br /&gt;
&lt;br /&gt;
==Herramientas básicas de Lunar==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es la Moonbase?===&lt;br /&gt;
¿Qué es eso que llaman la [[Moonbase_es|Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La [[Moonbase_es|Moonbase]] (del inglés, base lunar) es una base de datos que contiene [[módulo|módulos]]. En ella se almacenan descripciones de paquetes que le indican a las herramientas principales de Lunar de donde descargar, como compilar y como instalar un [[módulo]]. Se lo puede considerar como el equivalente a portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es theedge?===&lt;br /&gt;
¿Qué es theedge?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge_es|Theedge]] es lo mismo que lunar, y al igual que lunar contiene el código principal del sistema. Tanto lunar como theedge se encargan de la instalación de los paquetes, pero no contienen ninguna descripción de los mismos, toda la información relativa a los módulos está contenida en la moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge_es|Theedge]] es la versión de desarrollo de [[lunar_es|lunar]]. A menudo theedge tiene más funcionalidades, y los bugs se corrigen más rápidamente. Sin embargo, si prefiere una versión más estable en su sistema, le recomendamos usar las herramientas de lunar.&lt;br /&gt;
&lt;br /&gt;
Puede installar [[theedge_es|Theedge]] ejecutando:&lt;br /&gt;
&lt;br /&gt;
  lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge se actualiza automáticamente si se ejecuta &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; o &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Otros==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo desempaquetar un archivo .RPM en lunar?===&lt;br /&gt;
¿Cómo puedo instalar un archivo RPM en lunar? ¿Es posible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
El camino más fácil para desempaquetar un archivo RPM es usando el módulo llamado &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Solo corre &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; para tu RPM. Esto va a crear un archivo cpio (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Una vez que haz hecho una descompresión con &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, tu puedes extraerlo usando &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/ES:theedge</id>
		<title>ES:theedge</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/ES:theedge"/>
				<updated>2009-02-14T04:21:39Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: Spanish translation of theedge definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[ES:Theedge|Theedge]] es la rama de desarrollo de [[Lunar]], un conjunto de herramientas que le permiten instalar, eliminar y actualizar paquetes. También&lt;br /&gt;
incluye varias herramientas que le ayudarán a seleccionar paquetes y obtener información sobre su estado, archivos que contiene, etc. Para más información&lt;br /&gt;
acerca de cómo funciona [[ES:theedge|theedge]], lea la pagina de [[lunar]].&lt;br /&gt;
&lt;br /&gt;
Las correcciones en desarrollo y las nuevas funcionalidades se incluyen en theedge exclusivamente, de tal forma que puedan ser testeadas sin molestar a los usuarios&lt;br /&gt;
que no quieren ejecutar código experimental. Usted debería instalar [[lunar]] si éste es su caso.&lt;br /&gt;
&lt;br /&gt;
Lea [[lunar]] para una lista de las [[herramientas]] que incluye.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-10-22T13:41:45Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* What is theedge? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo instalo Java?===&lt;br /&gt;
¿Cómo obtengo Java para mi sistema Lunar?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
Necesitará descargar el código fuente de Java desde el sitio de Sun y hacer click para aceptar los términos de la licencia. Deberá compilarlo usted mismo. Lunar-linux no tiene un módulo ya que hasta ahora no hay forma de automatizar el &amp;quot;click&amp;quot; necesario para &lt;br /&gt;
la aceptación de la licencia de Sun. Vea este sitio (en inglés) para más información:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
Existe sin embargo un módulo sun-jdk en la moonbase que es el port de Blackdown de la Máquina Virtual de Java provista por Sun.&lt;br /&gt;
&lt;br /&gt;
==Herramientas básicas de Lunar==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es la Moonbase?===&lt;br /&gt;
¿Qué es eso que llaman la [[Moonbase_es|Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La [[Moonbase_es|Moonbase]] (del inglés, base lunar) es una base de datos que contiene [[módulo|módulos]]. En ella se almacenan descripciones de paquetes que le indican a las herramientas principales de Lunar de donde descargar, como compilar y como instalar un [[módulo]]. Se lo puede considerar como el equivalente a portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es theedge?===&lt;br /&gt;
¿Qué es theedge?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] es lo mismo que lunar, y al igual que lunar contiene el código principal del sistema. Theedge sólo es otra versión de lunar. Tanto lunar como theedge se encargan de la instalación de los paquetes, pero no contienen &lt;br /&gt;
ninguna descripción de los mismos, toda la información relativa a los módulos está contenida en la moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] es la versión de desarrollo de [[lunar]]. A menudo theedge tiene más funcionalidades, y los bugs se corrigen más rápidamente. Sin embargo, si prefiere una versión más estable en su sistema, le recomendamos usar las herramientas de lunar.&lt;br /&gt;
&lt;br /&gt;
Puede installar [[theedge]] ejecutando:&lt;br /&gt;
&lt;br /&gt;
  lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge se actualiza automáticamente si se ejecuta &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; o &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Template:Main_Page:About_es</id>
		<title>Template:Main Page:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Template:Main_Page:About_es"/>
				<updated>2008-08-26T01:13:39Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: Lunar already supports AMD64&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;float: right; padding-top: 0.1em; padding-right: 15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{ed|Main_Page:About_es|}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Lunar Linux:About_es|'''Acerca de Lunar Linux''']]==&lt;br /&gt;
'''Lunar Linux''' es una [http://es.wikipedia.org/wiki/Distribución_Linux distribución Linux] basada en [http://es.wikipedia.org/wiki/Código_fuente código fuente]. Es construída íntegramente mediante la [http://es.wikipedia.org/wiki/Compilación compilación] del código fuente, utilizando [[wikipedia:Optimization (computer_science)|optimizaciones]] a medida. &lt;br /&gt;
&lt;br /&gt;
Primero se instala un completo sistema inicial de desarrollo ([http://es.wikipedia.org/wiki/Bootstrapping bootstrap]). Después de indicarle al administrador de paquetes Lunar el software requerido, este construye el sistema descargando el código fuente y compilando localmente el software con las optimizaciones definidas por el usuario. Esto permite crear un [http://es.wikipedia.org/wiki/Sistema_operativo sistema operativo] optimizado y ligero. Por otro lado, compilar una distribución completa desde cero puede demandar bastante tiempo y complicar la tarea de mantener los paquetes actualizados. &lt;br /&gt;
Actualmente, Lunar soporta la arquitectura [[wikipedia:X86|x86]], pero se está trabajando para brindar soporte en [[wikipedia:SPARC|Sparc]], [[wikipedia:PowerPC|PPC]] y[[wikipedia:DEC_Alpha|Alpha]].&lt;br /&gt;
&lt;br /&gt;
Lunar Linux está protegido por la GPLv2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: right; font-variant: small-caps; padding-right: 15px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Lunar Linux:About_es|Más información]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-08-22T05:05:14Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué es la Moonbase? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo instalo Java?===&lt;br /&gt;
¿Cómo obtengo Java para mi sistema Lunar?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
Necesitará descargar el código fuente de Java desde el sitio de Sun y hacer click para aceptar los términos de la licencia. Deberá compilarlo usted mismo. Lunar-linux no tiene un módulo ya que hasta ahora no hay forma de automatizar el &amp;quot;click&amp;quot; necesario para &lt;br /&gt;
la aceptación de la licencia de Sun. Vea este sitio (en inglés) para más información:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
Existe sin embargo un módulo sun-jdk en la moonbase que es el port de Blackdown de la Máquina Virtual de Java provista por Sun.&lt;br /&gt;
&lt;br /&gt;
==Herramientas básicas de Lunar==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es la Moonbase?===&lt;br /&gt;
¿Qué es eso que llaman la [[Moonbase_es|Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La [[Moonbase_es|Moonbase]] (del inglés, base lunar) es una base de datos que contiene [[módulo|módulos]]. En ella se almacenan descripciones de paquetes que le indican a las herramientas principales de Lunar de donde descargar, como compilar y como instalar un [[módulo]]. Se lo puede considerar como el equivalente a portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/M%C3%B3dulo</id>
		<title>Módulo</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/M%C3%B3dulo"/>
				<updated>2008-08-22T05:03:28Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: New page: ==Módulo==  Término general con el que se designa a la serie de instrucciones de instalación y compilación utilizadas en Lunar Linux. El conjunto de todos los ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Módulo==&lt;br /&gt;
&lt;br /&gt;
Término general con el que se designa a la serie de instrucciones de instalación y compilación utilizadas en [[Lunar Linux:About_es|Lunar Linux]]. El conjunto de todos los [[módulo|módulos]] disponibles constituye la [[Moonbase_es|Moonbase]]&lt;br /&gt;
&lt;br /&gt;
==Definición==&lt;br /&gt;
Un módulo se define como ''un directorio en la [[Moonbase_es|Moonbase]] que contiene un archivo [[DETAILS_es|DETAILS]]''.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-08-22T04:51:33Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /*¿Qué es la Moonbase? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo instalo Java?===&lt;br /&gt;
¿Cómo obtengo Java para mi sistema Lunar?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
Necesitará descargar el código fuente de Java desde el sitio de Sun y hacer click para aceptar los términos de la licencia. Deberá compilarlo usted mismo. Lunar-linux no tiene un módulo ya que hasta ahora no hay forma de automatizar el &amp;quot;click&amp;quot; necesario para &lt;br /&gt;
la aceptación de la licencia de Sun. Vea este sitio (en inglés) para más información:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
Existe sin embargo un módulo sun-jdk en la moonbase que es el port de Blackdown de la Máquina Virtual de Java provista por Sun.&lt;br /&gt;
&lt;br /&gt;
==Herramientas básicas de Lunar==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es la Moonbase?===&lt;br /&gt;
¿Qué es eso que llaman la [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La [[Moonbase]] (del inglés, base lunar) es una base de datos que contiene [[módulos]]. En ella se almacenan descripciones de paquetes que le indican a las herramientas principales de Lunar de donde descargar, como compilar y como instalar un [[módulo]]. Se lo puede considerar como el equivalente a portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-07-24T02:19:17Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* Lunar core tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo instalo Java?===&lt;br /&gt;
¿Cómo obtengo Java para mi sistema Lunar?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
Necesitará descargar el código fuente de Java desde el sitio de Sun y hacer click para aceptar los términos de la licencia. Deberá compilarlo usted mismo. Lunar-linux no tiene un módulo ya que hasta ahora no hay forma de automatizar el &amp;quot;click&amp;quot; necesario para &lt;br /&gt;
la aceptación de la licencia de Sun. Vea este sitio (en inglés) para más información:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
Existe sin embargo un módulo sun-jdk en la moonbase que es el port de Blackdown de la Máquina Virtual de Java provista por Sun.&lt;br /&gt;
&lt;br /&gt;
==Herramientas básicas de Lunar==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-07-24T02:18:17Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* How do I install Java? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo instalo Java?===&lt;br /&gt;
¿Cómo obtengo Java para mi sistema Lunar?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
Necesitará descargar el código fuente de Java desde el sitio de Sun y hacer click para aceptar los términos de la licencia. Deberá compilarlo usted mismo. Lunar-linux no tiene un módulo ya que hasta ahora no hay forma de automatizar el &amp;quot;click&amp;quot; necesario para &lt;br /&gt;
la aceptación de la licencia de Sun. Vea este sitio (en inglés) para más información:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
Existe sin embargo un módulo sun-jdk en la moonbase que es el port de Blackdown de la Máquina Virtual de Java provista por Sun.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-07-24T02:09:13Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* Mi moonbase se perdió y no puedo instalar nada. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde Internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Template:Main_Page:About_es</id>
		<title>Template:Main Page:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Template:Main_Page:About_es"/>
				<updated>2008-06-16T23:25:26Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;float: right; padding-top: 0.1em; padding-right: 15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{ed|Main_Page:About_es|}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Lunar Linux:About_es|'''Acerca de Lunar Linux''']]==&lt;br /&gt;
'''Lunar Linux''' es una [http://es.wikipedia.org/wiki/Distribución_Linux distribución Linux] basada en [http://es.wikipedia.org/wiki/Código_fuente código fuente]. Es construída íntegramente mediante la [http://es.wikipedia.org/wiki/Compilación compilación] del código fuente, utilizando [[wikipedia:Optimization (computer_science)|optimizaciones]] a medida. &lt;br /&gt;
&lt;br /&gt;
Primero se instala un completo sistema inicial de desarrollo ([http://es.wikipedia.org/wiki/Bootstrapping bootstrap]). Después de indicarle al administrador de paquetes Lunar el software requerido, este construye el sistema descargando el código fuente y compilando localmente el software con las optimizaciones definidas por el usuario. Esto permite crear un [http://es.wikipedia.org/wiki/Sistema_operativo sistema operativo] optimizado y ligero. Por otro lado, compilar una distribución completa desde cero puede demandar bastante tiempo y complicar la tarea de mantener los paquetes actualizados. &lt;br /&gt;
Actualmente, Lunar soporta la arquitectura [[wikipedia:X86|x86]], pero se está trabajando para brindar soporte en [[wikipedia:SPARC|Sparc]], [[wikipedia:AMD64|AMD64]], [[wikipedia:PowerPC|PPC]] y[[wikipedia:DEC_Alpha|Alpha]].&lt;br /&gt;
&lt;br /&gt;
Lunar Linux está protegido por la GPLv2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: right; font-variant: small-caps; padding-right: 15px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Lunar Linux:About_es|Más información]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Template:Main_Page:About_es</id>
		<title>Template:Main Page:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Template:Main_Page:About_es"/>
				<updated>2008-06-16T23:22:56Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;float: right; padding-top: 0.1em; padding-right: 15px;&amp;quot;&amp;gt;&lt;br /&gt;
{{ed|Main_Page:About_es|}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==[[Lunar Linux:About_es|'''Acerca de Lunar Linux''']]==&lt;br /&gt;
'''Lunar Linux''' es una [http://es.wikipedia.org/wiki/Distribución_Linux distribución Linux] basada en [http://es.wikipedia.org/wiki/Código_fuente código fuente]. Es construída íntegramente mediante la [http://es.wikipedia.org/wiki/Compilación compilación] del código fuente, utilizando [[wikipedia:Optimization (computer_science)|optimizaciones]] a medida. &lt;br /&gt;
&lt;br /&gt;
Primero se instala un completo sistema inicial de desarrollo([http://es.wikipedia.org/wiki/Bootstrapping bootstrap]). Después de indicarle al administrador de paquetes Lunar el software requerido, este construye el sistema descargando el código fuente y compilando localmente el software con las optimizaciones definidas por el usuario. Esto permite crear un [http://es.wikipedia.org/wiki/Sistema_operativo sistema operativo] optimizado y ligero. Por otro lado, compilar una distribución completa desde cero puede demandar bastante tiempo y complicar la tarea de mantener los paquetes actualizados. &lt;br /&gt;
Actualmente, Lunar soporta la arquitectura [[wikipedia:X86|x86]], pero se está trabajando para brindar soporte en [[wikipedia:SPARC|Sparc]], [[wikipedia:AMD64|AMD64]], [[wikipedia:PowerPC|PPC]] y[[wikipedia:DEC_Alpha|Alpha]].&lt;br /&gt;
&lt;br /&gt;
Lunar Linux está protegido por la GPLv2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: right; font-variant: small-caps; padding-right: 15px;&amp;quot;&amp;gt;&lt;br /&gt;
[[Lunar Linux:About_es|Más información]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:About_es</id>
		<title>Lunar Linux:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:About_es"/>
				<updated>2008-06-16T23:20:26Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''¿Qué es Lunar Linux?'''&lt;br /&gt;
Lunar Linux es una distribución de GNU/Linux desarrollada por un equipo muy talentoso de programadores de todo el mundo, quienes trabajan para expandir la tecnología Linux simplificando la tarea de optimización del software disponible para el usuario.&lt;br /&gt;
&lt;br /&gt;
Lunar utiliza el kernel Linux, creado por Linus Torvalds y actualmente desarrollado por miles de programadores alrededor del mundo, y ofrece un original sistema de administración de paquetes el cual compila cada paquete (denominado módulo en la jerga Lunar) desde cero, optimizado para la máquina en la que se está instalando.&lt;br /&gt;
&lt;br /&gt;
Esta es la característica distintiva de Lunar. Hace de la customización una tarea sencilla: usted elije las opciones de compilación, e instala un sistema ajustado a sus necesidades. Ni más ni menos.&lt;br /&gt;
&lt;br /&gt;
Una vez instalado, Lunar es notablemente rápido, abriendo nuevos caminos en la flexibilidad y en las opciones que ofrece al usuario.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''¿Cuál es la licencia de Lunar Linux?'''&lt;br /&gt;
&lt;br /&gt;
Lunar Linux y todo su código fuente está licenciado bajo la GPLv2.&lt;br /&gt;
&lt;br /&gt;
'''¿Cómo funciona?'''&lt;br /&gt;
En pocas palabras: Lunar instala en su máquina un completo sistema inicial de desarrollo. Mediante el administrador de paquetes usted especifica los programas que desea instalar, y Lunar construye el sistema completo descargando el código fuente necesario y compilando localmente el software, con las optimizaciones que usted haya indicado.&lt;br /&gt;
&lt;br /&gt;
El instalador de Lunar es rápido y proporciona control total sobre el proceso de instalación, incluyendo una amplia variedad de herramientas de instalación y recuperación. También provee una interfaz para compilar un kernel adecuado a sus requerimientos durante el proceso de instalación.&lt;br /&gt;
&lt;br /&gt;
Instalar aplicaciones es una tarea muy simple, teclee &amp;quot;lin [nombre del paquete]&amp;quot; y el sistema instalará la aplicación desde la moonbase, el repositorio de módulos de Lunar Linux. ¿Se arrepintió de haber instalado algún programa? Teclee &amp;quot;lrm [nombre del paquete]&amp;quot; y lo eliminará completamente del sistema. Lunar posee un original Sistema de Administración de Aplicaciones (SAA) basado en comandos de shell el cual se encarga de la gestión de dependencias antes de la instalación del software. No hay &amp;quot;dependencias del infierno&amp;quot;, si hay otras cosas que instalar para que determinada aplicación funcione, el SAA se encargará de descargarlas e instalarlas por usted.&lt;br /&gt;
&lt;br /&gt;
Actualizar Lunar es cuestión de un solo comando, lunar update.Cuando se ejecuta este comando se descarga una versión actualizada de la moonbase, el sistema se fija si hay versiones nuevas de las aplicaciones instaladas en el sistema, y finalmente las compila e instala, respetando las opciones de configuración especificadas la primera vez que se instaló un programa determinado. El SAA utiliza la red para descargar el código fuente correspondiente. La moonbase y las herramientas principales se actualizan continuamente en lunar-linux.org.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:About_es</id>
		<title>Lunar Linux:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:About_es"/>
				<updated>2008-06-16T23:19:33Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''¿Qué es Lunar Linux?'''&lt;br /&gt;
Lunar Linux es una distribución de GNU/Linux desarrollada por un equipo muy talentoso de programadores de todo el mundo, quienes trabajan para expandir la tecnología Linux simplificando la tarea de optimización del software disponible para el usuario.&lt;br /&gt;
&lt;br /&gt;
Lunar utiliza el kernel Linux, creado por Linus Torvalds y actualmente desarrollado por miles de programadores alrededor del mundo, y ofrece un original sistema de administración de paquetes el cual compila cada paquete (denominado módulo en la jerga Lunar) desde cero, optimizado para la máquina en la que se está instalando.&lt;br /&gt;
&lt;br /&gt;
Esta es la característica distintiva de Lunar. Hace de la customización una tarea sencilla: usted elije las opciones de compilación, e instala un sistema ajustado a sus necesidades. Ni más ni menos.&lt;br /&gt;
&lt;br /&gt;
Una vez instalado, Lunar es notablemente rápido, abriendo nuevos caminos en la flexibilidad y en las opciones que ofrece al usuario.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''¿Cuál es la licencia de Lunar Linux?'''&lt;br /&gt;
&lt;br /&gt;
Lunar Linux y todo su código fuente está licenciado bajo la GPLv2.&lt;br /&gt;
&lt;br /&gt;
'''¿Cómo funciona?'''&lt;br /&gt;
En pocas palabras: Lunar instala en su máquina un completo sistema inicial de desarrollo. Mediante el administrador de paquetes usted especifica los programas que desea instalar, y Lunar construye el sistema completo descargando el código fuente necesario y compilando localmente el software, con las optimizaciones que usted haya indicado.&lt;br /&gt;
&lt;br /&gt;
El instalador de Lunar es rápido y proporciona control total sobre el proceso de instalación, incluyendo una amplia variedad de herramientas de instalación y recuperación. También provee una interfaz para compilar un kernel adecuado a sus requerimientos durante el proceso de instalación.&lt;br /&gt;
&lt;br /&gt;
Instalar aplicaciones es una tarea muy simple, teclee '&amp;quot;lin [nombre del paquete]&amp;quot;' y el sistema instalará la aplicación desde la moonbase, el repositorio de módulos de Lunar Linux. ¿Se arrepintió de haber instalado algún programa? Teclee ''lrm [nombre del paquete]'' y lo eliminará completamente del sistema. Lunar posee un original Sistema de Administración de Aplicaciones (SAA) basado en comandos de shell el cual se encarga de la gestión de dependencias antes de la instalación del software. No hay ''dependencias del infierno'', si hay otras cosas que instalar para que determinada aplicación funcione, el SAA se encargará de descargarlas e instalarlas por usted.&lt;br /&gt;
&lt;br /&gt;
Actualizar Lunar es cuestión de un solo comando, lunar update.Cuando se ejecuta este comando se descarga una versión actualizada de la moonbase, el sistema se fija si hay versiones nuevas de las aplicaciones instaladas en el sistema, y finalmente las compila e instala, respetando las opciones de configuración especificadas la primera vez que se instaló un programa determinado. El SAA utiliza la red para descargar el código fuente correspondiente. La moonbase y las herramientas principales se actualizan continuamente en lunar-linux.org.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:About_es</id>
		<title>Lunar Linux:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:About_es"/>
				<updated>2008-06-15T03:35:20Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''¿Qué es Lunar Linux?'''&lt;br /&gt;
Lunar Linux es una distribución de GNU/Linux desarrollada por un equipo muy talentoso de programadores de todo el mundo, quienes trabajan para expandir la tecnología Linux simplificando la tarea de optimización del software disponible para el usuario.&lt;br /&gt;
&lt;br /&gt;
Lunar utiliza el kernel Linux, creado por Linus Torvalds y actualmente desarrollado por miles de programadores alrededor del mundo, y ofrece un original sistema de administración de paquetes el cual compila cada paquete (denominado módulo en la jerga Lunar) desde cero, optimizado para la máquina en la que se está instalando.&lt;br /&gt;
&lt;br /&gt;
Esta es la característica distintiva de Lunar. Hace de la customización una tarea sencilla: usted elije las opciones de compilación, e instala un sistema ajustado a sus necesidades. Ni más ni menos.&lt;br /&gt;
&lt;br /&gt;
Una vez instalado, Lunar es notablemente rápido, abriendo nuevos caminos en la flexibilidad y en las opciones que ofrece al usuario.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''¿Cuál es la licencia de Lunar Linux?'''&lt;br /&gt;
&lt;br /&gt;
Lunar Linux y todo su código fuente esta licenciado bajo la GPLv2.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:About_es</id>
		<title>Lunar Linux:About es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:About_es"/>
				<updated>2008-06-15T03:35:00Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: New page: '''¿Qué es Lunar Linux?''' Lunar Linux es una distribución de GNU/Linux desarrollada por un equipo muy talentoso de programadores de todo el mundo, quienes trabajan para expandir la tec...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''¿Qué es Lunar Linux?'''&lt;br /&gt;
Lunar Linux es una distribución de GNU/Linux desarrollada por un equipo muy talentoso de programadores de todo el mundo, quienes trabajan para expandir la tecnología Linux simplificando la tarea de optimización del software disponible para el usuario.&lt;br /&gt;
&lt;br /&gt;
Lunar utiliza el kernel Linux, creado por Linus Torvalds y actualmente desarrollado por miles de programadores alrededor del mundo, y ofrece un original sistema de administración de paquetes el cual compila cada paquete (denominado módulo en la jerga Lunar) desde cero, optimizado para la máquina en la que se está instalando.&lt;br /&gt;
&lt;br /&gt;
Esta es la característica distintiva de Lunar. Hace de la customización una tarea sencilla: usted elije las opciones de compilación, e instala un sistema ajustado a sus necesidades. Ni más ni menos.&lt;br /&gt;
&lt;br /&gt;
Una vez instalado, Lunar es notablemente rápido, abriendo nuevos caminos en la flexibilidad y en las opciones que ofrece al usuario.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''¿Cuál es la licencia de Lunar Linux?'''&lt;br /&gt;
&lt;br /&gt;
Lunar Linux y todo su código fuente esta licenciado mediante la GPLv2.&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2008-06-14T05:18:35Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cuáles son las optimizaciones seguras? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Faster, equivalente a la opcion -O2 de gcc, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-08-24T20:10:33Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T05:08:15Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué es un módulo? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módulo]] es un conjunto de archivos que le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T05:06:57Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* What is a module? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===¿Qué es un módulo?===&lt;br /&gt;
¿Qué es un [[módulo]] y para que sirve?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Un [[módule]] es un conjunto de archivos le indican a las herramientas de lunar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
* Que nombre, versión y otras propiedades tiene un paquete&lt;br /&gt;
* De dónde descargar los archivos necesarios&lt;br /&gt;
* Qué otros módulos se necesitan, o entran en conflicto con el que se haya especificado&lt;br /&gt;
* Cómo descomprimir el código fuente, como aplicarle un parche&lt;br /&gt;
* Cómo configurar el código&lt;br /&gt;
* Cómo compilarlo&lt;br /&gt;
* Cómo instalar todo&lt;br /&gt;
* Qué otras acciones son necesarias&lt;br /&gt;
&lt;br /&gt;
El [[módulo]] está codificado en un conjunto de archivos en una estructura de directorio, y guionado en bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:54:26Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* Mi moonbase se perdió y no puedo instalar nada. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde internet, y la devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:54:03Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* My moonbase is gone and I can't install anything. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Mi moonbase se perdió y no puedo instalar nada.===&lt;br /&gt;
¿Cómo puedo solucionar problemas con mi moonbase cuando está dañada o se ha perdido?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
La solución más simple es ejecutar:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
Esto descargará la última moonbase desde internet, y le devolverá a un correcto estado de funcionamiento.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:50:27Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cómo puedo recompilar un módulo en vez de resucitarlo? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULO''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si hay una copia de instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:49:37Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* How can I make modules recompile instead of resurrecting? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo en vez de resucitarlo?===&lt;br /&gt;
¿Cómo puedo indicarle a lunar que recompile mi aplicación en vez de resucitarla?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
La opción -c le ordena a &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; que compile el módulo incluso si una copia de una instalación disponible en &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:41:01Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* How can I recompile my module with new options? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo recompilar un módulo con nuevas opciones?===&lt;br /&gt;
¿Cómo puedo forzar una recompilación de mis módulos con opciones diferentes?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Intente:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
El switch -r le permite seleccionar nuevas configuraciones y dependencias para los módulos.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:29:24Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* How do I get Flash to work in Mozilla or Firefox? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo obtener funcionalidad Flash en Mozilla o Firefox?===&lt;br /&gt;
¿Cómo puedo hacer que funcione Flash en Mozilla o Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si está utilizando Mozilla o Firefox, simplemente ejecute &amp;lt;code&amp;gt;lin flah-plugin&amp;lt;/code&amp;gt; y esto descargará e instalará el plugin de Macromedia Flash que funciona con mozilla basado en gtk+ a través de los abi wrappers antiguos.&lt;br /&gt;
&lt;br /&gt;
Este plugin ''no'' funciona con Galeon. Los desarrolladores de Galeon han decidido no proveer los abi wrappers antiguos necesarios para que el plugin funcione.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:20:05Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* Can I add more window managers to gdm? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===¿Puedo agregar más gestores de ventanas a gdm?===&lt;br /&gt;
¿Cómo puedo agregar otro gestor de ventana a lista de sesiones de gdm? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Copie los archivos de inicio del entorno gráfico a &amp;lt;code&amp;gt;/etc/X11/gdm/Sessions/&amp;lt;/code&amp;gt;. Esto funciona con gdm. Para kdm tendrá que copiarlos a &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:14:26Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectura, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:13:40Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectur, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-30T04:12:32Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectur, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-29T03:38:53Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectur, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-29T03:38:06Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
¿Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Este es un problema relacionado con archivos de cabecera. Algunas veces ''/usr/include/gnu/stubs.h'' no existe, se lo puede encontrar en el paquete tar del código fuente de glibc. La mayoría de las veces puede ocurrir lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Los archivos de cabecera del kernel no existen en &amp;lt;code&amp;gt;/usr/include/&amp;lt;code&amp;gt;. Esto significa que el pre-procesador de C no puede verificar las copias de esos archivos vitales. Necesita instalar los archivos adecuados manualmente. Una forma:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
Esto puede funcionar para usted (Por supuesto, use la versión 2.6 si es necesario) &lt;br /&gt;
&lt;br /&gt;
De lo contrario:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
para crear los dos directorios de destino, si fuera necesario. Luego ejecute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
para copiar los archivos de forma manual. Observe que el segundo comando debe ingresarse de esta manera dado que &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; es un enlace simbólico a los archivos de cabecera asm de su arquitectur, asm apunta a asm-i386 en máquinas x86. Si en cambio, usted hubiese copiado de esta forma:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
entonces tendría un enlace simbólico que apunta a ningún lado bajo &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Por último, siempre puede intentar desempaquetar el tarball del kernel que está en &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; y crear los enlaces simbólicos manualmente o copiar los archivos de cabecera usted mismo.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-29T03:05:41Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* error : C compiler cannot create executables */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
Qué significa este error y como puedo solucionarlo?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Lea el siguiente punto - es básicamente el mismo problema: Hay archivos de cabecera del kernel que faltan y son vitales para la compilación. Tendrá que restaurarlos. Debajo se explica como hacerlo.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:31:00Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cuáles son las optimizaciones seguras? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todos, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de que surjan problemas con algunas aplicaciones. Vea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:28:48Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cuáles son las optimizaciones seguras? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest, equivalente a -O3. Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Optimizaciones de velocidad'''&lt;br /&gt;
** Si quiere estar 100% seguro de que no habrá problemas relacionados con las opciones elegidas para la optimización no debería seleccionar ninguna de estas.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** No es recomendable usar ninguna de estas optimizaciones, incluso con módulos de los cuales se sabe que pueden manejarlas, dado que pueden causar problemas con varias aplicaciones.&lt;br /&gt;
* '''Coprocesador matemático - Floating Point Math'''&lt;br /&gt;
** Ninguno. Si su arquitecura es x86 y no está utilizando un 386SX o un 486SX, es seguro seleccionar x387. &lt;br /&gt;
* '''Opciones del enlazador (Linker Options)'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Soporte para programas adicionales (Addon Program Support)'''&lt;br /&gt;
** CCache. Asegúrese de instalarlo antes de seleccionar esta optimización.&lt;br /&gt;
&lt;br /&gt;
Esta configuración debería funcionar para casi todo, y hay suficiente espacio como para empujar un poco más las optimizaciones, aunque al riesgo de surjan problemas con algunas aplicaciones. Vea&lt;br /&gt;
&amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:19:04Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cómo puedo configurar las optimizaciones? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de un menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:18:47Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Cómo puedo configurar las optimizaciones? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guiado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras.&lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:14:27Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Puedo compilar varios módulos al mismo tiempo? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se estén instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:13:51Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* Can I compile several modules at once? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===¿Puedo compilar varios módulos al mismo tiempo?===&lt;br /&gt;
¿Es posible instalar varios módulos al mismo tiempo sin romper nada?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Si, Lunar inclusive aboga por ello. Por supuesto, esto hará que la compilación tome más tiempo. Lunar no instalará módulos claves para el sistema como gcc y glibc mientras se esté instalando algún otro y esperará a que el proceso de instalación termine. Así también, no es posible instalar aplicaciones mientras gcc y glibc se está instalando, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:06:07Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* Installing modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Instalando módulos==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:05:16Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones debería evitar? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en [[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T05:04:49Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* What optimizations should I avoid? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones debería evitar?===&lt;br /&gt;
¿De cuáles optimizaciones debería mantenerme alejado?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Todas las listadas en[[Lunar Linux:FAQ_es#¿Qué optimizaciones pueden causar problemas?|FAQ #2.3]] y además:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Por favor lea las páginas info de gcc &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese de que entiende una optimización dada ''antes'' de habilitarla. Los desarrolladores de Lunar no atenderán reportes de errores de compilación de usuarios con estas optimizaciones riesgosas activadas.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T04:58:53Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T04:57:29Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles_son_las_optimizaciones_seguras?.3F|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T04:56:34Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden causar problemas? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende qué hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#Cuales_son_las_optimizaciones_seguras.3F|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-23T04:54:18Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende que hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#Cuales_son_las_optimizaciones_seguras.3F|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad convenientes que no deberían causar muchos problemas, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador matemático. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-21T09:53:30Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende que hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#Cuales_son_las_optimizaciones_seguras.3F|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad covenientes de deberían causar muchos inconvenientes, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador de punto flotante. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-21T09:52:44Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende que hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#Cuales_son_las_optimizaciones_seguras|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad covenientes de deberían causar muchos inconvenientes, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador de punto flotante. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	<entry>
		<id>http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es</id>
		<title>Lunar Linux:FAQ es</title>
		<link rel="alternate" type="text/html" href="http://wiki.lunar-linux.org/Lunar_Linux:FAQ_es"/>
				<updated>2007-07-21T09:51:10Z</updated>
		
		<summary type="html">&lt;p&gt;Adriandelatabla: /* ¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Éstas son las preguntas más frecuentes (FAQ, del inglés '''F'''requently '''A'''sked '''Q'''uestions) de Lunar Linux. ¿Tiene alguna pregunta acerca de Lunar? Probablemnte encuentre su respuesta más abajo. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
&lt;br /&gt;
===¿Qué es Lunar Linux?===&lt;br /&gt;
¿Qué es exactamente Lunar Linux?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
* Por favor lea [[Lunar Linux:About_es|Acerca de Lunar Linux]].&lt;br /&gt;
&lt;br /&gt;
==Optimizaciones==&lt;br /&gt;
&lt;br /&gt;
===¿Cómo puedo configurar las optimizaciones?===&lt;br /&gt;
¿Cómo puedo configurar las optimizaciones de acuerdo a mi máquina?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Ejecute &amp;lt;code&amp;gt;lunar optimize&amp;lt;/code&amp;gt;. Será guidado a través de una menú interactivo que le explicará todas las opciones. Recuerde utilizar optimizaciones seguras. &lt;br /&gt;
&lt;br /&gt;
===¿Cuáles son las optimizaciones seguras?===&lt;br /&gt;
¿Cuáles son las optimizaciones seguras recomendadas para [[Lunar Linux]]?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Las optimizaciones seguras que se recomiendan por defecto son:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''C++'''&lt;br /&gt;
** &amp;lt;code&amp;gt;-pipe&amp;lt;/code&amp;gt;&lt;br /&gt;
* '''Arquitectura de CPU'''&lt;br /&gt;
** Debe elegir la arquitectura correcta de acuerdo a su sistema (x86 por defecto para la mayoría).&lt;br /&gt;
* '''Optimizaciones básicas'''&lt;br /&gt;
** Rápida (Fastest) (-O2, optimización activada por defecto) o más rápida (Fastest) (Observese que fastest no funciona en todos los sistemas, por ejemplo aquellos con microprocesador K6).&lt;br /&gt;
* '''CPU'''&lt;br /&gt;
** Esta opción debe configurarse de acuerdo a su cpu, o al cpu de la máquina donde planea ejecutar la instalación. Si necesita ejecutar la instalación en varias máquinas no debería tener problemas eligiendo i686.&lt;br /&gt;
* '''Speed Optimizations'''&lt;br /&gt;
** If you want to be 100% sure that there won't be optimization problems you shouldn't select any of these.&lt;br /&gt;
* '''Extra features'''&lt;br /&gt;
** It is not recommended to use any of these optimizations, even for modules known to be able to handle them, since they cause many apps to break.&lt;br /&gt;
* '''Floating Point Math'''&lt;br /&gt;
** None. If your architecture is x86 and you don't own a 386SX and 486SX, it's safe to select x387.&lt;br /&gt;
* '''Linker Options'''&lt;br /&gt;
** Strip.&lt;br /&gt;
* '''Addon Program Support'''&lt;br /&gt;
** CCache. Make sure to install it first.&lt;br /&gt;
&lt;br /&gt;
These settings should work for almost everyone, and there is a lot room for pushing these optimizations more, at the risk of problems with some applications. Read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden causar problemas?===&lt;br /&gt;
¿Qué optimizaciones se sabe que causan problemas en algunas configuraciones?&lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Algunas optimizaciones que se sabe pueden causar problemas en x86 con varias aplicaciones, e incluso con un sistema completo son:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;-funroll-loops&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fstrict-aliasing&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffast-math&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-ffloat-store&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
En la lista aparecen ordenadas desde la menos a la más inestable. Ejecute &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende que hace una optimización ''antes' de activarla.&lt;br /&gt;
&lt;br /&gt;
===¿Qué optimizaciones pueden darme algo de velocidad sin inconvenientes?===&lt;br /&gt;
¿Qué optimizaciones puedo usar para ganar algo de velocidad sin mayores riesgos? &lt;br /&gt;
&lt;br /&gt;
'''Respuesta:'''&lt;br /&gt;
&lt;br /&gt;
Comience por las optimizaciones en [[Lunar Linux:FAQ_es#¿Cuáles son las optimizaciones seguras?.3F|FAQ #2.2]] y cambielas a Faster o Fastest si sabe que gcc generará código correcto para la cpu que está utilizando. Obviamente -O2 tomará más tiempo de compilación que -O1, y -O3 tardará más que las dos anteriores. A continuación seleccione el tipo de microprocesador sobre el que ejecutará el sistema. Alguna de las optimizaciones de velocidad covenientes de deberían causar muchos inconvenientes, si acaso ocasionan alguno, son: -fomit-frame-pointer. Para cálculos con números de punto flotante en x86, una opción segura es x387, siempre y cuando la cpu cuente con un coprocesador de punto flotante. Ejecute &amp;lt;code&amp;gt;cat /proc/cpuinfo&amp;lt;/code&amp;gt; para ver si el microprocesador soporta SSE o SSE2. Si es así, puede agregarlas a la lista de optimizaciones. &lt;br /&gt;
&lt;br /&gt;
Sus resultados pueden variar. Lea &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; y asegúrese que entiende una optimización dada ''antes'' de habilitarla.&lt;br /&gt;
&lt;br /&gt;
===What optimizations should I avoid?===&lt;br /&gt;
What optimizations should I stay away from?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
All the ones listed in the [[Lunar Linux:FAQ#What_optimizations_may_cause_problems.3F|FAQ #2.3]] plus:&lt;br /&gt;
* &amp;lt;code&amp;gt;-fprofile-arcs&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-fbranching-probabilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please read &amp;lt;code&amp;gt;info gcc&amp;lt;/code&amp;gt; and make sure you understand a given optimization ''before'' you enable it. The Lunar developers will not respond to bug reports of broken compiles by users with risky optimizations.&lt;br /&gt;
&lt;br /&gt;
==Installing modules==&lt;br /&gt;
&lt;br /&gt;
===Can I compile several modules at once?===&lt;br /&gt;
Is it possible to install multiple modules at the same time without breaking things?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Yes, Lunar even promotes it. However doing so will cause installs compile slower of course. Lunar will not install core system modules like gcc and glibc while something else is installing and will wait until the rest is finished. Also, you cannot install applications while those major modules are installing, they will wait their turn until it's safe and continue to install them automatically.&lt;br /&gt;
&lt;br /&gt;
===error : C compiler cannot create executables===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;C compiler cannot create executables&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Read the next topic - this is basically the same problem: There are kernel headers missing that are vital to compilation. You will have to restore them. Below is explained how to do that.&lt;br /&gt;
&lt;br /&gt;
===configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check===&lt;br /&gt;
What does this error mean and how can I fix it?&lt;br /&gt;
* &amp;lt;code&amp;gt;configure: error: C preprocessor &amp;quot;/lib/cpp&amp;quot; fails sanity check&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
This is an include file problem. Sometimes ''/usr/include/gnu/stubs.h'' is missing, this can be found in the glibc source tarball. Most of the time the following applies:&lt;br /&gt;
&lt;br /&gt;
Your kernel headers are missing from &amp;lt;code&amp;gt;/usr/include&amp;lt;/code&amp;gt;. This means the C PreProcessor cannot verify that it has the proper cached copies of those vital header files. You need to install the proper ones manually. Here's how:&lt;br /&gt;
&lt;br /&gt;
 lin kernel-headers-2.4&lt;br /&gt;
&lt;br /&gt;
This might work for you! (Use the 2.6 version if needed of course)&lt;br /&gt;
&lt;br /&gt;
Otherwise:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /usr/include/{linux,asm}&lt;br /&gt;
&lt;br /&gt;
to create the two target dirs, if needed. Then execute:&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/linux /usr/include/&lt;br /&gt;
 cp -av /usr/src/linux/include/asm/* /usr/include/asm/&lt;br /&gt;
&lt;br /&gt;
to copy the files manually. Be warned that the second command has to be done this way since &amp;lt;code&amp;gt;/usr/src/linux/include/asm&amp;lt;/code&amp;gt; is a softlink to your arch asm header files, asm points to asm-i386, on x86 machines. So if, on the other hand, you had copied&lt;br /&gt;
&lt;br /&gt;
 cp -av /usr/src/linux/include/asm /usr/include/&lt;br /&gt;
&lt;br /&gt;
you would then get a softlink to nowhere under &amp;lt;code&amp;gt;/usr/include/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Last, you can always try to unpack the kernel tarball you have into &amp;lt;code&amp;gt;/usr/src/linux&amp;lt;/code&amp;gt; and manaully link or copy the headers over yourself.&lt;br /&gt;
&lt;br /&gt;
===Can I add more window managers to gdm?===&lt;br /&gt;
How do I add other window managers to the sessions list on gdm?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Copy the desktop startup files to &amp;lt;code&amp;gt;/etc/X11/dm/Sessions/&amp;lt;/code&amp;gt;. That works with gdm. For kdm you will have to copy them to &amp;lt;code&amp;gt;$KDE_PREFIX/share/apps/kdm/sessions&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===How do I get Flash to work in Mozilla or Firefox?===&lt;br /&gt;
How do I get Flash to work in Mozilla or Firefox?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
If you are using Mozilla or Firefox, then you can simply do a &amp;lt;code&amp;gt;lin flash-plugin&amp;lt;/code&amp;gt; and that will download and install the Macromedia Flash plugin that works with a gtk+ based mozilla through the old abi wrappers.&lt;br /&gt;
&lt;br /&gt;
The flash plugin does ''not'' work with Galeon. The Galeon developers have declined to provide the &amp;quot;old&amp;quot; abi wrappers needed for the plugin to work.&lt;br /&gt;
&lt;br /&gt;
===How do I install Java?===&lt;br /&gt;
How do I get Java for my Lunar box?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
You will have to download the Java source code from Sun yourself and you have to &amp;quot;click&amp;quot; to agree on their license. You have to compile it yourself too. We don't have a Sun Java module as we currently have no way to automate the &amp;quot;click&amp;quot; to agree to the Sun Java license. See this URL for some handy info:&lt;br /&gt;
&lt;br /&gt;
http://www.linuxfromscratch.org/~tushar/hints/javafromscratch.txt&lt;br /&gt;
&lt;br /&gt;
There is a j2sdk module in moonbase which is the Blackdown port of Sun's Java Virtual Machine.&lt;br /&gt;
&lt;br /&gt;
==Lunar core tools==&lt;br /&gt;
&lt;br /&gt;
===How can I recompile my module with new options?===&lt;br /&gt;
How do I force lunar to recompile my modules with different options?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
&lt;br /&gt;
 lin -r ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -r switch will allow you to select new configuration and dependencies for modules.&lt;br /&gt;
&lt;br /&gt;
===How can I make modules recompile instead of resurrecting?===&lt;br /&gt;
How do I tell lunar to recompile my application instead of resurrecting it?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Try doing:&lt;br /&gt;
&lt;br /&gt;
 lin -c ''MODULE''&lt;br /&gt;
&lt;br /&gt;
The -c option means tells &amp;lt;code&amp;gt;lin&amp;lt;/code&amp;gt; to compile this module even if there is an install cache copy available in &amp;lt;code&amp;gt;/var/cache/lunar&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===My moonbase is gone and I can't install anything.===&lt;br /&gt;
How do I fix problems with my moonbase when it's missing or damaged?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Simple solution to this is just running:&lt;br /&gt;
&lt;br /&gt;
 lin moonbase&lt;br /&gt;
&lt;br /&gt;
This will download the latest moonbase from the internet, and restore it to working order.&lt;br /&gt;
&lt;br /&gt;
===What is a module?===&lt;br /&gt;
What is a [[module]] and what does it do??&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
A [[module]] is a set of files that tell the core tools the following:&lt;br /&gt;
&lt;br /&gt;
* What name, version, and other properties a package has&lt;br /&gt;
* Where to download all needed source files&lt;br /&gt;
* What other modules are required, or conflict with this one&lt;br /&gt;
* How to unpack the source files, how to patch&lt;br /&gt;
* How to configure the code&lt;br /&gt;
* How to compile&lt;br /&gt;
* How to install everything&lt;br /&gt;
* What else to do with it&lt;br /&gt;
&lt;br /&gt;
The [[module]] is coded in a set of files in a directory structure, and scripted in bash.&lt;br /&gt;
&lt;br /&gt;
===What is the Moonbase?===&lt;br /&gt;
What is that thing you call [[Moonbase]]?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The [[Moonbase]] is a database with [[modules]]. In this database there are description of packages that tell the core tools where to download, how to compile, and how install a [[module]]. You can consider this the lunar equivalent of portage, grimoire, ports, etc.&lt;br /&gt;
&lt;br /&gt;
===What is theedge?===&lt;br /&gt;
What is theedge?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
[[theedge]] is the same as lunar, and also known as the core code. Theedge is just another version of lunar. These two pieces of code install your packages, but they do not contain package descriptions. Those are defined in moonbase.&lt;br /&gt;
&lt;br /&gt;
[[Theedge]] is a development version of [[lunar]]. Often there are much more features in theedge, and bugs are fixed quicker as well. However, if you do not like all this tweaking on your system, we advice you to use the stable lunar core tools instead on your system.&lt;br /&gt;
&lt;br /&gt;
You can install [[theedge]] by issuing:&lt;br /&gt;
&lt;br /&gt;
 lin theedge&lt;br /&gt;
&lt;br /&gt;
Theedge is automatically updated if you do a &amp;lt;code&amp;gt;lunar renew&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;lunar update&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Lunar-Linux Installation==&lt;br /&gt;
&lt;br /&gt;
===My usb keyboard is not recognized===&lt;br /&gt;
At the boot prompt type ''linux uhci-hcd ehci-hcd'' to make sure those modules are loaded during startup. Those will then enable your usb keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===So how should I partition my disk?===&lt;br /&gt;
I'm setting up lunar from scratch, but how should I partition my disk for a server or desktop system?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Server systems have very different demands than desktops. It's all about flexibility. First desktops:&lt;br /&gt;
&lt;br /&gt;
''desktops'' commonly have one hard disk. You don't want to reformat or repartition often, so you just want to be done with it at once. The easiest is just to setup 2 (two) partitions: one root filesystem big enough for all lunar software, and the rest for &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt;. Typically, lunar occupies between 4 and 12 gb based on how many applications you install. If you clean up often you can manage with 8gb, but you should keep some extra space. I certainly advise to use a swapfile instead of a swap partition: you can always later delete the swap, or move the swapfile to another disk or partition. A swap partition is harder to relocate.&lt;br /&gt;
&lt;br /&gt;
''Servers'' have different needs. First of all &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; doesn't need to be that large, but you will want to setup space for logfiles that cannot cause problems if they grow too fast. Putting &amp;lt;code&amp;gt;/var/tmp&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/log&amp;lt;/code&amp;gt; on separate partitions is quite normal. &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; can be abused similarly, and is mostly run in [[tmpfs]] to avoid cluttering and give fast access times. Then &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; will be separate and the usual separate &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt;. As you can see this list is already getting quite big! Most users will actually want to make the &amp;lt;code&amp;gt;rootfs&amp;lt;/code&amp;gt; quite small (as small as 200mb sometimes!) and thus &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; also needs to be on a separate partition.&lt;br /&gt;
&lt;br /&gt;
===Kernel features, built-in or module?===&lt;br /&gt;
When I compile a kernel, should I compile drivers that I need in the kernel image or as module?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
There are many schools of thought on kernel compiling. One is to build everything into the main kernel without modules. The other one takes building modules to the extreme. Here is a suggestion, if it's not needed to boot it's a module. Thus usb, input, sound, mice ACPI, network, and also cdrom, floppy, and all the non boot file systems, all get built as modules. This reduces the size of the main kernel so it can be put on a floppy. Another thing to consider is that not everything works perfectly, and some features can cause your kernel to misbehave, so if some feature is built-in, the bad behavior is practically inevitible. Instead, with a module you can choose not to load it and thus be left with a working system.&lt;br /&gt;
&lt;br /&gt;
Please note that some people need to make some features built into their kernel and vice versa, do whatever works best for you.&lt;br /&gt;
&lt;br /&gt;
===QEMU and Lunar ISO testing===&lt;br /&gt;
How do I use qemu to try out lunar ISO's?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
Just a quick note on how to use qemu for testing a Lunar Linux installation. See &amp;lt;code&amp;gt;/var/lib/lunar/moonbase/devel/qemu/DETAILS&amp;lt;/code&amp;gt; for a description of qemu. Think of it as a low-cost (''read: free'') version of a virtual machine, that has quite a few useful features and is under active development.&lt;br /&gt;
&lt;br /&gt;
A very simple way to just test a Lunar ISO for booting purposes is:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d&lt;br /&gt;
&lt;br /&gt;
If you want to test a full install, then create a 512 megabyte sparse root_fs image with this &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
 dd if=/dev/zero of=hda.img bs=$((1024 * 1024)) count=0 seek=512&lt;br /&gt;
&lt;br /&gt;
Now invoke qemu:&lt;br /&gt;
&lt;br /&gt;
 qemu -cdrom lunar-1.5.0-i686.iso -boot d -hda hda.img&lt;br /&gt;
&lt;br /&gt;
You can then proceed to test your Lunar install. Refer the qemu homepage for further tips and tricks. qemu can also be quite easily used to test if your brand new kernel is bootable or not, which is quite neat.&lt;br /&gt;
&lt;br /&gt;
Note that you should say yes to using SDL as an optional_depends. The gui version of qemu is ''very'' nice in its own little X11 window.&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
===How do I unpack an .RPM file in lunar?===&lt;br /&gt;
How do I install RPM files in lunar? Is that possible?&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The easiest way to unpack a rpm file is to use the module called &amp;lt;code&amp;gt;rpmunpack&amp;lt;/code&amp;gt;. Simply run &amp;lt;code&amp;gt;rpmupack ''XYZ''.rpm&amp;lt;/code&amp;gt; for your RPM. This will create a cpio file (''XYZ.cpio.gz'' and ''XYZ.cpio.bz2'' are not uncommon). Once you perform any additional uncompression with &amp;lt;code&amp;gt;gunzip&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bunzip2&amp;lt;/code&amp;gt;, you can then extract it using &amp;lt;code&amp;gt;cpio -i -d &amp;amp;lt; XYZ.cpio&amp;lt;/code&amp;gt; -- After all that you should be all done. If you are trying to rpmunpack a source RPM (i.e. .src.rpm) file then ''XYZ.cpio'' may further contain a tar.bz2 or tar.gz source tarball.&lt;br /&gt;
&lt;br /&gt;
In the zbeta section of moonbase, there is an '''''unsupported''''' module called &amp;lt;code&amp;gt;rpm&amp;lt;/code&amp;gt; for those of you that are really desperate.&lt;br /&gt;
&lt;br /&gt;
You might want to do &amp;lt;code&amp;gt;man cpio&amp;lt;/code&amp;gt;, to check out additional cpio parameters that may interest you, such as the -L switch.&lt;br /&gt;
&lt;br /&gt;
===What is that in the Lunar-Linux logo?===&lt;br /&gt;
What is that logo of yours? It looks like a &amp;lt;nowiki&amp;gt;[cat|ferret|dog|owl|insert nutty animal here]&amp;lt;/nowiki&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
'''Answer:'''&lt;br /&gt;
&lt;br /&gt;
The logo is a [[wikipedia:Southern Rockhopper Penguin|Rockhopper Penguin]]. It's a kind of nasty penguin, the one that crowd up in thousands to take over the continent. They have a few long feathers sticking out at their &amp;quot;ears&amp;quot; sideway, just like some owl species do.&lt;br /&gt;
&lt;br /&gt;
You can check out [http://images.google.com/images?q=Rockhopper+Penguin Google Images] for lots of Rockhopper Penguin pictures!&lt;/div&gt;</summary>
		<author><name>Adriandelatabla</name></author>	</entry>

	</feed>