Skip to content

What Is a Bootloader? A Simple Explanation

Owen HaleBy Updated 10 min read

As an Amazon Associate we earn from qualifying purchases, at no cost to you.

Fix path (10 sections)
  1. The bootloader is the bridge between hardware and your operating system
  2. The boot order, step by step
  3. How the boot process differs between BIOS and UEFI
  4. Common bootloaders you might encounter
  5. What it means for you
  6. How to check it on your PC
  7. When a broken bootloader is actually the problem
  8. How to repair or reinstall your bootloader
  9. Mistakes to avoid
  10. Frequently asked questions

A bootloader is the small program that starts your operating system after you press the power button. If it is missing or damaged, your computer powers on but never reaches Windows or Linux.

In short: A bootloader is the small piece of software that runs after power-on and before the operating system. It finds your operating system, loads it into memory, and hands over control. Without it, your computer cannot start Windows, Linux, or macOS, even though the hardware itself works fine.

Our pick

Tap to see today's price on Amazon
For testing microcontroller bootloaders1 PCS ATmega328P-PU Microcontroller

Pre-programmed chips let you upload code without a dedicated ISP programmer, simplifying development.

Check price on Amazon

Key takeaways

  • A bootloader sits between your firmware (BIOS or UEFI) and your operating system, and it runs at every start.
  • On a UEFI computer it lives on the EFI System Partition as a file such as bootmgfw.efi. On an older BIOS computer it starts from the Master Boot Record.
  • “BOOTMGR is missing” or a Secure Boot violation usually points at the bootloader, not at a dead hard drive.
  • Most bootloader problems can be fixed with Startup Repair or one command from a USB recovery drive.
  • Never delete the EFI System Partition. Losing it stops the computer from starting at all.

The bootloader is the bridge between hardware and your operating system

Close-up of a laptop power button, the first step before the bootloader runs
Photo: energepic.com via Pexels

When you press the power button, the firmware wakes up first. This low-level software lives on the motherboard. It runs a short hardware check called POST, which stands for power-on self-test, finds a drive it can boot from, and hands control to the bootloader. There is more on how a bootloader loads your operating system in a separate guide.

Think of it as a concierge: the firmware wakes up the building, and the concierge opens the right room. It finds the operating system files, loads them into memory, and hands control to the kernel.

If this handoff fails, you see errors such as “BOOTMGR is missing” or “No bootable device found.” The screen stays black while the fans spin, because no program is telling the computer where the operating system lives.

On a UEFI computer, the bootloader files sit on the EFI System Partition, a small hidden partition on the boot drive. If it is formatted or deleted, the computer cannot start until the bootloader is written back with a recovery USB drive.

Recommended for this stepSamData 32GB USB Flash Drives 2 Pack 32GB Thumb Drives Memory Stick Jump Drive…
  • 2 Pack USB 2.0 Flash Drive 32GB Available in 2 different colors - Black and Blue. The
  • No need to install any software, Just plug in and use it. The metal clip rotates 360°
Check price on Amazon

The boot order, step by step

Every start follows the same chain, and a failure at any point stops it at that step. Knowing the order tells you where to look when a computer will not start.

Step What runs What it does
1. Power on Power supply and board The motherboard gets power and the processor starts.
2. Firmware BIOS or UEFI POST checks the hardware, then finds the boot drive.
3. Bootloader Windows Boot Manager, GRUB, or another loader Loads the kernel into memory.
4. Kernel Windows or Linux kernel Starts drivers and system services.
5. Login screen Operating system Shows the login screen.
Diagram of the boot order in five steps, from power on to the login screen
Diagram: ICT Service Center

A black screen with a blinking cursor means the chain broke at step 2 or 3. If you see the Windows logo and then a crash, the bootloader already did its job. For more detail, see what happens during the computer boot process.

How the boot process differs between BIOS and UEFI

Modern computers use two firmware types, legacy BIOS and UEFI. The bootloader’s job is the same on both. It helps to understand resolving hardware misconceptions before going further.

Legacy BIOS: The system reads the first 512 bytes of the boot drive, the Master Boot Record. That tiny code loads a larger bootloader, such as GRUB, which starts the operating system. The design is slow and limits boot drives to about 2TB. To learn the basics, read what BIOS does on a desktop computer.

UEFI: The firmware reads the EFI System Partition and loads an executable file directly into memory, such as bootmgfw.efi for Windows. This is faster, supports larger drives, and supports Secure Boot, which checks the bootloader’s signature before running it. See how UEFI differs from legacy BIOS.

Close-up of a computer motherboard with capacitors and circuits
Photo: Pok Rie via Pexels

