How USB Drives & Hard Drives Boot a Computer (Step-by-Step)
How USB Drives & Hard Drives Boot a Computer (Step-by-Step)
Whether it’s a USB drive or hard drive, the process of starting a computer (called booting) follows this general order:
🧠 1. Power On → BIOS/UEFI Starts
-
When you turn on your PC, the BIOS or UEFI firmware (the computer’s low-level brain stored in the motherboard) is the first thing that runs.
-
BIOS/UEFI checks the hardware: RAM, CPU, keyboard, hard drives, etc.
-
Then it looks at the boot order (USB, CD, or hard drive) to find a bootable device.
🧭 2. Finding a Bootable Device
The BIOS/UEFI scans the connected devices and looks for a bootloader — the small program responsible for starting the full operating system.
To find the bootloader, BIOS/UEFI looks at a special area of the device: the MBR or GPT (more modern) on the disk.
🧱 3. MBR (Master Boot Record) – What Is It?
Think of the Master Boot Record (MBR) as the “Table of Contents + First Instructions” for the disk.
-
Located in the first 512 bytes of the disk.
-
Contains:
-
Partition table – explains how the drive is divided (C:, D:, Linux swap, etc.)
-
Bootloader code – the tiny initial loader that knows how to continue loading the OS.
-
🔄 MBR vs GPT
| Feature | MBR | GPT |
|---|---|---|
| Max Partitions | 4 | 128+ |
| Max Disk Size | 2 TB | 9.4 ZB (huge) |
| Compatibility | Old (legacy BIOS) | Newer (UEFI) |
| Boot Code? | Yes | UEFI handles booting |
🧠 GPT is replacing MBR on modern PCs with UEFI.
🚀 4. Bootloader – What Does It Do?
Once BIOS/UEFI finds the MBR/GPT and the bootloader, it hands over control to the bootloader.
The bootloader is like a translator and guide. It knows how to load the operating system kernel into memory.
Popular Bootloaders:
-
Windows: BOOTMGR
-
Linux: GRUB (GRUB2), systemd-boot, LILO (older)
📂 5. Kernel & Operating System Load
The bootloader loads the kernel — the central brain of the OS (Windows kernel or Linux kernel).
-
It also loads drivers (software that helps the OS communicate with hardware).
-
Then it starts system processes, login managers, and finally shows you the desktop or command line.
🪟 How Windows Boots (in simple steps)
-
BIOS/UEFI starts
-
Looks for bootloader in MBR or EFI partition
-
Loads BOOTMGR
-
BOOTMGR loads BCD (Boot Configuration Data)
-
BCD tells it where to find Windows system files
-
Loads winload.exe, which loads Windows kernel
-
Initializes drivers, services, login screen
🐧 How Linux Boots (in simple steps)
-
BIOS/UEFI starts
-
Looks for GRUB (or other bootloader)
-
GRUB shows boot menu (e.g., Ubuntu, Advanced options)
-
GRUB loads Linux kernel and initrd/initramfs (temporary root file system)
-
Kernel mounts real root filesystem
-
Starts init or systemd, which launches background services
-
Gets you to login shell or graphical interface
🔄 Boot Process Comparison (Windows vs Linux)
| Step | Windows | Linux |
|---|---|---|
| Bootloader | BOOTMGR | GRUB or systemd-boot |
| Kernel File | ntoskrnl.exe | vmlinuz or bzImage |
| Config | BCD (Boot Configuration Data) | /boot/grub/grub.cfg |
| Init System | wininit, services.exe | systemd, init |
| Filesystem | NTFS | ext4, xfs, btrfs, etc. |
| Boot Repair | Automatic Repair | fsck, grub-install, update-grub |
💾 What Makes a USB Drive Bootable?
A USB becomes bootable when:
-
It contains a valid MBR or GPT
-
Has a bootloader installed (GRUB for Linux, BOOTMGR for Windows)
-
The files to start the OS are present
-
BIOS/UEFI is set to boot from USB first
📦 Tools like Rufus, balenaEtcher, and UNetbootin help create bootable USB drives from ISO files.
🧰 Common Terminology Glossary
| Term | Meaning |
|---|---|
| BIOS | Basic firmware that runs first on old computers |
| UEFI | Modern firmware replacing BIOS, supports larger disks |
| MBR | First part of a drive containing boot code & partition table |
| GPT | Modern alternative to MBR, used with UEFI |
| Bootloader | Tiny program that loads the OS (GRUB, BOOTMGR) |
| Kernel | Core of the OS that talks to hardware |
| Init/systemd | First program the kernel runs, sets up the OS |
| ISO | Disk image file containing OS installer (used for USB creation) |
| Live USB | A bootable USB that runs the OS without installing it |
🧪 Bonus: Can You Boot Windows from USB? Linux?
Yes!
-
Linux Live USBs: Very common. You can run and install Ubuntu, Kali, Fedora, etc., from a USB.
-
Windows to Go: Rare feature, but yes — with tools like Rufus, you can create a Windows 10/11 USB that runs directly (not just installs).
💡 Summary
-
Your PC starts with BIOS/UEFI → Looks for MBR/GPT → Loads Bootloader → Loads Kernel → Starts OS.
-
Windows and Linux follow similar boot stages but use different tools (BOOTMGR vs GRUB, NTFS vs ext4).
-
The bootloader is the key part that connects the hardware and the OS.
-
USB and hard drives both can boot if they have a bootloader and system files.







