Clever Geek Handbook
📜 ⬆️ ⬇️

Bootloader

The bootloader of the operating system is a system software that provides loading of the operating system immediately after turning on the computer ( POST procedure) and initial boot .

Bootloader operating system:

  • provides the necessary tools for dialogue with a computer user (for example, the bootloader allows you to select the operating system to boot);
  • brings the computer hardware to the state necessary to start the kernel of the operating system (for example, on non- x86 architectures, before starting the kernel, the loader must correctly configure virtual memory );
  • loads the kernel of the operating system ( Ntoskrnl.exe in the case of MS Windows) into RAM . Booting the kernel of the operating system does not necessarily occur from the hard drive . The bootloader can receive the kernel over the network. The kernel can be stored in ROM or loaded via serial interfaces (this can be useful at an early stage of debugging the created computer system);
  • generates parameters passed to the kernel of the operating system (for example, parameters are passed to the Linux kernel that indicate how to connect the root file system);
  • transfers control to the kernel of the operating system.

On computers of the IBM PC architecture , the bootloader is launched by the BIOS software written in the ROM of the computer after the successful completion of the POST procedure. Let us describe the procedure by which the IBM PC is loaded from the HDD: the BIOS reads 512 bytes of the first sector of the HDD ( MBR ) into RAM at the address 0x00007C00 ( 0x07C0: 0x0000 in real mode ), then control is transferred to the read code. This code reads and analyzes the partition table of the hard drive, and then, depending on the type of bootloader, either transfers control to the boot code of the active partition of the hard drive (see Initial boot of the computer ), or it independently loads the kernel from the drive (for example, network or removable ) random access memory and transfers control to it. Initially, the bootloader operates in real addressing mode with the A20 address line disabled, which creates certain difficulties when writing bootloaders.

Common Bootloaders

  • NTLDR is the Windows NT / 2000 / XP kernel bootloader.
  • Windows Boot Manager (bootmgr, winload.exe) - Windows Vista , Windows 7 , Windows 8, and Windows 10 kernel bootloader.
  • LILO (LInux LOader) - bootloader, mainly used to boot the Linux kernel .
  • GRUB ( Grand Unified Bootloader ) - used to boot the Linux kernel and Hurd ( StartUp Manager ).
  • OS / 2 BootManager - OS / 2 kernel loader.
  • RedBoot - bootloader for embedded systems. RedBoot Homepage .
  • SILO ( SPARC Improved bootLOader) - Linux and Solaris bootloader for machines with SPARC architecture. SILO Homepage .
  • Loadlin - loads Linux from under DOS or Windows. Loadlin Homepage .
  • Syslinux - Boots Linux from under DOS or Windows.
  • Yaboot is the Linux bootloader on PowerPC .
  • BootX - Mac OS X bootloader.
  • bootman - BeOS bootloader.
  • BootManager - Haiku bootloader.
  • Das U-Boot is a universal bootloader, used mainly in embedded systems.
  • Plop Boot Manager is a universal bootloader that runs using native Windows and Linux bootloaders, as well as removable media. Plop Boot Manager Homepage .
  • SyMon is a universal bootloader, independent of the type of operating system SyMon Home Page .
  • Acronis OS Selector is a commercial graphical utility that comes with Acronis Disk Director, supports Windows and Linux, appears before each system boot, and can copy systems [1] .
  • uMon - bootloader for embedded systems.
  • barebox - bootloader for embedded systems.
  • Paragon Boot Manager is a universal bootloader distributed with the Paragon Partition Manager distribution kit.
  • XorBoot is a universal bootloader.

Links

  • The bootloader of the operating system in the Open Directory Project link directory (dmoz)
  • Russian x86 MultiBoot FAQ
  • The article "Overview of Windows, Linux, Mac OS X, QNX boot"
  • The article "Installing multiple operating systems on one IBM-PC compatible computer"
  • “Installing multiple operating systems using SyMon multiboot”

Literature

  • Scott Muller Diagnostic and maintenance tools: Download // Modernization and repair of PC / per. from English - 17th ed. - M .: "Williams" , 2008. - S. 1341–1349. - 1360 (+147 on CD) s. - ISBN 978-5-8459-1126-1 .
Source - https://ru.wikipedia.org/w/index.php?title= Operating System_Loader&oldid = 99424546


More articles:

  • WISE 1541-2250
  • Diadiaphorus
  • Lowa Sportschuhe
  • Belopolsky, Anshel Petrovich
  • Norwegian Epic
  • Avapessa
  • Belgoder
  • Felicheto
  • Greek Foreign Policy
  • Rajaratnam Raj

All articles

Clever Geek | 2019