Changes between Version 1 and Version 2 of ClienteInitrdDSGenerarlo/en


Ignore:
Timestamp:
Feb 27, 2012, 3:52:47 PM (13 years ago)
Author:
paqui
Comment:

Finish. Review

Legend:

Unmodified
Added
Removed
Modified
  • ClienteInitrdDSGenerarlo/en

    v1 v2  
    22[[TOC]]
    33
    4 Por ahora se proponen tres maneras distintas:
    5  * Utilidad debootstrap con schroot ( !OpenGnsys 1.0 )
    6  * Utilidad live-helper ( !OpenGnsys 2.0)
    7  * Instalación limpia de Ubuntu.
     4We are proposed three different ways:
     5 * Utility debootstrap with schroot ( OpenGnSys 1.0 )
     6 * Utility live-helper ( OpenGnSys 2.0)
     7 * Empty installation of Ubuntu.
    88
    99
     
    1111
    1212=== Installation ===
    13 No realizar el proceso en un sistema en procucción.
    14 Se ha testado con éxito en la ubuntu server 32 bits 10.04, 10.04.2 y 10.10 y 11.04
     13It is recommended not do the process in a production system.
     14Success test in Ubuntu Server 32 bits 10.04, 10.04.2, 10.10 and 11.04
    1515
    16 NOTA:  el instalador está en "http://www.opengnsys.es/browser/trunk/client/boot-tools/"
     16NOTE: the installer is in "http://www.opengnsys.es/browser/trunk/client/boot-tools/"
    1717{{{
    1818mv /opt/opengnsys/tftpboot/ogclient /opt/opengnsys/tftpboot/ogclient-old;
     
    2323}}}
    2424
    25 DEBUG en el proceso de instalación:
     25DEBUG in the installation process:
    2626{{{
    27 Grup-pc -> instalar en dispositivo /dev/loop  ->  NO
    28 Continuar sin instalar grub  -> yes
    29 Congigura el console-data
    30 Introduce la clave pub de nuestro servidor(ejecutor del instalador) en el cliente. En el caso de que ya exista un .pub nos pregunta si generar uno nuevo o mantener (N)
    31 Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N)  ->   Y
     27Grup-pc -> install in device /dev/loop  ->  NO
     28Continue without install grub  -> yes
     29Configure console-data
     30Introduce pub password of our server in the client. If exists a .pub will ask if generate another one (N)
     31Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N)  ->  Y
    3232
    3333}}}
    3434
    35 
    36 El proceso que se ha indicado a continuación, genera los elementos del cliente OpenGnsys, basados en la versión de ubuntu que tengamos instalados (mismo kernel y distribución).
     35The process generate the elements of OpenGnSys client, based in the Ubuntu version installed (same kernel and distribution).
    3736
    3837/opt/opengnsys/tftpboot/ogclient/
    3938 {{{
    40 ./ogvmlinuz   (el kernel)
    41 ./oginitrd.img  (el initrd)
    42 ./ogclient.img   (el sistema raiz, accesible como disco virtual usando schroot desde el host que lo generó, para ser actualizado)
    43 ./ogclient.sqfs  (el sistema raiz, comprimido para ser usado por los clientes OpenGnsys)
     39./ogvmlinuz   (kernel)
     40./oginitrd.img  (initrd)
     41./ogclient.img   (root system accesible as virtual disk using schroot from host that generate it, to be updated)
     42./ogclient.sqfs  (root system compressed to be used by OpenGnSys clients)
    4443}}}
    4544
    4645
    47 ==== Las fases de la instalación ====
    48  * Fase 1. Instalación en el equipo donde se ejecuta la instalación de software necesario.
    49  * Fase 2. Asignación de valores, como la versión del kernel, basados en los datos del S.O que ejecuta el instalador, que serán utilizados para generar el cliente.
    50  * Fase 3. Creación del sistema raiz (ogclient.img). Primero se crea un disco duro virtual, y se particiona -ogCleint2nFile()-. En la primera partición se genera un sistema operativo con la herramienta deboobstrap -ogClient2ndFs()-, con parametros basados en la fase2.
    51  * Fase 4. Se configura el acceso al sistema raiz (ogclient.img) para ser usado con la herramienta schroot -ogClientSchrootConf()-
    52  * Fase 5. Se configura o se incluyen los elementos especiales de opengnsys (engine, QTEmbbedbed, pci.ids, browser, ogAdmClient).   -ogClient2ndSVN()-
    53  * Fase 6. Ampliación del sistema raiz -- instalación de software con apt, compilación de algunas herramientas, importación de la clave ssh desde el SO que lo generó.
    54  * Fase 7. Generación del initrd.
    55  * Fase 8. Generación del sistema raiz en sqfs.
     46==== Installation Steps ====
     47 * Step 1. Installation on the computer where the needed software should be installed.
     48 * Step 2. Values assignament, as kernel verison, based in OS data run by the installer.
     49 * Step 3. Create root system (ogclient.img). First, create a virtual HDD and partition it -ogCleint2nFile()-. On the first partition, generate an operating system with deboobstrap tool -ogClient2ndFs()-, with parameters based on Step 2.
     50 * Step 4. Configure access to the root system (ogclient.img) to be used with schroot tool -ogClientSchrootConf()-
     51 * Step 5. Configure or add special OpenGnSys elements (engine, QTEmbbedbed, pci.ids, browser, ogAdmClient).   -ogClient2ndSVN()-
     52 * Step 6. Expansion root system -- software installation with apt, compile some tools, import of SSH key...
     53 * Step 7. Generate initrd.
     54 * Step 8. Generate root system in sqfs.
    5655
    57 === Incorporación del fichero .sqfs (proceso instalación de OpenGnsys) en un fichero .img para su posterior modificación ===
    58 NOTA: este subapartado no está terminado de documentar
     56=== Include .sqfs file (installation OpenGnSys process) in a .img file for futher modification ===
     57NOTE: Absence to document
    5958
    60 NOTA: este procedimiento se ha comprobado en una ubuntu server 10.04 32bits.
     59NOTE: Checked on Ubuntu Server 10.04 32bits.
    6160
    6261{{{
     
    8281unsquashfs  -d /opt/opengnsys/tftpboot/ogclient/ogclientmount/ -f /opt/opengnsys/tftpboot/ogclient/ogclient.sqfs ;
    8382umount $OGCLIENTMOUNT;
    84 echo "fin";
     83echo "end";
    8584
    8685
     
    137136}}}
    138137
    139 == A través de live-helper ==
     138== Through live-helper ==
    140139
    141 TODO
     140ALL
    142141
    143 Mirar: [wiki:GnSysLive]
     142See: [wiki:GnSysLive]
    144143
    145 == Generarlo realizando una instalación limpia de Ubuntu ==
     144== Generate by an Empty installation of Ubuntu ==
    146145
    147 TODO
     146ALL