Secure Boot checks that the bootloader is signed by a trusted key before it runs, which blocks rootkits that load first. Most major Linux versions, including Ubuntu and Fedora, ship a signed bootloader, so they install with Secure Boot turned on. Microsoft documents Secure Boot on its OEM Secure Boot page.

Tip: To check which mode your PC uses, press Win + R, type msinfo32, and press Enter. The “BIOS Mode” line reads UEFI or Legacy, and it tells you which repair commands apply.

Common bootloaders you might encounter

You will most likely meet one of these three bootloaders.

Windows Boot Manager: The default for Windows Vista and newer. It runs the Windows startup sequence and can manage dual-boot entries. If you dual-boot Windows and Linux, this is often the menu you see first.

GRUB: The standard bootloader for Linux. It can boot several Linux kernels as well as Windows. If you see a plain “grub>” prompt instead of a menu, the GRUB files are usually damaged or the boot partition changed. The other half of this decision is pre-boot system checks.

rEFInd: A graphical UEFI boot manager that detects installed systems and shows them as icons. It is popular on Macs that dual-boot Linux, because it needs little setup. It still hands control to a bootloader such as GRUB or the Windows Boot Manager.

A computer monitor showing programming code on a desk
Photo: cottonbro studio via Pexels

Phones use the same idea with tighter locks. Android phones use a locked bootloader with a fastboot mode, and iPhones use Apple’s iBoot. On both, the maker controls the signing keys.

What it means for you

On a healthy computer you never notice the bootloader. It runs for a few seconds, then gets out of the way. It matters in four everyday cases.

First, when a computer will not start, the bootloader is the most likely cause. Second, installing a second operating system rewrites the bootloader, and a bad install can leave both unreachable.

Third, cloning a drive to a new SSD must include the EFI System Partition, or the new drive will not boot. Fourth, a Windows update that fails halfway can leave the boot files half-written.

Treat the bootloader as part of the system, not as a file you can tidy up. Do not delete small hidden partitions, and do not turn off Secure Boot before you have diagnosed the problem. Most boot trouble is fixed by checking the boot order first. The Basics and How It Works guides explain each part in plain terms.

How to check it on your PC

You can find out which firmware your computer uses in about two minutes.

  1. Press Win + R, type msinfo32, and press Enter.
  2. Note the “BIOS Mode” line. It reads UEFI or Legacy, and the repair steps below depend on it.
  3. The “Secure Boot State” line on the same page reads On, Off, or Unsupported.
  4. To see the boot order, restart and press the firmware key during startup, often F2, Del, F10, or Esc.
  5. Check that your Windows drive is first in the boot order. If a USB drive sits first, the computer may try to boot from it instead.
  6. To see the boot menu once, restart and press F12 or Esc, then pick your Windows drive.

Microsoft documents the two modes on its Boot to UEFI Mode or Legacy BIOS Mode page. It helps to understand firmware verification steps before going further.

When a broken bootloader is actually the problem

Not every startup failure is a broken bootloader. A computer that never powers on has a power problem, and one that shows the Windows logo and then crashes has an operating system problem.

A black screen with a blinking cursor means the bootloader may have failed to hand off to the kernel. “BOOTMGR is missing” on a BIOS computer, or “Invalid EFI binary” or “Secure Boot violation” on a UEFI computer, means the bootloader file is damaged, missing, or unsigned.

A PC that will not boot past the BIOS screen often has the same cause, so check the boot order there first.

The same damage follows a deleted system file, a format that wiped the EFI System Partition, or a clone that skipped the small partitions. The fix is not a new hard drive.

It is writing the bootloader code back onto the disk, which the next section covers.

A black screen is not always a boot failure. If the fans spin and the drive light blinks but the screen stays dark, work through the steps to fix a laptop black screen before you touch the boot files.

Warning: Before you run any bootloader repair command, back up your files if you can still reach them. Copy them to an external drive first.

How to repair or reinstall your bootloader

