Click here to Skip to main content
12,291,499 members (59,906 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
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 4-Dec-12 4:23am
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
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.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160518.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100