Multiloader Help
Posted: Thu Jun 17, 2010 3:32 am
I followed the bare bones tutorial (after following the cross-compiler tutorial) but after I create my floppy image, I still get GRUB Error 13. I didnt make any changes to any of the code provided in the bare bones tutorial (do I need to change something in kernel.c?). For me, kernel.bin ends up being 2324 Bytes, so the GRUB command "kernel 200+6" would be correct, but even so, it doesnt work.
I also tried following this tutorial, but it didnt help.
http://wiki.osdev.org/Grub_Error_13
The only output I get from the compilation is when compiling kernel.c I get a unused variable warning (boot_loader_name).
I also used "-i586-elf-gcc" rather than just "gcc" when compiling kernel.c as I read from another thread (just using gcc didnt work), thats the only time I deviated from the bare bone tutorial.
Ive tried doing around a dozen various things, and so far nothing has worked. Any chance someone could upload a working image, and the corresponding kernel.bin, kernel.c, linker.ld, and loader, that way I can eliminate my system\setup as being the problem? Thanks
I also tried following this tutorial, but it didnt help.
http://wiki.osdev.org/Grub_Error_13
The only output I get from the compilation is when compiling kernel.c I get a unused variable warning (boot_loader_name).
I also used "-i586-elf-gcc" rather than just "gcc" when compiling kernel.c as I read from another thread (just using gcc didnt work), thats the only time I deviated from the bare bone tutorial.
Ive tried doing around a dozen various things, and so far nothing has worked. Any chance someone could upload a working image, and the corresponding kernel.bin, kernel.c, linker.ld, and loader, that way I can eliminate my system\setup as being the problem? Thanks