Anonymous user
Bootloader: Difference between revisions
→What does a bootloader do
[unchecked revision] | [unchecked revision] |
(Useful link section added) |
|||
Line 1:
A bootloader is a program written to load a more complex [[Kernels|kernel]]. Implementation details are gathered in [[Rolling Your Own Bootloader]]
== What does a
The
* Bring the kernel (and all the kernel needs to bootstrap) in memory
* Provide the kernel with the information it needs to work correctly
Line 8:
* Transfer control to the kernel
On the x86, the
=== Loading your kernel ===
The bits of your kernel are somewhere on some disk (presumably the booting disk, but this is not mandatory). Question is: where on the disk ? Is it a regular file on a [[FAT|FAT-formatted]] floppy ? is it a collection of consecutive sectors in the "reserved area" of the FAT12 floppy (in which case you may need a dedicated tool to format the disk and install the kernel on it) ? Or is the floppy simply left unformatted and kernel pasted directly with a disk image tool
All the above options are possible. Maybe the one
What needs to be loaded mainly depends on what's in your kernel. Linux, for instance, requires an
=== Giving the kernel its information ===
|