Changes between Version 1 and Version 2 of ClienteInitrdDSGenerarlo/en
- Timestamp:
- Feb 27, 2012, 3:52:47 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClienteInitrdDSGenerarlo/en
v1 v2 2 2 [[TOC]] 3 3 4 Por ahora se proponen tres maneras distintas:5 * Utili dad debootstrap con schroot ( !OpenGnsys 1.0 )6 * Utili dad live-helper ( !OpenGnsys 2.0)7 * Instalación limpia deUbuntu.4 We 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. 8 8 9 9 … … 11 11 12 12 === Installation === 13 No realizar el proceso en un sistema en procucción.14 S e ha testado con éxito en la ubuntu server 32 bits 10.04, 10.04.2 y 10.10 y11.0413 It is recommended not do the process in a production system. 14 Success test in Ubuntu Server 32 bits 10.04, 10.04.2, 10.10 and 11.04 15 15 16 NOT A: el instalador está en "http://www.opengnsys.es/browser/trunk/client/boot-tools/"16 NOTE: the installer is in "http://www.opengnsys.es/browser/trunk/client/boot-tools/" 17 17 {{{ 18 18 mv /opt/opengnsys/tftpboot/ogclient /opt/opengnsys/tftpboot/ogclient-old; … … 23 23 }}} 24 24 25 DEBUG en el proceso de instalación:25 DEBUG in the installation process: 26 26 {{{ 27 Grup-pc -> instal ar en dispositivo/dev/loop -> NO28 Continu ar sin instalargrub -> yes29 Con gigura elconsole-data30 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) -> 27 Grup-pc -> install in device /dev/loop -> NO 28 Continue without install grub -> yes 29 Configure console-data 30 Introduce pub password of our server in the client. If exists a .pub will ask if generate another one (N) 31 Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) -> Y 32 32 33 33 }}} 34 34 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). 35 The process generate the elements of OpenGnSys client, based in the Ubuntu version installed (same kernel and distribution). 37 36 38 37 /opt/opengnsys/tftpboot/ogclient/ 39 38 {{{ 40 ./ogvmlinuz ( elkernel)41 ./oginitrd.img ( elinitrd)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) 44 43 }}} 45 44 46 45 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 delinitrd.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. 56 55 57 === Inc orporación del fichero .sqfs (proceso instalación de OpenGnsys) en un fichero .img para su posterior modificación ===58 NOT A: este subapartado no está terminado de documentar56 === Include .sqfs file (installation OpenGnSys process) in a .img file for futher modification === 57 NOTE: Absence to document 59 58 60 NOT A: este procedimiento se ha comprobado en una ubuntu server 10.04 32bits.59 NOTE: Checked on Ubuntu Server 10.04 32bits. 61 60 62 61 {{{ … … 82 81 unsquashfs -d /opt/opengnsys/tftpboot/ogclient/ogclientmount/ -f /opt/opengnsys/tftpboot/ogclient/ogclient.sqfs ; 83 82 umount $OGCLIENTMOUNT; 84 echo " fin";83 echo "end"; 85 84 86 85 … … 137 136 }}} 138 137 139 == A través delive-helper ==138 == Through live-helper == 140 139 141 TODO 140 ALL 142 141 143 Mirar: [wiki:GnSysLive]142 See: [wiki:GnSysLive] 144 143 145 == Genera rlo realizando una instalación limpia deUbuntu ==144 == Generate by an Empty installation of Ubuntu == 146 145 147 TODO 146 ALL