grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.


From: Yoshinori K. Okuji
Subject: Re: 1) too big kernel on 1.92. 2) unrecognized: %lex-param.
Date: Wed, 19 Apr 2006 13:58:08 +0200
User-agent: KMail/1.8.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]