Re: GRUB says kernel.bin as unsupported executable
I'm a beginner and a total newbie at writing my own OS, besides that I also have some knowledge about ASM and C/C++. I don't see any problems about writing a small kernel (like really small), but the booting process makes me head hurt. Of course, I can write a primitive "Hello world" boot loader, but when I finally have a need for a kernel loading (I have it in a bin format - kernel.bin), I do not understand how to make it so I can load this BIN file.
I have done "Bare_bones" tutorial from osdev wiki page, I've done it without any odd problems (all thought I had to use Linux at compilation, DJGPP was a problem for me). But GRUB using I don't understand and I also think that for a newbie it's a too massive project, so to speak.
Thank you Kieran for the tutorial, that's really kind of you, I've been going around the forums asking some things and all I get is many redirects to thousand of wiki pages. I'm gonna look through your given bootloader, but I got a question already (thought this suits more to a linux forum), the thing is that I own a psychical floppy disc drive, so I can only play with virtual ones on a PC, the question is how can I (using linux), make an image file (floppy.img) so it will have in the first sector my 512 byte loader?
And maybe someone or anyone who has been developing their own Os or Os'es can share information how did you begin your road
?