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.)
Grub is Being mean
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Grub is Being mean
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.
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
BlueillusionOS iso image
Re:Grub is Being mean
...jesz...byond man youv answered all my questions so far...thanx dude....you asome!
ok ill try the multi boot header.
ok ill try the multi boot header.
Re:Grub is Being mean
It must be in the first 8KBs.
You can find the multiboot specification here: http://www.gnu.org/software/grub/manual ... iboot.html
You can find the multiboot specification here: http://www.gnu.org/software/grub/manual ... iboot.html