On Wednesday 19 April 2006 13:16, Jeff Chua wrote:
> I got this message trying to boot linux using grub2 on a Dell Optiplex
> GX620 which has 4GB RAM. The same kernel booted fine on a IBM notebook
> using the same grub2 with 2GB RAM.
>
> version is Grub2 1.92.
>
> "Too big kernel"
>
> Why?
Can you debug it yourself a bit? I cannot afford buying so much memory. ;)
In loader/i386/pc/linux.c, there is a piece of code like this:
if (grub_file_size (file) > (grub_ssize_t) grub_os_area_size)
{
grub_error (GRUB_ERR_OUT_OF_RANGE, "too big kernel");
goto fail;
}
Can you see what is printed when you change this to:
if (grub_file_size (file) > (grub_ssize_t) grub_os_area_size)
{
grub_error (GRUB_ERR_OUT_OF_RANGE, "too big kernel (0x%x > 0x%x)",
grub_file_size (file), grub_os_area_size);
goto fail;
}
Cheers,
Okuji
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel