Changes between Version 1 and Version 2 of ClienteInitrdDSModificarlo/en
- Timestamp:
- Feb 27, 2012, 3:02:39 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClienteInitrdDSModificarlo/en
v1 v2 3 3 4 4 5 == Modificaciones al cliente==5 == Changes to the Client == 6 6 7 === P asos previos: ===7 === Previous Steps: === 8 8 {{{ 9 9 mkdir -p /tmp/opengnsys_installer/opengnsys/client/boot-tools; … … 13 13 14 14 15 === Genera r un nuevo initrd, con nuestras "locales", y almacenarlos en el/opt/opengnsys/tftpboot/ogclient/ ===15 === Generate a new initrd, with ours "locals" and save in /opt/opengnsys/tftpboot/ogclient/ === 16 16 {{{ 17 17 #Solicitamos que se monte el sistema root (img), y configuere los locales. … … 23 23 24 24 25 === Cop iar nuevos archivos al sistema raiz del cliente(ogclient.img) ===25 === Copy new files to root system of client (ogclient.img) === 26 26 27 Cualquier archivo extra, que queramos añadir al sistema raiz del cliente, tenemos el directorio /tmp compartido entre el SO y el ogclient. 27 Any extra file that we want to add to the root system of the client, we have the directory /tmp shared between OS and ogclient. 28 28 {{{ 29 #Acce demos a la consola shell del sistema root del cliente(img)29 #Access to shell console of the root system of the client (img) 30 30 schroot -c IMGogclient 31 # Realizamos todas las modificaciones que queramos. el directorio /tmp es compartido tanto por nuestro ordenador, como por el sistema root del cliente(img)31 #Do the modifications. Directory /tmp is shared by our computer and by the root system of the client (img) 32 32 cp /tmp/ficheroOGSERVER.txt /home/opengnsys/ficheroEnOGclient.txt 33 # Salimos del sistema root del cliente(img)33 # Quit of root system of the client (img) 34 34 exit 35 35 }}} 36 36 37 37 38 === Genera r un nuevo initrd, con un nuevo proceso de inicio de OpenGnsys ===38 === Generate a new initrd with a new init process of OpenGnSys === 39 39 {{{ 40 40 schroot -c IMGogclient 41 #edit amos el proceso de inicio41 #edit the init process 42 42 vi /etc/initramfs-tools/scripts/oginit 43 #edit amos las funciones del proceso de inicio43 #edit the init process functions 44 44 vi /initramfs-tools/scripts/ogfunctions 45 # o copiamos uno actualizado.45 # or copy one updated. 46 46 cp /tmp/oginit /etc/initramfs-tools/scripts/oginit 47 # o añadimos uno inicio alternativo47 # or add one init alternative 48 48 cp /tmp/oginit2 /etc/initramfs-tools/scripts/oginit2 49 49 … … 57 57 58 58 59 === Instal ar nuevas herramientas en el sistema raiz del(ogclient.img) ===59 === Install new tools in root system of (ogclient.img) === 60 60 61 61 {{{ … … 66 66 67 67 68 === Genera r un nuevo sistema raiz en formato sqfs(ogclient.sqfs) ===68 === Generate a new root system in sqfs format (ogclient.sqfs) === 69 69 {{{ 70 70 ogClient2ndSqfs IMGogclient … … 74 74 75 75 76 === Integra r drivers de tarjetas de red===76 === Integrate NIC drivers === 77 77 http://www.opengnsys.es/wiki/InitrdClienteNetModules 78 78