Rolling Your Own Bootloader: Difference between revisions

m
Trying to remedy some bias article has. We're aware bootloaders like GRUB are much better than most of us can code, but many people just want to make a bootloader for a learning experience.
[unchecked revision][unchecked revision]
m (added bootloaders category link)
m (Trying to remedy some bias article has. We're aware bootloaders like GRUB are much better than most of us can code, but many people just want to make a bootloader for a learning experience.)
Line 1:
{{rating|2}}
Some people prefer to use their own software for everything, or wish to try their hand at coding a bootloader. This page attempts to describe what steps to take when you write your own bootloader. Before you start writing one, it is best that you know the background [[Bootloader|theory]].
 
== What and Why ==
=== Disclaimer ===
 
Okay. You are here because you don't want to use a mainstream boot loader. You may also want to code your own bootloader as a learning experience to better understand how they function. We also have pages on many [[Bootloaders]] developed by this community, there's the [[Bare bones]] but still people complain we don't have a page explaining how the bootloader can be coded.
 
I won't try to give you full code that works because if that was what you were looking for, you'd be using one of the [[:Category:Bootloaders|premade bootloaders]] instead. This page plans to tell you what is needed and what could be wished in a bootloader, and optionally points at parts of the FAQ that can help you achieving the goals.
 
Whether or not you'll use your own bootloader or reuse an existing tool is completely up to you. If you get the feeling you don't understand a thing, make sure you read our page about the [[Boot Sequence]] first.<br />
 
A good reason to have a custom bootloader would be a custom filesystem.
 
Anonymous user