Grub is Being mean

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
keeper

Grub is Being mean

Post by keeper »

I have programmed a kernel that does basic math functions ans a test. but grub will not load the kernel. why is this? my kernel worx under a homemade bootloader. i tried two versions of grub, but neither worked.

is it my pc? floppy? mother board? i am totally clueless, any help would be greatly helpfull.(cuz i dont want to design an entire bootloader cuz grub is having a bad day.)
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Grub is Being mean

Post by distantvoices »

have you included the multiboot header to the very beginning of your kernel image (i think it has to be in the first kB of the kernel or so -- better look it up)?

Have you set the correct flags/values in the multiboot header? Look at the OSFAQ - there's an example kernel thing showing how it should look like, grace a solar. :-)
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
keeper

Re:Grub is Being mean

Post by keeper »

...jesz...byond man youv answered all my questions so far...thanx dude....you asome!

ok ill try the multi boot header.
AR

Re:Grub is Being mean

Post by AR »

It must be in the first 8KBs.
You can find the multiboot specification here: http://www.gnu.org/software/grub/manual ... iboot.html
Post Reply