Quote:
|
Originally Posted by KiraII
I think, Grub only load kernel and initrd into memory, but it can't mount ramfs for the kernel, is it?
maybe the bootloader pass information of where is the initrd settled to the kernel, is there a mechenism in kernel to get the information?
|
I am not sure of the details of the magic that happens, but after the kernel boots, the initrd will be mounted and the kernel will be able to pass control to
/etc/init, (contained in the initrd) or whatever file was specified on the boot line. My understanding of
ramfs is that it is different from
initrd, and I don't have much knowledge of it. I
believe ramfs is contained in the compressed kernel image itself.