[klibc] Linux early userspace doubts
prashant0100 at gmail.com
Mon Jul 4 11:03:10 PDT 2011
One more doubt-
Can I have the same ramfs image be used either as built-into the kernel(part
of vmlnuz) or supplied externally using initrd command on grub and hence as
On Mon, Jul 4, 2011 at 6:17 PM, maximilian attems <max at stro.at> wrote:
> On Mon, Jul 04, 2011 at 06:05:07PM +0530, Prashant Batra wrote:
> > I am a newbie into kernel booting process.
> > I have read few things about boot process of the linux kernel. I am stuck
> > few things, which I am confident, someone from the list might help on -
> > - If I pass a ramfs image as an intrd paramter from the bootloader
> > grub), then will the kernel treat this as a ramfs image only?
> it will check if initramfs or initrd and consequently unpack.
> > - initrd image is also, packed using cpio archive, then how does the
> > kernel come to know that this is an initrd ot initramfs image. Is
> there some
> > type information included and if yes, how can I see that from a linux
> > command.
> initrd is a fs image, like cramfs or ext2 or such, so aboves is wrong.
> and please you don't want initrd, they are as dead as 2.4 kernel.
> > - While building initrd/initramfs, how are the things to be included
> > the image chosen.
> see for example how kinit does it in klibc or initramfs-tools
> git clone git://git.kernel.org/pub/scm/libs/klibc/klibc.git
> git clone git://anonscm.debian.org/kernel/initramfs-tools.git
> (Aboves assume you have git installed)
> > Thanks in advance.
> > P.S. If this is not the right place to post the question, could you
> > point a more appropriate list.
> you might want to look at lwn.net and initramfs for the initial
> current mailing list is initramfs at vger.kernel.org
> kind regards
Follow the dreams!!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the klibc