Page 1 of 1
I am having trouble loading my Kernel.
Posted: Wed Sep 19, 2001 12:41 pm
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
Re: I am having trouble loading my Kernel.
Posted: Wed Sep 19, 2001 11:18 pm
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
Re: I am having trouble loading my Kernel.
Posted: Fri Sep 21, 2001 12:24 pm
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
Re: I am having trouble loading my Kernel.
Posted: Wed Sep 26, 2001 3:01 am
by Thomas Sendelbach
partcopy bootprog.bin 0 200 -f0
partcopy kernel.bin 0 4000 -f0 200