All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Issue with OpenSolaris kernels on GRUB2
Date: Fri, 25 Apr 2008 15:46:34 +0200	[thread overview]
Message-ID: <200804251546.34571.okuji@enbug.org> (raw)
In-Reply-To: <fucm0n$dct$1@ger.gmane.org>

On Saturday 19 April 2008 13:45, Patrick Georgi wrote:
> Yet, GRUB2 differs in behaviour from GRUB legacy:
>
> GRUB first looks if the file is multiboot and an ELF image. If not, it
> looks for the aout flag, and handles the file accordingly. So in case of
> the OpenSolaris kernel, it never looks at the flag.

I think you refer to an older version of GRUB Legacy here. This behavior has 
been fixed.

> GRUB2 first looks if the flag is set and assumes the file is aout (and
> fails), and only if not, tries ELF.

This is correct, and consistent with the latest GRUB Legacy.

> I'm not sure if that change in behaviour is intended, which is why I ask
> here. If the new behaviour is to stay, making the aout parser more
> robust, and fail with a more meaningful error, might be a good idea.

Yes, I agree. There must be a bug. :)

Okuji



      reply	other threads:[~2008-04-25 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 11:45 Issue with OpenSolaris kernels on GRUB2 Patrick Georgi
2008-04-25 13:46 ` Yoshinori K. Okuji [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804251546.34571.okuji@enbug.org \
    --to=okuji@enbug.org \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.