GRUBing

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
Mr_Spam

GRUBing

Post by Mr_Spam »

I belive i will use grub as a bootloader for the beggining stages of my OS. My question is, What all dose grub do? Such as, switch to Pmode? load IDT, GDT, LDT? enable a20? stuff like that.

Thanks,

Spam
Whatever5k

Re:GRUBing

Post by Whatever5k »

GRUB switches to Protected Mode, therefore enables A20. It builds a GDT temporarily, but you will have to load your own, nevertheless. It builds no IDT and interrupts are disabled...

See http://www.openbg.net/sto/os/xml/grub.html#grub2krnl
Post Reply