On Mon, 20 Dec 2004, Dan Kaspi wrote: > >The bootloader loads the initrd file from disk to memory so it knows > >exactly where it starts and it knows the end of it which is the start > >address + size of file. The boot loader puts this information into PARAM > >block which is a block > >of memory the kernel reads when it loads. > > 1) First , from looking a bit at the code , I assume that the PARAM block > Idan talks about is : (in the case of i386) > unsigned char __initdata boot_params[PARAM_SIZE]; > from arch/i386/kernel/setup.c > can you verify it ? > > 2) Regarding to use or not use initrd : I understand that in this array > there > is the start and end address of initrd (in case > there is initrd entry in grub.conf) ; is there something in the boot_params > array which says to use or not to use initrd?
if 'start address' is zero, the kernel does not try to load an initrd. it's all in the code. -- guy "For world domination - press 1, or dial 0, and please hold, for the creator." -- nob o. dy ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
