InitRamFs

Hi, I would like how is it initialized in the beaglebone black ?

What is initrd.img for ?

Micka,

You should really google this Micka,

But initrd == initial ram disk, and initramfs is a cpio archived initial ram disk.

Well. all this is from memory, so, I’m remembering that initramfs can be of two types, but I seem to recall that there is non compressed, and gzip compressed types of initrd’s

debian@beaglebone:~$ sudo apt-get install file

debian@beaglebone:~$ sudo file /boot/initrd.img-4.4.9-bone-rt-r10
/boot/initrd.img-4.4.9-bone-rt-r10: gzip compressed data, last modified: Mon Jan 2 05:05:08 2017, from Unix

I saw that. But was not sure. The idea is to save the state of your ram?

Thx,

I don't understand your question. But an initial ram disk is a very
minimalist Linux file system that is loaded at boot. Used for loading
various drivers, early. So for instance if you wanted to boot from say an
iSCSI type disk, You'd very likely have to initialize it through an initrd.

Anyway, my definition is rather crude, like I said I'm going form pure
memory, and my memory is not always accurate. Better that you google for
your answers.

My last worklog working with the initrd, which by the way is not required just_to_add overlays. Robert has a script that can do this automatically for you. Just keep in mind that I tend to make small mistakes once in a while so my work logs can be superfluous . . .

http://pastebin.com/naKbbRWd

Oh, and for additional informational purposes. ~/dev on my system is an NFS share, I would not recommend writing files to the emmc, or an sdcard . …

Thx for all, I understand better what is it now.

Micka,