Re: during fedora boot, what picks up the initrd.img from /boot?



At 10:33 AM -0500 11/30/07, Robert P. J. Day wrote:
On Fri, 30 Nov 2007, Mikkel L. Ellertson wrote:

Robert P. J. Day wrote:
i'm sure i'm going to regret asking this only seconds after i
hit ENTER, but at what point during the boot process does the
kernel's corresponding /boot/initrd.img file kick in and get used?

i'm following along reading the logic of initramfs and early
userspace, and can see where a compressed cpio archive can be
incorporated into the kernel image itself. fair enough.

but how does the /boot/initrd.img (which is itself a compressed
cpio image) get processed during boot? it's certainly not passed
as an argument to the kernel as i can see via /proc/cmdline. so
how does it affect the boot sequence? thanks.

I believe that Grub loads the image, and then passes the location to
the kernel at boot. Support for the file system of initrd.img has to
be built into the kernel.

but *how* does grub pass that info? ...
...

According to `info grub` 13.3.7 initrd, GRUB loads the image and sets the
"appropriate parameters in the Linux setup area in memory." I see the
initrd in the kernel docs "boot.txt".
--
____________________________________________________________________
TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
' <http://www.georgeanelson.com/>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: SMP startup problem
    ... I am having similar issues with my dual P2 running FC3. ... successfully complete the boot, ... WARNING: Kernel Errors Present ... >Are there any logfiles about this early stage of the boot process (no ...
    (comp.os.linux.setup)
  • Re: Weird kernel 2.6.17.[67] behaviour
    ... I applied 2 days ago the patches to update the kernel to the 2.6.17.7. ... And to my surprise when rebooting, the boot process hanged for now ... More surprising is that when boot continues if I press one key on the ...
    (Linux-Kernel)
  • Re: during fedora boot, what picks up the initrd.img from /boot?
    ... but at what point during the boot process does the kernel's ... corresponding /boot/initrd.img file kick in and get used? ... argument to the kernel as i can see via /proc/cmdline. ...
    (Fedora)
  • Re: during fedora boot, what picks up the initrd.img from /boot?
    ... but at what point during the boot process does the ... as an argument to the kernel as i can see via /proc/cmdline. ... p.s. is my question making any sense? ...
    (Fedora)
  • RE: Issue booting new kernel
    ... Subject: Issue booting new kernel ... The only way I could get it to boot sucessfully was to revert ... The hardware is a Sun X2100 with an AMD Opteron 148. ... help us see how far along the boot process actually got. ...
    (RedHat)