Posted: Sat Feb 23, 2008 12:51 pm
i have added an entry point and the problem still ocurs
Binary files don't have a format so grub can find the entry point, so it always starts at the start of your file (maybe there's an option for entry point in the a.out cludge?). You should be sure your real entry point is at the start of your file together with the multiboot header.Kieran wrote:i have added an entry point and the problem still ocurs
? As you posted your reply only a minute after I posted mine, you might have missed it.Are you using GRUB? If so, the multiboot header has to be in the first 8KB of the kernel. You could try moving INPUT("start.o") to the very top of the linker script.