You can usually fix a broken bootloader with a bootable USB drive and one of the tools below, without losing your data or reinstalling Windows. Make the USB drive on a working computer with the Windows Media Creation Tool, or with a Linux live USB.

  1. Create a bootable USB drive with your operating system installer, then plug it in and open the boot menu with F12 or Esc. Pick the USB drive.
  2. On the Windows setup screen, click “Repair your computer” at the bottom left. Do not click “Install now.”
  3. Go to Troubleshoot, then Advanced options, then Startup Repair. It checks the boot files and rebuilds them if they are damaged. Restart and test.
  4. If Startup Repair does not fix it and your computer uses UEFI, open Command Prompt from the same Advanced options screen and rebuild the boot files with bcdboot: bcdboot C:\Windows /s S: /f UEFI, where S: is the EFI System Partition letter. Microsoft documents this command on its bcdboot page.
  5. If your computer uses legacy BIOS, the older bootrec commands apply instead. From the same Command Prompt, run bootrec /fixmbr, then bootrec /fixboot, then bootrec /rebuildbcd, and restart. Note that bootrec /fixboot often fails with “Access is denied” on UEFI systems, so go back to step 4 if you see it.
  6. For Linux, boot from a live USB and reinstall GRUB with grub-install followed by update-grub. Check the drive name with lsblk first.
  7. After the repair, restart and remove the USB drive. If you see the login screen, the repair worked. If the same error returns, check that the EFI System Partition still exists. If it is missing, take the computer to a repair shop.

If none of these steps work, the drive itself may be failing. The guide to repair Windows without reinstalling it covers the options in order.

Mistakes to avoid

Deleting the EFI System Partition. It looks useless in Disk Management, often under 500MB, but it holds the bootloader. Deleting it stops the computer from starting.

Using BIOS-era commands on a UEFI computer. bootrec /fixboot was made for the Master Boot Record, and on a UEFI install it often fails with “Access is denied.” Check the BIOS Mode in msinfo32 first, then use bcdboot for UEFI.

Turning off Secure Boot as a first step. Secure Boot rarely causes a boot failure. Turning it off weakens a security check without fixing the real fault, so check the boot order and run Startup Repair first.

Reinstalling Windows before trying a repair. A reinstall wipes apps and settings and takes far longer than Startup Repair. A reinstall is a last resort.

Cloning a drive without the boot partitions. Some clone tools copy only the main partition by default. Clone the whole drive, including the EFI System Partition, or the new drive will not boot.

Changing the firmware mode to “test” a fix. Switching a UEFI install to Legacy mode, or the reverse, stops Windows from booting. Do not change it unless you are reinstalling from scratch.

Frequently asked questions

Can I delete the bootloader from my hard drive?

You can delete the files, but your computer will no longer start. The firmware will not know how to load Windows or Linux, and you will see a “no bootable device” message. Keep a recovery USB drive ready so you can write the boot files back.

What is the difference between a bootloader and BIOS?

BIOS, or UEFI on modern computers, is firmware built into the motherboard. It checks the hardware and finds the boot drive. The bootloader is software stored on that drive, and it loads the operating system into memory. BIOS starts the bootloader, and the bootloader starts the operating system.

Does Secure Boot prevent me from installing Linux?

Usually not. Secure Boot checks that the bootloader is signed by a trusted key, and most major Linux versions, including Ubuntu and Fedora, ship a signed bootloader that passes the check. You can install them with Secure Boot turned on.

How do I know if my bootloader is corrupted?

Look for errors such as “BOOTMGR is missing,” “GRUB: command not found,” “Invalid EFI binary,” or a Secure Boot violation message. A black screen with a blinking cursor also points at the bootloader. Check the boot order first, then the boot files.

Can a bootloader problem be fixed without losing my files?

Yes, in most cases. Startup Repair and the bcdboot command only rewrite the boot files, and they leave your documents, photos, and apps alone. Back up your files first if you can reach them, because a repair gone wrong can still cause data loss.

Bottom line: The bootloader is the small program that turns a powered-on computer into a working one. Learn the boot order, check the BIOS mode before you run a repair, and try Startup Repair before you reinstall anything.

Our top pick1 PCS ATmega328P-PU Microcontroller
  • Microcontrollers: These 1 PCS ATmega328P-PU chips are 8-bit microcontrollers.
  • Pre-Programmed: Each chip comes pre-loaded with the bootloader, allowing you to easily
Check price on Amazon

Sources: Microsoft Learn, Boot to UEFI Mode or Legacy BIOS Mode; Microsoft Learn, bcdboot; Microsoft Learn, OEM Secure Boot; UEFI Forum, UEFI Specifications. Photos: energepic.com, Eva Bronzini, Pok Rie, cottonbro studio, Foysal Ahmed via Pexels. Diagram: ICT Service Center.

Up nextHow a Bootloader Loads Your Operating System Explained

See how a bootloader loads your operating system from power button to desktop, with plain-language steps, common failures, and the exact fixes for each.

Owen Hale
Repair editor

Owen Hale is the pen name of the ICT Service Center editor. Guides are built from manufacturer service manuals, Microsoft and Apple support documentation and everyday repair-bench practice, safest step first.

Follow on PinterestFix-it checklists, upgrade cheat sheets and repair steps, saved to boards by problem.

More Basics & How It Works guides