InitRamFs

77 views
Skip to first unread message

Micka

unread,
Jan 5, 2017, 5:50:26 AM1/5/17
to beagl...@googlegroups.com
Hi, I would like how is it initialized in the beaglebone black ?

What is initrd.img for ? 


Micka,

William Hermans

unread,
Jan 5, 2017, 6:14:32 AM1/5/17
to beagl...@googlegroups.com
You should really google this Micka,

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

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAF%2BMRt%3DX6FeAf6T_5zB-XgQeovcdMp3wh-z2Mgz3f%2BqAxmqPHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jan 5, 2017, 6:25:58 AM1/5/17
to beagl...@googlegroups.com
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

Micka

unread,
Jan 5, 2017, 6:29:03 AM1/5/17
to beagl...@googlegroups.com
I saw that. But was not sure. The idea is to save the state of your ram? 


Thx, 

On Thu, Jan 5, 2017, 12:14 William Hermans <yyr...@gmail.com> wrote:
You should really google this Micka,

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

On Thu, Jan 5, 2017 at 3:50 AM, Micka <micka...@gmail.com> wrote:
Hi, I would like how is it initialized in the beaglebone black ?

What is initrd.img for ? 


Micka,

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORq7inYkWZCMRY2r_XZnuRdn_WOL-WHR2pdvaWDVknK3Eg%40mail.gmail.com.

William Hermans

unread,
Jan 5, 2017, 6:40:02 AM1/5/17
to beagl...@googlegroups.com

On Thu, Jan 5, 2017 at 4:28 AM, Micka <micka...@gmail.com> wrote:
I saw that. But was not sure. The idea is to save the state of your ram? 


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.

William Hermans

unread,
Jan 5, 2017, 7:01:24 AM1/5/17
to beagl...@googlegroups.com
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

William Hermans

unread,
Jan 5, 2017, 7:04:45 AM1/5/17
to beagl...@googlegroups.com
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 .  ..

Micka

unread,
Jan 5, 2017, 8:09:24 AM1/5/17
to beagl...@googlegroups.com
Thx for all, I understand better what is it now.

Micka,

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages