Hello, Maurizio!

> this i not a malfunction, but I hope some could help me to solve it!

What's the problem exactly?

> The question is about OS file format spporting by GRUB for multibooting.
> 
> GRUB 0.93.1 can read ELF32-FreeBSD format.
> Do anyone know how to make GRUB reading ELF32 format different
> from FreeBSD or some patch for reading COFF file format?

GRUB can load any ELF file, but how can it determine what parameters to
pass to it when booting? I know that NetBSD ELF and FreeBSD ELF kernels
expect to find very different data on the stack.

What about COFF, it is not supported directly (i.e. without a Multiboot
header).

> Why cannot put Multiboot header at beginning of the file loaded by GRUB?

I don't quite understand what you are asking here. Actually, if you put a
multiboot header in the file, GRUB will be able to load it, even if uses
COFF or another unsupported format.

If you are trying to boot a kernel that doesn't have a multiboot header,
i.e. Solaris, GRUB will not do it.

Pavel Roskin

Reply via email to