Hi bug-grub, I've got an ELF kernel that I'm trying to get loaded via Multiboot. Basically, there's the .setup section, which is linked to 0x100000 (where I expect the kernel to be loaded) and then .text .data .bss all linked to 0xC0000000 (where they will be run, after paging is enabled). The setup code parses the ELF header at 0x100000 and loads the kernel image to 0x400000, then enables paging and jumps to the kernel.
I've got a Multiboot header set up as "kludge" so that GRUB loads it all in one chunk at 0x100000 instead of trying to write to vaddr 0xC0000000 for the main kernel code. Trouble is, GRUB sees that it's an ELF file and seems to ignore the kludge flag in the Multiboot header. Is there any way to get GRUB to recognize an ELF file as a multiboot-kludge? -- Josh _______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-grub
