Click here to Skip to main content
12,823,072 members (45,783 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
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
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.
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
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
Please Sign up or sign in to vote.

Solution 1


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
Web01 | 2.8.170308.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2017
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