Operating system/Boot Loader

From Wikiversity
Jump to navigation Jump to search

This is a lesson in in the course, Operating system, which is a part of The School of Computer Science

Objective[edit | edit source]

  • Become familiar with a boot loader.
  • Learn where the boot loader resides on a disk.
  • Learn where the boot loader resides in memory.
  • Learn the functions of a boot loader.

Lesson[edit | edit source]

The Boot Loader[edit | edit source]

The function of a boot loader, sometimes just called bootloader, is to initialize the hardware, set boot parameters, load a kernel image into RAM, and pass control to the loaded kernel. Some well know boot loaders are grub and uboot. A boot loader can simply be one file that does little preprocessing for the operating system, although some boot loaders are multiple files large and contain much preprocess operations. A boot loader like that needs to preform a loading process called chain loading.

The Boot Loader's Home[edit | edit source]

The boot loader usual resides near the beginning of the disk. Older disk formats like the FAT 12 held the boot loader in the first sector.

The Boot Loader in Memory[edit | edit source]

Assignments[edit | edit source]

Completion status: this resource is just getting off the ground. Please feel welcome to help!