I am having trouble loading my Kernel.

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
Andrew Nielsen

I am having trouble loading my Kernel.

Post by Andrew Nielsen »

I can't seem to get my Kernel to load, it just seems to crash and reboot my computer, can someone tell me how to load my Kernel.  Like, the code for just loading and then running my Kernel, nothing else.

If you can help, I imagine that I'll have a very good operating system project going here.

Thanks!
Andy
osetron

Re: I am having trouble loading my Kernel.

Post by osetron »

You've not given us a lot to go on here.  Real mode, or Protected mode, boot from floppy, or harddisk etc.. :(
I take it you are trying to write your own bootloader, and not having much success - post the code and maybe someone can help.
Alternatively, try making your kernel multi-boot compliant and using GRUB to get it going, and revisit the bootloader towards the end of your project.
hth,
ost
Andrew Nielsen

Re: I am having trouble loading my Kernel.

Post by Andrew Nielsen »

Well, I've found my error...  it's mostly Windows   ::)

So, I was wondering if anyone knows of some good tools I can use for OS Programming in Windows.

I need something to copy my bootsector, and my kernel to the disk, I have partcopy, I just don't know how to use it.  Can anyone help me with that?

Thanks
Thomas Sendelbach

Re: I am having trouble loading my Kernel.

Post by Thomas Sendelbach »

partcopy bootprog.bin 0 200 -f0
partcopy kernel.bin 0 4000 -f0 200
Post Reply