public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Rajendra <rajendra_mishra@solidcore.com>
To: Rajat Jain <rajat.noida.india@gmail.com>
Cc: newbie <linux-newbie@vger.kernel.org>,
	Kernel Newbies <kernelnewbies@nl.linux.org>
Subject: Re: How does boot loader tell the kernel, the location of initrd?
Date: Thu, 15 Mar 2007 13:56:25 +0530	[thread overview]
Message-ID: <45F90331.4060107@solidcore.com> (raw)
In-Reply-To: <b115cb5f0703142358j6a422262qe1ad1c6cfcfcdd22@mail.gmail.com>

Every bootloader has different mechanism for loading the kernel
image. I am talking of Grub boot loader here. Grub uses something
called a multiboot specification. The specification documents the
mechanism for passing data to and from the kernel image.
Search for multiboot specification and i think u will get all ur answers.

U can also look at arch/i386/boot/bootsect.S for the linux kernel
multiboot header related info.

regards,
~rpm

Rajat Jain wrote:
> Hi,
>
> I am experimenting with initrd and my initrd fails to mount. My
> bootloader (U-BOOT) coorectly loads the initrd into RAM as I can see.
>
> I am wondering how does the kernel get to know the address at which
> the initrd is loaded by boot loader? How does the boot loader
> communicate this to the kernel?
>
> Any code references will be appreciated.
>
> Thanks,
>
> Rajat
>
> PS: I am not using initramfs (emebedding root filesystem into kernel 
> image).
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ


  reply	other threads:[~2007-03-15  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15  6:58 How does boot loader tell the kernel, the location of initrd? Rajat Jain
2007-03-15  8:26 ` Rajendra [this message]
     [not found] ` <20070315161718.GB16545@ba.sec>
2007-03-16  5:12   ` Rajat Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F90331.4060107@solidcore.com \
    --to=rajendra_mishra@solidcore.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-newbie@vger.kernel.org \
    --cc=rajat.noida.india@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox