Click here to Skip to main content
11,479,841 members (46,694 online)
Rate this: bad
good
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 5: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 at 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 at 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
0 OriginalGriff 235
1 Sergey Alexandrovich Kryukov 215
2 F-ES Sitecore 155
3 Richard MacCutchan 100
4 DamithSL 65
0 Sergey Alexandrovich Kryukov 7,890
1 OriginalGriff 7,556
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
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