Trying to understand how a boot loader handles initrd/initramfs/ramdisk ...
Hi all,
I'm currently porting linux to a proprietary board, ARM based, which already runs a -again- proprietayre monitor. Under this monitor, to avoid re-doing everything, i've also written a linux boot loader, which starts to work. My machine is diskless, screen less, ... only a serial line for the moment. I'm using kernel 2.6.4, cross-compiled on an intel linux box. I encounter a few troubles with initrd and related stuff . What i want to do is create my own file system (root) and make a ramdisk with it, and use it right after booting with no other operation. I've the gzipped ext2 image of this directory/file tree flashed on my board, so i though it would be a good candidate to give it as an initrd image, but i do not succeed yet to make it work and do not understand a few things :
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd But i don't even now what an initramfs is !? :confused: Seems to be a new stuff in 2.6 kernel, but where is there a documentation on that ?
Thanks for any help, doc , links on these |
All times are GMT -5. The time now is 09:50 AM. |