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


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to