Bootloader Problems... again.
Posted: Mon Dec 31, 2007 4:57 pm
Hey.
I am writing my own C++ kernel and intend to use GRUB as the bootloader until I can make my own. As I am running a windows machine, I have had to try a precompiled .img file to use GRUB.
Now onto the problem. I have set up my VMWare Workstation to boot of the GRUB image that I downloaded from JamesM kernel development tutorial. When it starts up all it comes up with is the usual boot screen and then just hangs on the
I have tryed changing to directory structer, placeing my kernel.bin file in every different folder and place i can think of and nothing will work! When i compile my kernel all it comes up with is warning messages so i assum that this is not the cause as it compiles ok?
I have also tryed bootf bootloader and VMWare threw up an error about a kernel stack fault. If anyone has any help on how to run a kernel with either bootloader (bootf preferd) and example kernels to go with them. When compileing the example kernel that comes with bootf i get errors when jloc trys to compile the .c version. These errors are
Also if anyone has any one had any tutorials on developing a bootloader from scratch, then please let me know.I am very grateful for your help I know you guys do this out of free will, so thanks and sorry if this is a typical beginner OS dev question.
Many, many thanks.
Harry.
I am writing my own C++ kernel and intend to use GRUB as the bootloader until I can make my own. As I am running a windows machine, I have had to try a precompiled .img file to use GRUB.
Now onto the problem. I have set up my VMWare Workstation to boot of the GRUB image that I downloaded from JamesM kernel development tutorial. When it starts up all it comes up with is the usual boot screen and then just hangs on the
screen. I have go one to develop a screen driver using the same set of kernel development tutorials and whatever I try, nothing seemes to get it to boot my kernel!Starting up....
I have tryed changing to directory structer, placeing my kernel.bin file in every different folder and place i can think of and nothing will work! When i compile my kernel all it comes up with is warning messages so i assum that this is not the cause as it compiles ok?
I have also tryed bootf bootloader and VMWare threw up an error about a kernel stack fault. If anyone has any help on how to run a kernel with either bootloader (bootf preferd) and example kernels to go with them. When compileing the example kernel that comes with bootf i get errors when jloc trys to compile the .c version. These errors are
Code: Select all
Failed first pass open:kernel.o
Failed seconds pass open:kernel.o
Many, many thanks.
Harry.