If you are new to development, plan on spending some time here before visiting the other forums.
4 posts • Page 1 of 1
I am trying to build a bootloader from the tutorial of operating system development series. i have a separate kernel file which i made earlier and used grub to boot it. I downloaded the Demo4 package from here and tried to use. The kernel file provided with the Demo4 package is being loaded. But when I replace my kernel file ( i renamed it) , it is not being loaded. any ideas???
It most likely ran into a triple fault and that can only mean one thing: the place you're jumping to is filled with nonsense data. Use Bochs as your debugger and check your Assembly code.brainbarshan wrote:the kernel is being copied but is not executing
actually the system restarts when this instruction is reached:(from stage2 boot)
Code: Select all
jmp CODE_DESC:IMAGE_PMODE_BASE; jump to our kernel! Note: This assumes Kernel's entry point is at 1 MB
Stephan J.R. van Schaik.