• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Basics of Bootloader

By Abhishek Ghosh January 18, 2024 5:33 pm Updated on January 18, 2024

Basics of Bootloader

Advertisement

A bootloader, from the shortened form of the original word bootstrap loader), also known as a launcher, is a special piece of software that is usually installed by a computer’s system firmware (e.g., the BIOS, Open Firmware, or UEFI) from a bootable medium. loaded and then executed. The bootloader then loads other parts of the operating system, usually a kernel. This is why we often talk about boot code, the first program (machine code) that is loaded from a removable mutable data store after the immutable firmware. The process itself is called booting a computer.

The term “bootstrap” originally refers to the loop that is located at the back of a boot to make it easier to put on the boot. The process of booting (running a program on a computer that is not yet running an operating system) is partly reminiscent of the effort to pull oneself out of the mud by one’s own boot loop.

A first “bootstrap loader” is located in the hardware itself. Most of the time, it’s a boot ROM that initializes the hardware components that are essential for booting, searches for a launcher, and, if one is found, executes it. Where the bootloader should be located on the mutable data store and how it is loaded varies depending on the computer architecture and platform. On more modern architectures, it is usually stored as a file on a firmware-supported file system on a supported bootable medium, such as a specific partition on the hard drive, and is loaded and executed directly from it. This is the case, for example, with Open Firmware and UEFI, although the partition tables and file systems used may be different. The bootloader itself must also be in a specific executable file format. On the one hand, this can be due to the processor architecture and in particular its instruction set, such as PE/COFF in UEFI, or the firmware implements a cross-architecture intermediate code format such as Open Firmware with Forth FCODE. Some older architectures load the bootloader from a predefined block of bootable media, which is therefore also known as the boot block or, more commonly, the boot sector. On IBM PC-compatible computers with a BIOS, this is always located in the first block, block 0, which usually contains a Master Boot Record (MBR) as both a boot program and a partition table on partitioned disks such as hard drives. On floppy disks, block 0 is loaded and executed in the same way, but there is usually no partition table there, but a Volume Boot Record (VBR).

Advertisement

---

Basics of Bootloader


Solar charger made by Lukas, soldernerd.com

In the field of embedded systems, too, we speak of bootloaders. There, the bootloader often cannot be reloaded, but is located in the non-volatile memory of the control unit. It contains basic initialization routines and often communication protocols to enable the exchange of application programs.

For cost reasons, the Raspberry Pi only has a minimal boot ROM directly in the SoC. This first firmware stage can’t do anything other than access the SD card and load and execute the file from a FAT paritition. In the case of a Linux system, this second firmware stage initializes the rest of the hardware and then executes a third stage from the file. This bootstrap loader, in turn, now loads the firmware for the CPU and GPU into the RAM. Only then is the single-board computer ready to load the Linux kernel, applying the firmware configuration from file and kernel parameters from file. A boot manager is a utility that can be installed on an operating system and contains its own bootloader and offers advanced configuration options.

 

Multi-Stage Bootloaders

 

If a bootloader is divided into several successive stages, it is called a multistage bootloader. This division into stages is made, for example, if the program code of the bootloader does not fit in the boot sector; At this point, therefore, only the first stage is loaded and executed, which then loads and executes the second stage, of which the first stage only knows the length, the block number and the number of the medium. The second stage can now handle the specific file system of the medium and loads the third stage based on a file name. The third stage is now the actual bootloader and loads a configuration file that contains, for example, a selection menu. A menu item could contain an instruction to load a bootloader from another partition.

This multi-stage structure has several advantages: In the case described above, the file of the actual bootloader can be changed at will or even physically moved, since the second stage can handle the file system and can find the third stage based on the file name. In addition, such a bootloader is not subject to the limitations of the length of a boot block.

 

Chain-Loader

 

It is also possible for multiple bootloaders to call each other one after the other, as in a chain of command. Such calls – usually across multiple partitions – are also called chain-loading or chainloading. In this case, a bootloader can be loaded first, which is, for example, a boot menu for operating system selection, and then, depending on the selection in this menu, the corresponding (operating system-specific) bootloader. In this way, several different operating systems can be operated side by side on one computer in a so-called multi-boot system.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Basics of Bootloader

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • What is Booting?

    Booting refers to the loading of the operating system of a computer, as it is usually required after powering up. The word booting is a short form of bootstrap loading. The phrase originated in 1950s. In computer science, bootstrapping refers to a process that activates a more complex system on a simple system. It is […]

  • Twitter Bootstrap for WordPress : Themes, Plugins and Nothing !

    Twitter Bootstrap for WordPress effect can be done by using ready made Twitter Bootstrap WordPress custom Theme, Bootstrap Plugins for WordPress and simple CSS.

  • Bootstrap Genesis Child Theme : Do it Yourself Guide

    Bootstrap Genesis Child Theme can easily be created by modifying the default CSS of existing Eleven40 Child Theme plus some custom templates. Here is how.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

vpsdime

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cloud-Powered Play: How Streaming Tech is Reshaping Online GamesSeptember 3, 2025
  • How to Use Transcribed Texts for MarketingAugust 14, 2025
  • nRF7002 DK vs ESP32 – A Technical Comparison for Wireless IoT DesignJune 18, 2025
  • Principles of Non-Invasive Blood Glucose Measurement By Near Infrared (NIR)June 11, 2025
  • Continuous Non-Invasive Blood Glucose Measurements: Present Situation (May 2025)May 23, 2025
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2026 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy