Click here to Skip to main content
16,017,954 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to create a complete boot loader in C# for windows.I am learning C# but i don't know any thing about boot loaders. please help me to create it.. i don't know how to make one..
Posted

You don't. You're not going to write a boot loader in C# or any other managed lanage.

The .NET Framework, what your C# code is completely dependent on, requires Windows in order to run. Boot loaders execute before any operating system even starts. So, no Windows means no .NET Framework which means no C# code will execute.

You have to use assmebly language or C to write a boot loader.
 
Share this answer
 
Comments
SM_AsimHaroon 4-Dec-12 10:49am    
Than how can i write a boot loader in C i have seen this link but it doesn't work on Ubuntu www.codeproject.com/Articles/36907/How-to-develop-your-own-Boot-Loader
Dave Kreskowiak 4-Dec-12 13:49pm    
Well, you start there then debug it to find out what's wrong and fix it. This is going to take a TON of research on your part. You're treading into territory few ever go so support on these problems is going to be sparse.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900