[Ututo-devel] Initramfs

Daniel Olivera (mate.cosido) daniel at ututo.cloudns.info
Thu Dec 11 10:57:12 CET 2014


Hay 2 sistemas de links el del initramfs y el del filesystem
Si te fijas en el archivo imagen squashfs del DVD veras que muchas cosas
del /etc estan mapeadas como fijas en un directorio mediante links.

Esto es para que la subida al ramfs que se crea en el disco Vivo! no
ocupen ram. Esto hace que se necesite menos y ademas que el arranque sea
mucho mas rapido.

Es posible que el del initramfs que yo modifique ya esta en Gentoo dado
que en algun momento creo lo aporte al proyecto.

Pero el del /etc y otros enlaces que se usan solo en el Vivo! y luego en
el instalador se corrigen para el sistema instalado funcional son propios
de UTUTO XS.

Hay que fijarse en el filesystem del DVD del 2012 y tambien en el
instalador para ver como se realizaba la adecuacion para un filesystem ya
instalado en un disco duro.

Yo les comento que sigo con las pruebas usando aranques tipo UEFI.
Tengo una EXO Nifty con ese tipo de arranque y ahora me compre otra BGH
Positivo que aun no me entregaron pero que no tiene disco SSD solo HDD.
No se que tipo de arranque usa. Lo que si vi es que el UEFI es un arrego
MS+Intel para un arranque 'seguro'. Usa una particion fat de 64 mb y pone
cosas ahi que son archivos estaticos que el BIOS busca para iniciarse.

Una idea parecida a la de los discos bluray, que el software para
reproducir esa en el mismo disco y no en el equipo.

Saludos.

> I meeting the differences but I can not recognize how to modify as both
> have a command for linking the image.
> Maybe the error is in the compilation of the kernel. I will compare the
> .config.
> Greetings.
>> Run "diff isoScript dvdScript" (for each script) to find out the
>> differences.
>>
>>     Buenas gente,
>>     Luego de unas semanas empece nuevamente con las pruebas. La cosa
>>     es que por mas que lea los scripts del initramfs no logro ver las
>>     diferencias entre los del DVD y el generado para la nueva ISO.
>>     Segun lo que Daniel dijo, modificandolo para que linkee en vez de
>>     copiar la imagen a tmpfs, podiamos lograr un inicio mas rapido.
>>     Sin embargo tanto en el DVD como en la ISO aparece la orden para
>>     crear el link. Ademas no veo grandes diferencias mas alla de las
>>     diferencias en los directorios y algunos agregados.
>>     Los scripts que lei fueron: init; initrd.defaults e
>>     initrd.scripts. No encontre otro que me pareciera tenga algo que
>>     ver con el tema.
>>     Dejo paste de ambos init:
>>     initramfs-3.0.15 (DVD)
>>     init: http://pastebin.com/yPY9Yx1C
>>     initrd.defaults: http://pastebin.com/rBE26Lyc
>>     initrd.scripts: http://pastebin.com/BueCyuF5
>>     initramfs-3.14.26 (ISO)
>>     init: http://pastebin.com/k9DZRcuY
>>     initrd.defaults: http://pastebin.com/PcEn7YqA
>>     initrd.scripts: http://pastebin.com/rFVQiZ2p
>>     Aclaro que no soy programador y simplemente compare los scripts y
>>     deduje algunos comandos. Seria bueno que alguien que tenga los
>>     conocimientos los mire y nos comente la solucion. Yo por mi parte
>>     ya empece a estudiar algo de bash como para poder entender mas.
>>     Saludos.
>>
>>     Hi people,
>>     After a few weeks I started again with the tests. The thing is
>>     read by more initramfs scripts fail to see the difference between
>>     DVD and generated for the new ISO.
>>     According to what Daniel said, modifying it to links instead of
>>     copying the image to tmpfs, we could achieve a faster startup.
>>     However both the DVD and ISO the order appears to create the link.
>>     Also I do not see big differences beyond differences in the
>>     directories and some additions.
>>     The scripts I read were: init; initrd.defaults and initrd.scripts.
>>     I did not find one that seems to me to have something to do with it.
>>     I leave paste of both init:
>>     initramfs-3.0.15 (DVD)
>>     init: http://pastebin.com/yPY9Yx1C
>>     initrd.defaults: http://pastebin.com/rBE26Lyc
>>     initrd.scripts: http://pastebin.com/BueCyuF5
>>     initramfs-03/14/26 (ISO)
>>     init: http://pastebin.com/k9DZRcuY
>>     initrd.defaults: http://pastebin.com/PcEn7YqA
>>     initrd.scripts: http://pastebin.com/rFVQiZ2p
>>     Clarify that I am not a programmer and simply compare the scripts
>>     and I gathered some commands. It would be nice if someone who has
>>     the knowledge the look and we discuss the solution. I for one
>>     already started to study some bash like to understand more.
>>     Greetings.
>>
> --
> ««Nunca. Que no digan nunca. Porque un día de estos nos verán sonriendo!»»
>
> _______________________________________________
> Ututo-devel mailing list
> Ututo-devel at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ututo-devel
>


-- 
Daniel Olivera (mate.cosido)
Contact:
Hangouts: ututo01 at gmail.com
Skype: ututo01
Jabber: ututo01 at yax.im
wire: Daniel Olivera
Weechat: mate cosido
Mobile Tel/Fax/SMS USA: +1 646 6285118 / +1 632 7606080
Mobile Tel Argentina: +54 11 53539494 Ext: 2943446
Mobile Inum: +883 510001192476
Mobile VoIP SIP: ututo01 at sip.linphone.org

Social Networks:
Twitter: https://twitter.com/ututo01
FaceBook: https://www.facebook.com/NoWhereUnknown
Google+: https://plus.google.com/+matecosido-daniel-olivera
Instagram: http://instagram.com/daniel_olivera_ututo
Timblr: http://daniel-olivera-ututo.tumblr.com/
Vk.com: http://vk.com/id270166970
Pinterest: http://www.pinterest.com/DanielOliveraF/
Vine: https://vine.co/daniel.olivera
GNUSocial: https://gnusocial.no/ututo01/all
Ello: https://ello.co/ututo01
Flickr: https://www.flickr.com/photos/129531423@N02/
Diaspora Arg: https://diaspora.com.ar/people/0835f34055ef01323f8800145e5c073c
Diaspora BR:
https://diasporabrazil.org/people/e63000f055ef01326a814becb1cdd3b8




More information about the Ututo-devel mailing list