Grub stack faults

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
User avatar
AlfaOmega08
Member
Member
Posts: 226
Joined: Wed Nov 07, 2007 12:15 pm
Location: Italy

Grub stack faults

Post 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?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
AlfaOmega08
Member
Member
Posts: 226
Joined: Wed Nov 07, 2007 12:15 pm
Location: Italy

Post 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?
Post Reply