x86_64: Booting kernel
-
- Posts: 21
- Joined: Tue Mar 24, 2009 10:59 am
Re: x86_64: Booting kernel
Well, this is odd. Probably because I am using a x64 compiler without loading long mode? Not sure, but I got it to work; Index starts at 1, not 0. I made a function to output text, and it's not working at all, and I must link the kernel second to the boot loader. Perhaps I just need to setup memory or something? Not sure, I'm still new at this and all ;P
-
- Posts: 21
- Joined: Tue Mar 24, 2009 10:59 am
Re: x86_64: Booting kernel
I used the code from XOmB as I was suggested to do, and I'm getting the following issue when trying to boot the kernel:
grub> kernel 200+18
[Multiboot-kludge, loadaddr=0x200000, text-and-data=0x80019000
Error 13: Invalid or unsupported executable format
What next?
grub> kernel 200+18
[Multiboot-kludge, loadaddr=0x200000, text-and-data=0x80019000
Error 13: Invalid or unsupported executable format
What next?
-
- Member
- Posts: 199
- Joined: Sat Jun 28, 2008 6:44 pm
Re: x86_64: Booting kernel
use a multiboot-32bit elf64 loader. everything else fails.