Vineet Garg wrote: > Hi guys.... > This is my first query in this group though i am > member of this group for very long. > > I want to make boot loader in C++. But i dont know > from where i should start. Is there any book for this > kind of system software. Will it be machine dependent? > What should i learn for it? > > I hope you guys will help me. I am waiting for your > reply... > > > Vineet Garg
Vineet, What you are asking for is pretty advanced for this group (you are starting to hit the limits of even what I know). I've never seen a boot loader written in C++. Most of them are written in C and assembler. And, yes, a boot loader is usually architecture specific. You might want to take a look at existing boot loaders such as GRUB and LILO. Those are open source boot loaders generally used to boot various Linux distributions across multiple architectures. You'll be digging into the internals of the Linux OS...so having prior experience at that level will be a huge plus. Consider adapting one of these to your needs. Beyond that, I recommend joining the GRUB/LILO user groups. Be sure to ask intelligent questions when you have them (the developers likely get requests every day from curious people asking for help writing their own boot loader). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
