Page 1 of 1

Grub stack faults

Posted: Sat Feb 09, 2008 9:20 am
by AlfaOmega08
I'm using grub on a fat12 floppy.

I start my kernel with

root (fd0)
kernel /kernel
boot

as I run "boot", bochs exits, VMWare tells me that the OS has had a stack fault in kernel mode and VPC2007 freeze

I've modified my kernel.
It simply CLIs and HLTs

So the problem is caused by grub... why?

Posted: Sat Feb 09, 2008 5:16 pm
by Combuster
Some questions you should ask yourself:
Does grub actually execute what you expect it to do?
Have you tried loading a kernel written by someone else?

I find it very hard to believe that GRUB is at fault.

Posted: Sun Feb 10, 2008 9:33 am
by AlfaOmega08
i've used bran's tutorial with FAT16 and ext2. It doesn't works.

Can you tell me where can I find another kernel for floppy that supports grub?