Hi I am a newbie too and I faced this problem a few months back when I was trying to understand the process of booting. I got two articles from an IRC channel which helped me a lot. 1. http://en.skelix.org/skelixos/tutorial01.php 2. http://susam.in/articles/boot-sector-code.php Hope these articles help you too. On Dec 7, 2007 4:20 PM, balzar tondo <balzartondo@xxxxxxxxx> wrote: > i am not sure whether this is the correct forum to ask. i am a newbie to > this forum and please pardon me if I violate any rule. i want to write a > small code in Linux that will boot and print something. this is something > very basic but I have no clue how this can be done. i searched the web and > got some articles that require either the netwide assembler or as86. > unfortunately i am running 64 bit debian and i have neither of these tools. > I have gcc which I understand can also assemble assembly programs. could > someone please guide me how to use gcc to write and build assembly programs > that can be written into boot sector so that I can boot with it. > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